I'm referring to the paragraph about embedding fonts in the docs:
========= start snippet from http://xml.apache.org/fop/fonts.html
When embedding TrueType fonts (ttf) or TrueType Collections (ttc), a new font, containing only the glyphs used, is created from the original font and embedded in the pdf. Currently, this embedded font contains only the minimum data needed to be embedded in a pdf document, and does not contain any codepage information. The PDF document contains indexes to the glyphs in the font instead of to encoded characters. While the document will be displayed correctly, the net effect of this is that searching, indexing, and cut-and-paste will not work properly.

One workaround for this behavior is to use the -ansi option when generating metrics with TTFReader. This will cause the whole font to be embedded in the pdf document. Characters will be WinAnsi encoded (as specified in the PDF spec), so you lose the ability to use characters from other character sets.


========= end snippet


According to the docs it * should * be possible to have correct cut & paste/searching behaviour, but unfortunately the -encode ansi option doesn't work correctly using my configuration.
Did anybody succeed in configuring winansi encoding to allow correct cut&paste/indexing behaviour as described in the docs?

thx alot
Johannes





"J.Pietschmann" <[EMAIL PROTECTED]>

15.06.2003 20:47

Please respond to
[EMAIL PROTECTED]

To
[EMAIL PROTECTED]
cc
Subject
Re: Using russian characters in FO-Files





Johannes Fiala wrote:
> Does this mean I have to edit the generated font-metrics file to add
> entries for ToUnicode mapping?


No, it means the FOP lack support for this feature, i.e.
if you want to use Unicode characters which are not in
any of the standard mappings you can't properly cut'n'paste
the text from Acrobat Reader (or other PDF viewers).
Well, some people consider this a feature...

J.Pietschmann



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to