Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Opentype: CFF or Truetype?

#4

Making a little conversion script based on Dave’s work ( http://article.gmane.org/gmane.comp.freedesktop.fonts/1741 ),
to generate font files from the UFO.

And I wondered: are these cubic or quadratic Bézier curves?

If I understand correctly, in the former case it would make more sense to generate Opentype with Postscript outlines, and in the latter Opentype with Truetype outlines.

Reported by Eric S · September 19th, 2010 @ 10:09 PM

State: resolved
Milestone: none
Assigned to: nobody

Activity

  1. Simon Pascal Klein
    Simon Pascal Klein

    I believe they’re quadratic. Having a script to auto create (T/o)TFs would certainly help in creating ‘builds’ that people can use, test, and get excited about. (:

    October 23rd, 2010 @ 03:22 PM

  2. Eric S
    Eric S

    Actually, FontForge turned out to be smart enough to figure everything out for itself. But I believe it’s actually cubic outlines: i.e., for every control point there are two handles.

    So it’s a PostScript font. I’ve also managed to compile it with the Adobe Font Development Kit, which is a compiler for OpenType/CFF fonts.

    There’s a whole discussion on TrueType vs PostScript, which starts out as a discussion on hinting, on the Open Font Library list:

    http://thread.gmane.org/gmane.comp.freedesktop.fonts/2664/focus=2745

    Erik van B tells me most fonts are initially drawn in PostScript, because drawing is easier with cubic beziers. Then, if it needs to be converted TrueType, some subsequent work is done on the TrueType outlines, because conversion algorithms aren’t perfect.

    February 6th, 2011 @ 04:19 PM

  3. Eric S
    Eric S
    • State changed from new to resolved

    February 11th, 2011 @ 12:14 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.