Hey folks- just getting started working with iText and was running into some
problems using FontFactory and ttc files. When I register the ttc file
everything works fine- I get the new fonts returned when I request
registered fonts, but when I call FontFactory.getFont() with the last new
name returned I get the following error:
ExceptionConverter: com.lowagie.text.DocumentException: The font index for
c:\winnt\fonts\msgothic.ttc must be between 0 and 2. It was 3.
at com.lowagie.text.pdf.TrueTypeFont.process(Unknown Source)
at com.lowagie.text.pdf.TrueTypeFont.<init>(Unknown Source)
at com.lowagie.text.pdf.TrueTypeFont.<init>(Unknown Source)
at com.lowagie.text.pdf.BaseFont.createFont(Unknown Source)
at com.lowagie.text.pdf.BaseFont.createFont(Unknown Source)
at com.lowagie.text.FontFactory.getFont(Unknown Source)
at com.lowagie.text.FontFactory.getFont(Unknown Source)
Thoughts? Ideas?
Thanks,
Kevin Kennedy
_________________________________________________________________
Help STOP SPAM with the new MSN 8 and get 2 months FREE*
http://join.msn.com/?page=features/junkmail
-------------------------------------------------------
This sf.net email is sponsored by: To learn the basics of securing
your web site with SSL, click here to get a FREE TRIAL of a Thawte
Server Certificate: http://www.gothawte.com/rd524.html
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions
- RE: [iText-questions] FontFactory and ttc files Kevin Kennedy
- RE: [iText-questions] FontFactory and ttc files Paulo Soares
- RE: [iText-questions] FontFactory and ttc files Kevin Kennedy
- RE: [iText-questions] FontFactory and ttc files Paulo Soares
