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

[mgp-users 00643] Re: Fonts



On Mon, 9 Jul 2001, Francesco Poli wrote:
> Why X fonts in MagicPoint are rendered in such different ways on
> different machines?
That highly depends on the order of the X-fontpath.  MagicPoint uses the
first font it founds that name is like what you requested.
But font names like "Arial" are used quite often, so it is a game of
luck if you get a scaled and blocky raster-font or an antialiased
vector-font.

My solution was to enable the xfont directive to take also the
font-foundry.  With this you can do something like:
	%deffont "std" xfont "-urw-Avantgarde-book-r"
And this will look absolut identical on all machines with this font
installed - regardless of other fonts or the fontpath.

You can get the patch here:
	http://www-user.tu-chemnitz.de/~kapet/mgp/fontfoundry.patch

Greets, Karsten
-- 
,-,  Student of Computer Science at Chemnitz University of Technology  ,-,
| |    EMail:  Karsten@kapet.de          WWW:  http://www.kapet.de/    | |
'-'  Home: kapet@dollerup.csn   V72 / 230    Phone: +49-177-82 35 136  '-'