Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 214800
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Printing Team <printing@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: José María Fernández González <josemariafg@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 214800 depends on: Show dependency tree
Bug 214800 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-03-25 21:10 0000
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 From José María Fernández González 2008-03-25 21:22:01 0000 -------
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 From Vlastimil Babka (Caster) 2008-03-27 15:06:19 0000 -------
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 From Timo Gurr 2008-03-29 15:04:17 0000 -------
Fixed in app-text/acroread-8.1.2-r2, thanks for reporting.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug