dotgnu-pnet
[Top][All Lists]
Advanced

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

[Pnet-developers] Xft Font Matching Misbehavior


From: Rich Baumann
Subject: [Pnet-developers] Xft Font Matching Misbehavior
Date: Mon, 18 Oct 2004 03:56:54 -0400

Hey all,

        As some of you may already know, even when the "Arial" font is properly
installed, and pnet is configured to use Xft, fallbacks are used in
place of the "Arial" font. After some experimentation I've finally
figured out the problem; due to a bug in Xft font family pattern
matching, "preferred,fallback,fallback" ignores preferred altogether (at
least for Arial). Only when the preferred is specified by itself, with
no fallbacks, is it loaded. After some further experimentation I've come
up with a simple fix; adding the fallback families in a separate call,
after adding the preferred font to the pattern, fixes the problem. I've
already committed the fix, but I'm giving you all a heads up on here
since I know some of you have been waiting on this. Note that, due to a
change in the signature of XSharpCreateFontXft, you'll have to
reconfigure (i.e. Xlib.cs needs to be rebuilt from Xlib.cs.in).


Rich



reply via email to

[Prev in Thread] Current Thread [Next in Thread]