Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 214800 - app-text/acroread-8.1.2-r1 does not use correct fonts on PDFs which use external fonts
Summary: app-text/acroread-8.1.2-r1 does not use correct fonts on PDFs which use exter...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-25 21:10 UTC by José María Fernández González
Modified: 2008-03-29 15:04 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description José María Fernández González 2008-03-25 21:10:06 UTC
If you open a PDF document which uses external fonts (like http://course.cse.ust.hk/comp355/reports/2007/Report_wsm_ksk_ccwah.pdf , which depends on Arial and Times New Roman), Adobe Reader does not use the system installed fonts. I have found at

http://www.adobeforums.com/webx/.59b4a3ab

a way to fix this. If you set environment variable ACRO_ENABLE_FONT_CONFIG to 1, then Adobe Reader uses fontconfig to find the fonts, and then PDFs using external fonts are shown properly (if the required fonts are installed, of course!).

Reproducible: Always

Steps to Reproduce:
1. Get a PDF file which uses external fonts, like http://course.cse.ust.hk/comp355/reports/2007/Report_wsm_ksk_ccwah.pdf
2. Install corefonts (which contains both Times New Roman and Arial) and xpdf (to compare).
3. Open the PDF with Adobe Reader and xpdf.
Actual Results:  
You can see that the chosen font by Adobe Reader is very different from the one by xpdf. If you go to to File->Properties... in Adobe Reader, and then you select the Fonts tab, you can see that Adobe Reader is substituting both Arial and Times New Roman fonts with Adobe Sans MM.


Expected Results:  
What can show xpdf for the input file.

This bug can be fixed if environment variable ACRO_ENABLE_FONT_CONFIG is set to 1.
Comment 1 José María Fernández González 2008-03-25 21:22:01 UTC
I have been reading

http://www.adobeforums.com/webx/.59b4a3ab

in more detail, and it seems that acroread startup scripts have that variable declaration, commented. I have looked at my local installation (with english and spanish languages), and both /opt/Adobe/Reader8/bin/acroread.en and /opt/Adobe/Reader8/bin/acroread.es files have ACRO_ENABLE_FONT_CONFIG variable declaration and exportation lines commented.
Comment 2 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2008-03-27 15:06:19 UTC
Yeah, should add a fontconfig dep and uncomment the variable in script. Works here, interestingly pdf opened via plugin in firefox are also fixed so the variable doesn't have to be system env global.
Comment 3 Timo Gurr (RETIRED) gentoo-dev 2008-03-29 15:04:17 UTC
Fixed in app-text/acroread-8.1.2-r2, thanks for reporting.