DImuthuUpe / AndroidPdfViewer

Android view for displaying PDFs rendered with PdfiumAndroid
Apache License 2.0
8.18k stars 1.91k forks source link

使用PdfViewer加载本地Pdf文件预览时,pdf文件中的内容会出现拉伸 #1188

Open LongLongLongLongLongLongLongLongLong opened 5 months ago

LongLongLongLongLongLongLongLongLong commented 5 months ago

升级到3.2.0-beta.1版本使用 以下策略去适合页面也没有效果,有遇到同样问题的吗

.pageFitPolicy(FitPolicy.WIDTH) .fitEachPage(false)

DImuthuUpe commented 5 months ago

Can you please explain the issue in English? Your text is not getting translated properly

LongLongLongLongLongLongLongLongLong commented 5 months ago

升级到3.2.0-beta.1版本使用 以下策略去适合页面也没有效果,有遇到同样问题的吗

.pageFitPolicy(FitPolicy.WIDTH).pageFitPolicy(FitPolicy.WIDTH) .fitEachPage(false) .fitEachPage(假)

"Upgrading to version 3.2.0-beta.1 and using the following strategies to fit the page has no effect. Has anyone encountered the same issue?

.pageFitPolicy(FitPolicy.WIDTH) .fitEachPage(false)"

Note that in English programming contexts, the period (.) is used to call methods on objects, so I've corrected the syntax to reflect standard Java method chaining. Additionally, "假" translates to "false" in English, which is also the correct keyword to use in programming languages like Java for boolean values.