Hi Bruno,
After renamed to eudc.ttf, PDF can display user font. But I
have another question as following:
If I have three chinese chars string AABBCC (AA,BB,CC presented as
individual chinese DBCS char). AA and CC belong to same
chinesefont1.TTF file. And BB belong to educ.ttf usr fonts.
document.add(new Phrase(AABBCC, chinesefont1); == PDF file will
display AACC == chinese DBCS BB was truncated.
document.add(new Phrase(AABBCC, eudcfont); == PDF file will display
BB == chinese DBCS AA and CC was truncated.
I want to reserve the string original char position, and don't
truncated DBCS which is not in font file. So the the first statement
should output
AASPBB (SP replaced the DBCS chars which was not found in font file,
maybe space char or others), and second output should be SPBBSP.
How do I get the right method ?
Best regards,
Vengoal Chang
-Original Message-
From: Paulo Soares [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 24, 2003 7:38 PM
To: '[EMAIL PROTECTED]'
Cc: '[EMAIL PROTECTED]'
Subject: RE: How do I include the user font to PDF file ?
If the eudc.tte is renamed to eudc.ttf it can be loaded and used as any
other font. Note that the characters available are in the private user
area that starts at E000.
(keep the conversation in the mailing list)
Best Regards,
Paulo Soares
-Original Message-
From: Vengoal Chang [SMTP:[EMAIL PROTECTED]
Sent: Tuesday, June 24, 2003 5:14
To: [EMAIL PROTECTED]
Subject: How do I include the user font to PDF file ?
Dear Bruno,
Thanks your contribution to provide PDF package. It's a very
good
utility for us. I have one problem when using fonts. When I use the
chinese font bundled with chinese Windows, It ran ok. If the font is
user font builded by user and wrote to windows EUDC.TTE font file. I
could not write the user font to PDF file, It always disappear. How do
I include the user font to PDF file ?
Best Regards,
Vengoal Chang
Technical Support
Dimerco Data System Corporation
Office Phone : 886-2-2511-7233 Ext.522
Office Fax : 886-2-2511-7237 , 886-2-2511-7238
Office mail: [EMAIL PROTECTED]
Cellular Phone : 0922809196
Web site: http://www.geocities.com/vengoal/
AS/400 ePaper : http://maillist.to/ms1813
¡@(\ /)¡ä~¡ä
¡ñ ( '.' )(~'.'~ ) ¡ð
¢X o~(__)_)(_(__)~o¢X..Have A Nice Day!!
---
This SF.Net email is sponsored by: INetU
Attention Web Developers Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions