freetype
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Freetype] Printing (PostScript)


From: Leonard Rosenthol
Subject: Re: [Freetype] Printing (PostScript)
Date: Sun, 16 Dec 2001 09:16:31 -0500

At 12:06 PM 12/14/2001 -0800, Thomas Hudson wrote:

What we do is extract the glyph outlines and write them as filled paths.
Have a look at FT_Outline_Decompose.

        PLEASE DON'T DO THIS!!!

When you convert from fonts to outlines, you are losing all the important information (ie. HINTING!) that can be used by printers or on screen viewers (Ghostscript, Acrobat, etc.).

The correct way to do it is to copy some (or all) of the font data into the PS/PDF file as part of the appropriate dictionaries. You can find code for this in a number of open source projects including AbiWord and PDFTeX.


Leonard




reply via email to

[Prev in Thread] Current Thread [Next in Thread]