Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | OOH680_m6: PDF Export: the 14 PDF standard fonts are always exported. | ||||||
---|---|---|---|---|---|---|---|
Product: | gsl | Reporter: | Giuseppe Castagno (aka beppec56) <giuseppe.castagno> | ||||
Component: | code | Assignee: | AOO issues mailing list <issues> | ||||
Status: | ACCEPTED --- | QA Contact: | |||||
Severity: | Trivial | ||||||
Priority: | P3 | CC: | issues, pavel | ||||
Version: | OOH680m5 | ||||||
Target Milestone: | OOo 3.x | ||||||
Hardware: | PC | ||||||
OS: | Linux, all | ||||||
Issue Type: | DEFECT | Latest Confirmation in: | --- | ||||
Developer Difficulty: | --- | ||||||
Attachments: |
|
Description
Giuseppe Castagno (aka beppec56)
2008-02-03 16:41:23 UTC
Created attachment 51332 [details]
Writer document used for test
confirm Herbert ? It seems that the fontconfig integration from issue 54603 suggests that the fonts should be replaced. Type "fc-match Times" to see how fontconfig wants Times to be replaced. OOo respecting these system wide global configuration setting is a kind of feature... disabling it for PDF export only or for the base14 fonts contradicts the spirit of this deeper system integration, which is heavily requested by the distributions. -> hdu. Checked with fc-match Times, result: fc-match -s Times | head timR12.pcf.gz: "Times" "Regular" n021003l.pfb: "Nimbus Roman No9 L" "Regular" Times_New_Roman.ttf: "Times New Roman" "Normal" DejaVuSerif.ttf: "DejaVu Serif" "Book" I guess the second line it's the one honored by OOo. So OOo behaves according to fontconfig configuration. But the chosen font is a Type1 font and since it's not subsetted while exporting to PDF. as a side effect the PDF becomes larger then before 2.4, expecially on small files (e.g. the file I submitted is ~ 12k, becomes 1M when exported). It seems that with the OOo font replacement table you can't overcome this issue. On Tools > Options > OOo > Fonts I added the following table (wasn't there on first try): Courier > replaced by Courier New Helvetica > replaced by Arial Symbol > replaced by Standard Symbols L Times > replaced by Times New Roman Zapf DingBats > replaced by Dingbats I chose most of the TTF I have installed on my Linux box. Then I ticked both Always and Screen checkboxes. But only the rows with 'Symbol' and Zapf Dingbats were honored by OOo, not the others. Is this expected? Or the only way to change the font substitution behavior in platforms using fontconfig is by changing the fonconfig configuration data? Last, I agree that issue 54603 is a good improvement, but shouldn't OOo have the substitution table take precedence over the fontconfig settings? retargeting Reset assigne to the default "issues@openoffice.apache.org". |