Quoting Rick <[EMAIL PROTECTED]>:
> Now my question is mainly about this:
>
> I want to use a font that supports HKSCS, like this
> "BaseFont bf = BaseFont.createFont("c:\\winnt\\fonts\\hkscsm3u", "???",
> BaseFont.NOT_EMBEDDED);"
> I donot know the meaning of the second parameters in this function.And
> I have tried some and an exception throwed say hkscsm3u with ??? is
> not available.
>
> I want to know according to a ttf file, how to know what should be filled
> in the second parameter?
I think your first parameter should be something like this:
"c:\\winnt\\fonts\\hkscsm3u.ttf"
"c:\\winnt\\fonts\\hkscsm3u.ttc,1"
Check if the file is actually there.
The second parameter should be BaseFont.IDENTITY_H or
BaseFont.IDENTITY_V (As you can read at the bottom of Chapter 9
of the tutorial marked with 'Important').
As I already mentioned, the third parameter will be ignored.
A subset of the font will be embedded.
Bruno
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions