Skip to main content
Participating Frequently
December 5, 2012
Answered

ttf to otf

  • December 5, 2012
  • 1 reply
  • 9294 views

hi

i want to convert ttf font to otf font (i need cff table to create swf font in as3 beacause i use tlf) with makeotfexe.exe trought commanline... is it possible ?

if not how to build cff table with the glyf and loca table of the ttf font in as3...

thanks

Simon

This topic has been closed for replies.
Correct answer MiguelSousa

you're right but when you embed a font like that in flex, it convert the font in swf with flex-fontkit.jar, that create the cff table with java. I can't use this because i need to convert the font when the air application run and not when i create the air application. if you got an idea...

thanks

Simon


OK, I guess you're looking for a way to generate low-level font data in AS3. I can tell you that there's no native solution. You may be able to find a library somewhere that does it, but I don't know of any.

If you want to pursue the approach of running a font converter from the command line, I think you could try FontForge.

Good luck!

1 reply

MiguelSousa
Community Manager
Community Manager
December 5, 2012

Simon,

makeOTF can't convert between font formats. There's no FDK tool that you can use for that.

Also, keep in mind that if these are fonts that you licenced, you should make sure that the license allows you to do such conversions.

dasimonxAuthor
Participating Frequently
December 6, 2012

hi Miguel,

i work for a book editor who have built the font licence for all support (print, web...), do you know a way to create the cff table with the glyf and loca table ?

thanks

Simon

MiguelSousa
Community Manager
Community Manager
December 6, 2012

You'll need to use a font editor or a font converter app.