The FontFactory has a bug with ttc fonts. That's fixed in itext-paulo-107. If you want to know what font is inside a ttf use BaseFont.getPostscriptFontName() and for ttc use BaseFont.enumerateTTCNames(). The names are the postscript names not what is shown in windows.
Best Regards, Paulo Soares ----- Original Message ----- From: "David Thielen" <[EMAIL PROTECTED]> To: "itext" <[EMAIL PROTECTED]>; "Leonard Rosenthol" <[EMAIL PROTECTED]> Sent: Wednesday, January 29, 2003 14:40 Subject: Re: [iText-questions] Windows font PMingLiU > Is there some set of rules I can use to work with this? Like if a font > throws an exception, remove the P at the start? And are there any other > things like this? > > thanks - dave > > > ----- Original Message ----- > From: "Leonard Rosenthol" <[EMAIL PROTECTED]> > To: "David Thielen" <[EMAIL PROTECTED]>; "itext" > <[EMAIL PROTECTED]> > Sent: Wednesday, January 29, 2003 7:35 AM > Subject: Re: [iText-questions] Windows font PMingLiU > > > > At 9:58 PM -0700 1/28/03, David Thielen wrote: > > >Another windows font question. Word has a font listed called > > >PMingLiU. This is not shown as a font after I register all my fonts > > >with FontFactory. However, there is a MingLiU. And when I try to use > > >PMingLiU, I get this exception from FontFactory: > > > > > > > P is the proportional version MingLiU. > > > > > > Leonard > > -- > > > ------------------------------------------------------------------------ > -- > - > > Leonard Rosenthol > <mailto:[EMAIL PROTECTED]> > > Chief Technical Officer <http://www.pdfsages.com> > > PDF Sages, Inc. 215-629-3700 (voice) > > 215-629-0789 (fax) > > > > > > ------------------------------------------------------- > This SF.NET email is sponsored by: > SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! > http://www.vasoftware.com > _______________________________________________ > iText-questions mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/itext-questions > ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
