Re: Anti-aliased font support library ready
- From: "Greg Haerr" <greg censoft com>
- To: "Philip Armstrong" <phil kantaka co uk>,<gtk-devel-list redhat com>
- Subject: Re: Anti-aliased font support library ready
- Date: Mon, 12 Jun 2000 11:31:51 -0600
: Indeed, a completely flexible font rendering system that could render
: locally to pixbuf, or remotely via an X extension, or anything else
: would be nice. There's probably crossover here between this and the
: gnome-print architecture, though it would be nice to be able to
: properly antialias all font rendering, not just stuff in the
: gnome-canvas.
Over at the Microwindows Project, we've got both truetype and
adobe type 1 fonts rendering with antialiasing using freetype and
t1lib, respectively. The architecture is such that new renderers
are easily added. This is implemented in Microwindows' "engine"
layer, which is completely device-independent. Since a goal
is to keep things simple, all rendering is done to pixmaps, which
are then blitted to the display. (A small modification, in process,
would allow blitting with alpha-blending directly to the display).
Here's a truetype font rendered on a 30 degree slant:
ftp://microwindows.org/pub/microwindows/ScreenShots/Microwindows-truetype-sl
ant.gif
Anyway, this code might be able to be used as a codebase for
a flexible font rendering system for GTK+. Since the engine
layer is fairly well abstracted, it could be lifted and rebuilt
on top of pixbufs without too much work, I think.
Regards,
Greg
chief maintainer, Microwindows Project
http://microwindows.org
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]