Hi,
I am a new user to FontCreator and I have no knowledge of fonts. I bought this software only to convert Google Noto CJK fonts from otf format to ttf format so that I can use the ttf fonts to create pdf documents using apache pdf box library.
When I am using the converted ttf font, the pdf box fails while loading font with below error.
java.io.IOException: loca is mandatory
at org.apache.fontbox.ttf.TTFParser.parseTables(TTFParser.java:209)
at org.apache.fontbox.ttf.TTFParser.parse(TTFParser.java:150)
at org.apache.fontbox.ttf.TTFParser.parse(TTFParser.java:106)
at org.apache.pdfbox.pdmodel.font.PDType0Font.load(PDType0Font.java:79)
How do we convert Noto cjk otf font to ttf with loca available?
Noto CJK fonts OTF to TTF export
Noto CJK fonts OTF to TTF export
Last edited by srigud on Wed Apr 01, 2020 9:55 pm, edited 1 time in total.
-
- Moderator
- Posts: 11158
- Joined: Fri Oct 04, 2002 12:41 am
- Location: Bilthoven, The Netherlands
- Contact:
Re: Noto CJK fonts OTF to TTC export
You can extract fonts from an OpenType collection, and then open such font to export it with TrueType based outlines.
Re: Noto CJK fonts OTF to TTF export
This font is not a collection. I have exported it with options given in Legacy TrueType fonts section of your help file.
Could you please let me know how to include loca info? I am converting Google NotosansCJK-TC.otf to ttf. The ttf fails when using with pdfbox with "loca is mandatory" error
Could you please let me know how to include loca info? I am converting Google NotosansCJK-TC.otf to ttf. The ttf fails when using with pdfbox with "loca is mandatory" error
Last edited by srigud on Wed Apr 01, 2020 9:56 pm, edited 1 time in total.
-
- Moderator
- Posts: 11158
- Joined: Fri Oct 04, 2002 12:41 am
- Location: Bilthoven, The Netherlands
- Contact:
Re: Noto CJK fonts OTF to TTC export
You mentioned TTC in the subject, so that was why I assumed it was an OpenType font collection. What do you mean with TTC?
I've just send you an email, so we can further look into this issue.
I've just send you an email, so we can further look into this issue.