Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ubuntu 22.04 下载的pdf中文显示异常 #272

Closed
Rui-li023 opened this issue Dec 18, 2024 · 4 comments
Closed

Ubuntu 22.04 下载的pdf中文显示异常 #272

Rui-li023 opened this issue Dec 18, 2024 · 4 comments

Comments

@Rui-li023
Copy link

您好,

首先,我想对这个项目表示感谢。它非常有用。

但是在Ubuntu 22.04环境下使用的过程中遇到了一个问题:

  1. 创建了虚拟环境并通过pip安装了必要的包。
  2. 使用sudo命令运行web服务。
  3. 利用ollama进行翻译,在预览中显示正常且翻译成功。

然而,下载PDF文件后,所有的中文字符都丢失了。

预览结果:

image

下载后文档结果:

image

能否请解决这个问题?我认为这可能是由于PDF生成过程中字体嵌入或编码设置的问题,但我不确定。非常感谢您的帮助!

感谢您花时间处理此事。

@hellofinch
Copy link
Contributor

试试别的PDF阅读器和系统看看,可能是显示的问题

@Rui-li023
Copy link
Author

试试别的PDF阅读器和系统看看,可能是显示的问题

好像是这样的,使用Firefox可以打开,但是使用edge会出现上面的显示问题

@Byaidu
Copy link
Owner

Byaidu commented Dec 18, 2024

试试别的PDF阅读器和系统看看,可能是显示的问题

好像是这样的,使用Firefox可以打开,但是使用edge会出现上面的显示问题

可以更新一下 edge 的版本看看

@reycn
Copy link
Collaborator

reycn commented Dec 18, 2024

As all comments are showing that the issue is not introduced by our program, closed. Thank you for raising it!

@reycn reycn closed this as completed Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants