[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] BUG: Inconsistent font behavior between Windows and Linux



Setting point size to 210 I get Windows results identical to Gentoo.

Lenard

Charlie Nolan wrote:
Ah, good.  Couldn't bear to look at the replies until I was
half-asleep, just in case things blew up in my face.  Glad to see my
various fears were unfounded.  :)

[snip]
Brian (again):
I've only spotted the discrepancy at that particular size.  If you,
for instance, bump the size way up to 210 (exactly 10x the original),
you get this under Gentoo:

(110, 143)
(110, 143)

<Surface(220x143x32 SW)>
<Surface(220x143x32 SW)>

[(0, 95, 0, 79, 110), (0, 95, 0, 79, 110)]
[(0, 95, 0, 79, 110), (0, 95, 0, 79, 110)]

No mismatch in the letters at all.  I'd cross-check in Windows, but
VMware took offense to my most recent kernel upgrade and is out of
commission for the time being.  From other tests I'd run while finding
the correct conditions to reproduce the discrepancy, I predict that if
you run it on either of your test systems, you'll get identical
results.

Looking at the behavior of the font at other sizes, it looks like
*both* of the observed results are anomalous, but that the Gentoo
flavor happens to cancel itself for display purposes.  Not sure how
helpful that bit of information is, though.

-FM