Fonts in PDF in Linux are not rendered correctly
Reported by
nech...@gmail.com,
Dec 10 2016
|
|||||
Issue descriptionUserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.21 Safari/537.36 Example URL: http://kfy.zcu.cz/export/sites/kfy/dokumenty/FP1/UC104_4.pdf Steps to reproduce the problem: 1. Install Debian testing Install ttf-mscorefonts-installer Install ttf-liberation 2. Go to http://kfy.zcu.cz/export/sites/kfy/dokumenty/FP1/UC104_4.pdf 3. See garbage (fo1.png) What is the expected behavior? See properly rendered PDF as in Windows (fo2.png). What went wrong? Fonts were rendered incorrectly. Does it occur on multiple sites: Yes Is it a problem with a plugin? Yes pdfium Did this work before? No Does this work in other browsers? Yes Chrome version: 56.0.2924.21 Channel: beta OS Version: Flash Version: I had this issues for years, in Fedora, now on Debian. I always downloaded PDF and read it in external viewer. PDF.js does better but it has other issues: it picks "wrong" fonts.
,
Dec 12 2016
Routing to PDF team to triage.
,
Dec 12 2016
Tested the same on Linux Ubuntu 14.04 chrome version 56.0.2924.21 - PDF rendered fine
,
Dec 12 2016
Looks like a font substitution issue, routing to npm@ to take a look.
,
Dec 14 2016
I'm sorry, it was my fault. Please close the issue. Attached is my /etc/fonts/local.conf where previously the commented block was uncommented. With its current contents, the PDF renders fine.
,
Dec 14 2016
serif, sans-serif and monospace are DejaVu fonts. It worked fine fonts in HTML but apparently not for fonts in PDF.
,
Dec 14 2016
Closing the issue per the reporter's request. |
|||||
►
Sign in to add a comment |
|||||
Comment 1 by ajha@chromium.org
, Dec 12 2016