[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[mgp-users 01368] Confusion about xft fonts
- To: mgp-users@mew.org
- Subject: [mgp-users 01368] Confusion about xft fonts
- From: Richard M Kreuter <kreuter@progn.net>
- Date: Mon, 22 Nov 2004 15:23:42 -0500
- Delivered-to: mailing list mgp-users@mew.org
- Mailing-list: contact mgp-users-help@mew.org; run by ezmlm
Hello,
I'm using MagicPoint version 1.10a on NetBSD 2.0Beta3, with XFree86 4.4,
and am unable to convince mgp to use all the fonts I have around. The
following deffont does what I expect:
%deffont "charter" xfont "Bitstream Charter"
However, I can't figure out how to use the corresponding bold, italic,
and bold+italic versions of this fonts. I've tried deffonts like these:
%deffont "charterit" xfont "Bitstream Charter:style=Italic"
%deffont "charterbd" xfont "Bitstream Charter:style=Bold"
%deffont "charterbdit" xfont "Bitstream Charter:style=Bold Italic"
I get Bitstream Charter regular in the all these cases.
I've also tried using XLFD names:
%deffont "charterit2" xfont "-bitstream-bitstream charter-medium-i-normal--0-0-0-0-p-0-iso8859-1"
%deffont "charterbd2" xfont "-bitstream-bitstream charter-bold-r-normal--0-0-0-0-p-0-iso8859-1"
%deffont "charterbdit2" xfont "-bitstream-bitstream charter-bold-i-normal--0-0-0-0-p-0-iso8859-1"
I get some sans-serif roman font I can't identify in these cases.
mgp reports that it's trying to use fonts with names I've specified:
using xftfont [Bitstream Charter] size: 76
using xftfont [Bitstream Charter:style=Italic] size: 76
using xftfont [-bitstream-bitstream charter-medium-i-normal--0-0-0-0-p-0-iso8859-1] size: 76
using xftfont [Bitstream Charter:style=Bold] size: 76
using xftfont [-bitstream-bitstream charter-bold-r-normal--0-0-0-0-p-0-iso8859-1] size: 76
using xftfont [Bitstream Charter:style=Bold Italic] size: 76
using xftfont [-bitstream-bitstream charter-bold-i-normal--0-0-0-0-p-0-iso8859-1] size: 76
xterm displays with the specified italic and bold fonts, so the fonts do
exist on my system and can be rendered and so forth.
What am I doing wrong with mgp?
Thanks in advance,
Richard Kreuter