Bug#251067: Bugs page as test page

2006-02-12 Thread Jan Willem Stumpel
It seems the problem can be narrowed down to xprint's inability to
recognise the *generic* font family names (serif, sans-serif, monospace)
used by fontconfig (but xprint does not use fontconfig). It only
recognises specific names.

The Debian bug report pages are good test pages (for instance
bugs.debian.org/xprt-xprintorg). Print with xprint; everything becomes
monospace. This means that on my system xprint uses some monospace font
as default (Courier_iso8859-1 to judge from the ps file) but this may
not be the same on every system.

I copied the page and its css. The headlines in boxes (like Outstanding
Bugs ..) are h2 type headlines belonging to a class outstanding. The
css specifies for h2.outstanding just the font-family sans-serif. Only
when I changed this to Arial, sans-serif did xprint handle those
headlines correctly.

In the Debian home page, the left column is a named division called
leftcol, and the css specifies for this: font-family: Arial,
Helvetica, sans-serif. Because this use of non-generic font family names
the left column prints OK.

Regards, Jan




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#251067: Bugs page as test page

2006-02-12 Thread Drew Parsons
On Sun, 2006-02-12 at 23:17 +0100, Jan Willem Stumpel wrote:
 It seems the problem can be narrowed down to xprint's inability to
 recognise the *generic* font family names (serif, sans-serif, monospace)
 used by fontconfig (but xprint does not use fontconfig). It only
 recognises specific names.
 

Excellent detective work, Jan.  Sounds like it might be an idea to add
fontconfig support, though I don't know right at this moment how
feasible that would be.

Thanks for the good efforts.

Drew


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]