>>>> "Jonathan" == Jonathan Harris
<jhar(a)tardis.ed.ac.uk> writes:
Jonathan> Adrian Aichner wrote:
> >>>>> "Glynn" == Glynn Clements
<glynn(a)sensei.co.uk> writes:
>
Jonathan> [snip]
> >> Now tetris starts under Windows native build with
>> >>
> Control Panel Display Settings Font Size: Large Fonts >> >>
> However, there are gaps between the individual lines that make
> >> up the tetris frames.
Jonathan> Hmmn. Works for me without setting large fonts.
Yes. The problem shows up when you DO USE lage fonts.
Glynn> Hmm. That's exactly what this code was designed to
Glynn> prevent. It keeps calling x-find-smaller-font until it gets
Glynn> one which is smaller than the glyphs.
>
Glynn> Does font-height work correctly on
MS-Windows? (I don't
Glynn> have an MS-Windows setup to test this on, so I can't tell).
> Hi Glynn,
>
> turns out (font-height ...) is broken on mswindows[1] ...
>
> (set-face-font 'default "Courier New:Regular:10") (font-height
> (face-property 'default 'font)) 16 (set-face-font 'default
> "Courier New:Regular:8") (font-height (face-property 'default
> 'font)) 14
Jonathan> 16 and 14 are the right line heights in pixels on my
Jonathan> machine for those fonts. The '10' and '8' in those font
Jonathan> specs refer to the point size, not to the pixel
Jonathan> height. Adrian, would you investigate further?
Ah, oh.
Will do.
Adrian
Jonathan> Jonathan.
Jonathan> -- Jonathan Harris | jhar(a)tardis.ed.ac.uk London,
Jonathan> England | Jonathan.Harris(a)symbian.com