Giuseppe Castagno wrote:
do you think a new RFE issue can be opened about this topic? I think it
should, unless there is already one opened targeting at this and I
wasn't able to find it.
Sure, feel free.
If I got you right: are you thinking to force the use of a reader
provided font, the closer to the one needed, the better?
And _that_ is the non trivial part, discovering the closer one?
The form fields already carry a font attribute; however in the produced
PDF we need the PostScript name of the font, not just the family. For
our own fontsubsets we simply define that name, for a system font we
would need the correct PostScript name or the reader will end up with
not finding the font.
The tricky part would be if we have to choose an encoding IMHO, this is
trivial for western fonts (WinAnsiEncoding will do the trick), but there
is no clear way for encodings other than ansi1252. But the PDF reference
says, the encoding is optional, if omitted the "font's encoding" will be
used, so perhaps there is no real problem here. I just worry about this
fuzzy "encoding of the font" since e.g. most truetype fonts have a
multitude of encodings builtin. But perhaps we can treat this as a black
box and simply omit the Encoding entry of the font dictionary.
Just my 2 cents, pl
--
If you give someone a program, you will frustrate them for a day;
if you teach them how to program, you will frustrate them for a lifetime.
-- Author unknown
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]