I'm trying to create new TrueTypeFont("msgothic.ttc") and getting NullPointerException.
Actually I specify full path to font ("c:\winnt\fonts\msgothic.ttc").
I can create any other font without problems.
I can use msgothis.ttc in other applications like MS Word.
TrueTypeFont constructor
Re: TrueTypeFont constructor
Support · Mar 1, 2006Hello,
Can you please send us the True Type font you are using at [^a|mailto:support@cete.com|support^] so that we can try to recreate the exception and do some testing on our end?
Thanks,
ceTe Software Support Team
Re: TrueTypeFont constructor
Forum member · Mar 1, 2006I send the font on address you specified.
Re: TrueTypeFont constructor
Support · Mar 7, 2006Hello,
The font file you sent over is actually a True Type Collection font file and not a True Type Font file. You will need to use each True Type font file individually when using with our product.
Using True Type Collection font file is some thing we may add to future release but nothing is currently planned.
Thanks,
ceTe Software Support Team