Let FreeType2 handle Type1/etc rendering too.

RESOLVED FIXED

Status

()

Core
Graphics
--
enhancement
RESOLVED FIXED
15 years ago
6 years ago

People

(Reporter: Adam D. Moss, Unassigned)

Tracking

Trunk
x86
Linux
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

15 years ago
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.
Yeah, it might be pretty simple.  I'll look into it.  Do you have some decent
sample fonts to play with?
Blocks: 172768
(Reporter)

Comment 2

15 years ago
The scaleable fonts I have are the usual ones that come with
XFree86 4, plus the sharefonts package found on gimp.org that
you're probably already familiar with.
Does it work in a recent trunk build?
http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-trunk/
(Assignee)

Updated

9 years ago
Product: Core → Core Graveyard
This might still be a valid enhancement request; redirecting to Core:Graphics.
Assignee: blizzard → nobody
Component: GFX: Gtk → Graphics
Product: Core Graveyard → Core
QA Contact: ian → thebes

Updated

6 years ago
Status: NEW → UNCONFIRMED
Ever confirmed: false
We use Freetype for all text rendering on Linux now.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.