On Tuesday 14 October 2003 11:52, Benny Pedersen wrote:
> case Font.HELVETICA:
> os.write(fontSwiss);
> os.write(escape);
> os.write(fontCharset);
> writeInt(os, 0);
> os.write(delimiter);
> os.write(fontArial);// <--- all fonts helvetica font family
> will be shown as arial
>
> Is this intensional? Its seems to work fine when you replace the hardcoded
> linie with
Yes this is intentional. If a Font is created with one of the default font
families (courier, helvetica, times_roman, symbol, zapfdingbats) then the
resulting output is hardcoded.
If you add a Font with a different font family name, then that font family
name is written to the output stream.
Greetings,
Mark
--
Stenderup's Law:
The sooner you fall behind, the more time you will have to catch up.
My GPG public key is available at:
http://www.edu.uni-klu.ac.at/~mhall/data/security/MarkHall.asc
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions