freetype-devel
[Top][All Lists]
Advanced

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

Re: [ft-devel] Understanding Type1 fonts


From: Werner LEMBERG
Subject: Re: [ft-devel] Understanding Type1 fonts
Date: Wed, 09 Jan 2008 12:50:33 +0100 (CET)

> What is considered a font, right now, is based entirely on the
> extension of the filename. ".ttf",".otf",".ttc",".pfb" with ".pfa"
> in the works.

On Unix boxes, this is a bad idea.  The `classical' way to find out
the contents of a file is to use the `file' program which compares the
(beginning of the) file with some magic strings collected in a
database (normally in /usr/share/misc/magic).  Examples:

  $ file SY______
  SY______: PostScript Type 1 font program data
  $ file KozGoPro-Medium.otf
  KozGoPro-Medium.otf: OpenType font data


    Werner




reply via email to

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