freetype
[Top][All Lists]
Advanced

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

Re: [Freetype] How to dump a font into PostScript?


From: Lars Clausen
Subject: Re: [Freetype] How to dump a font into PostScript?
Date: 01 Mar 2002 21:47:13 -0600
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.1

On Tue, 26 Feb 2002, Michael Pfeiffer wrote:
> Hi again,
> 
> the source code of xpdf (http://www.foolabs.com/xpdf/download.html)
> is probably a better source than PDFlib. PSOutputDev.cc converts
> a PDF file to PS and can embed Type1 and TrueType fonts.
> Hope this helps.

It did indeed help, though there were some differences to overcome.  Thank
you!  Dia can now (rudimentarily) print Type1 fonts to postscript files.

There's still a couple issues to figure out, though.  For instance, some
fonts have a name with spaces in it, which is not what we want the font to
be called in postscript.  For instance, 

/FullName (Century Schoolbook L Italic) readonly def
/FamilyName (Century Schoolbook L) readonly def
[...]
/FontName /CenturySchL-Ital def

Here, I'd want to use the FontName, but I can't see where in FreeType to
access that.  I'd rather not have to parse the font file, it's so redundant
when FreeType already does that.  Is it dropped, or just hiding somewhere?

-Lars

-- 
Lars Clausen (http://shasta.cs.uiuc.edu/~lrclause)| HÃ¥rdgrim of Numenor
"I do not agree with a word that you say, but I   |----------------------------
will defend to the death your right to say it."   | Where are we going, and
    --Evelyn Beatrice Hall paraphrasing Voltaire  | what's with the handbasket?



reply via email to

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