Last Comment Bug 190347 - Let FreeType2 handle Type1/etc rendering too.
: Let FreeType2 handle Type1/etc rendering too.
Product: Core
Classification: Components
Component: Graphics (show other bugs)
: Trunk
: x86 Linux
-- enhancement with 1 vote (vote)
: ---
Assigned To: Nobody; OK to take it and work on it
: Milan Sreckovic [:milan]
Depends on:
Blocks: xft_tracking
  Show dependency treegraph
Reported: 2003-01-23 12:29 PST by Adam D. Moss
Modified: 2012-01-13 14:28 PST (History)
8 users (show)
See Also:
Crash Signature:
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Description User image Adam D. Moss 2003-01-23 12:29:17 PST
Mozilla has the neat innate ability to use the FreeType2 library to render
anti-aliased truetype fonts.  You point the config file at the directory in
which you keep your .tff fonts, and the world is good.

FreeType2 also nicely renders and optionally anti-aliases Type1 (as typically
used by X servers for scalable fonts) and some other font types.  But just
dropping Type1 fonts and other random font types into the same directory as the
.tff fonts doesn't work; the fonts are skipped with an error when mozilla starts
up and scans the directory.

It would be nice if I could use my usual X11 Type1 fonts in the same way as I
use my truetype fonts.  FreeType claims to offer a fairly homogenous interface
to accessing various font types, so I imagine that Mozilla's code is already
close to having this just work.
Comment 1 User image Christopher Blizzard (:blizzard) 2003-01-23 19:50:32 PST
Yeah, it might be pretty simple.  I'll look into it.  Do you have some decent
sample fonts to play with?
Comment 2 User image Adam D. Moss 2003-01-24 02:51:16 PST
The scaleable fonts I have are the usual ones that come with
XFree86 4, plus the sharefonts package found on that
you're probably already familiar with.
Comment 3 User image Mats Palmgren (:mats) 2007-06-16 12:58:02 PDT
Does it work in a recent trunk build?
Comment 4 User image Zack Weinberg (:zwol) 2011-11-15 16:49:24 PST
This might still be a valid enhancement request; redirecting to Core:Graphics.
Comment 5 User image Jeff Muizelaar [:jrmuizel] 2012-01-13 14:28:06 PST
We use Freetype for all text rendering on Linux now.

Note You need to log in before you can comment on or make changes to this bug.