librsvg (was Re: Word attachment...on linuxtoday)
- From: Joe Shaw <joe ximian com>
- To: Michael Rothwell <rothwell holly-springs nc us>
- Cc: Charles Iliya Krempeaux <tnt linux ca>, Michael Meeks <michael ximian com>, Martin Sevior <msevior mccubbin ph unimelb edu au>, Lauris Kaplinski <lauris ximian com>, Franck Martin <franck sopac org>, gnome-devel-list gnome org
- Subject: librsvg (was Re: Word attachment...on linuxtoday)
- Date: 20 Jan 2002 13:14:37 -0500
On Sat, 2002-01-19 at 12:51, Michael Rothwell wrote:
> It looks like librsvg doesn't have the ability to use truetype fonts. At
> least, when I try to display an .svg file (using, say, Nautilus, or my
> own code), it ignores text specified with a TTF face.
The GNOME 1 branch used Freetype for font rendering, and GNOME 2 uses
Pango. A quick look at the code, it looks like the GNOME 1 branch has
the code that sets the font-family commented out (no idea why, no
comments in the code to that effect). Looking at the GNOME 2 branch,
though, it gets the font from a "font-family" CSS parameter, so that
should work... Although there might be some difference between an SVG
font description and a pango one... worth looking into.
Joe
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]