为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Flatpak Firefox not displaying some pdfs correctly

  • 5 个回答
  • 1 人有此问题
  • 1 次查看
  • 最后回复者为 jonzn4SUSE

more options

Hello,

Am using Mozilla Firefox installed via flatpak on openSUSE. Certain pdfs display correctly but other pdfs displayed with Firefox (either locally or online) are displayed badly: spaces are replaced with a lower half block character, fonts not sharp. I installed Firefox from the openSUSE repos (not from flathub) and opened the same pdf and it displayed correctly. I downloaded the pdf and opened it using Okular and no problems. I also opened the “troublesome” pdfs on Firefox in Windows and it displays correctly. I conclude that the flatpak version of Firefox is causing some pdfs to display incorrectly but I don’t know why.

I installed flatseal to tweak the flatpak Firefox’s settings but nothing seemed to fix the pdf display issue. Please see screenshot below of how Firefox (from openSUSE repos, on the left hand side) and Firefox (from flathub, on the right hand side) display the same pdf from the internet. The online pdf in the screenshot and used as an example of the issue can be found at:

https://www.jrf.org.uk/sites/default/files/jrf/files-research/international_cities_rotterdam.pdf

Not sure why some pdfs display correctly in Firefox from flathub and others display incorrectly. I’d prefer to use flatpak’s sandboxed Firefox if possible. Is there anyone else with the same problem or someone who who found a solution to this issue?

Thanks

Dad4Linux

Hello, Am using Mozilla Firefox installed via flatpak on openSUSE. Certain pdfs display correctly but other pdfs displayed with Firefox (either locally or online) are displayed badly: spaces are replaced with a lower half block character, fonts not sharp. I installed Firefox from the openSUSE repos (not from flathub) and opened the same pdf and it displayed correctly. I downloaded the pdf and opened it using Okular and no problems. I also opened the “troublesome” pdfs on Firefox in Windows and it displays correctly. I conclude that the flatpak version of Firefox is causing some pdfs to display incorrectly but I don’t know why. I installed flatseal to tweak the flatpak Firefox’s settings but nothing seemed to fix the pdf display issue. Please see screenshot below of how Firefox (from openSUSE repos, on the left hand side) and Firefox (from flathub, on the right hand side) display the same pdf from the internet. The online pdf in the screenshot and used as an example of the issue can be found at: https://www.jrf.org.uk/sites/default/files/jrf/files-research/international_cities_rotterdam.pdf Not sure why some pdfs display correctly in Firefox from flathub and others display incorrectly. I’d prefer to use flatpak’s sandboxed Firefox if possible. Is there anyone else with the same problem or someone who who found a solution to this issue? Thanks Dad4Linux
已附加屏幕截图

所有回复 (5)

more options

Sounds like a flatpak issue https://discourse.flathub.org/. I also have no issue with the Distro and Mozilla version of Firefox when viewing the same pdf. Are you in Leap or Tumbleweed? X11 or Wayland? I guess I could install it and see what happens...


Operating System: openSUSE Tumbleweed 20230605 KDE Plasma Version: 5.27.5 KDE Frameworks Version: 5.106.0 Qt Version: 5.15.9 Kernel Version: 6.3.4-1-default (64-bit) Graphics Platform: X11 Processors: 16 × AMD Ryzen 7 5825U with Radeon Graphics Memory: 62.1 GiB of RAM Graphics Processor: AMD Radeon Graphics Manufacturer: HP Product Name: HP ProBook 455 15.6 inch G9 Notebook PC

more options

Installing.... standby.

more options

Interesting... The Flatpak version opens the distro version.  ;-)) I would have to uninstall the distro version to test and I'm not doing that.

由jonzn4SUSE于修改

more options

that's strange; the menu command for the distro version is completely different from the flatpak version which invokes the flatpak command.

In any case, before I even installed the distro version, i only had the flatpak version of Firefox installed. Because I had encountered this strange rendering of some pdfs, I installed the distro version of Firefox to see if the issue had to do with a newer version of Firefox (maybe newer bug?). The distro version of Firefox and Firefox on a completely different os (WIndows) wasn't exhibiting the incorrect rendering of pdfs.

more options

On another laptop and no issues with distro nor Mozilla version of Firefox. see screenshot Are you X11 or Wayland?


Operating System: openSUSE Tumbleweed 20230605 KDE Plasma Version: 5.27.5 KDE Frameworks Version: 5.106.0 Qt Version: 5.15.9 Kernel Version: 6.3.4-1-default (64-bit) Graphics Platform: X11 Processors: 8 × Intel® Xeon® CPU E3-1535M v6 @ 3.10GHz Memory: 62.2 GiB of RAM Graphics Processor: Mesa Intel® HD Graphics P630 Manufacturer: HP Product Name: HP ZBook 17 G4