openoffice-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Issue 63015] PDF-Export and Type1-Fonts: Error exporting umlaut
Date Tue, 02 Sep 2014 14:09:56 GMT changed:

           What    |Removed                     |Added
                 CC|                            |

--- Comment #35 from ---
After digging through PDF documentations, I found a pretty easy solution (for
PDF-1.4). My Type 1 font is defined in the pdf file like this:

9 0 obj
<</Type/Font/Subtype/Type1/BaseFont/Syntax /ToUnicode 8 0 R
/FirstChar 0 /LastChar 255
/Widths[ ....

When adding "/Encoding /WinAnsiEncoding" to it so that it becomes

9 0 obj
/Encoding /WinAnsiEncoding /ToUnicode 8 0 R
/FirstChar 0 /LastChar 255
/Widths[ ...

the umlauts show up. So please can we add this to Type1 Font created PDF files?

According to PDF Reference, Third Edition, version 1.4 linked here on Page 317-318
"Entries in a Type 1 font dictionary" it says for /Encoding:

(Optional) A specification of the font’s character encoding, if different from
dictionary its built-in encoding. The value of Encoding may be either the name
of a predefined encoding (MacRomanEncoding, MacExpertEncoding, or
WinAnsiEncoding, as described in Appendix D) or an encoding dictionary that
specifies differences from the font’s built-in encoding or from a specified
predefined encoding (see Section 5.5.5, “Character Encoding”).

So as long as no encoding is set through other constraints "/Encoding
/WinAnsiEncoding" could be set. My font itself has "StandardEncoding" as
parameter and this means pretty much nothing as described on page 329.



You are receiving this mail because:
You are on the CC list for the issue.
You are watching all issue changes.
View raw message