Re: [css-d] Font stack article

2009-01-12 Thread Richard Mason
On Mon, 12 Jan 2009, Bruno Fassino wrote >In the Firefox source I see this >DWORD len = GetGlyphOutlineW(dc, PRUnichar('x'), GGO_METRICS, &gm, >0, nsnull, &kIdentityMatrix); > ... >mMetrics->xHeight = gm.gmptGlyphOrigin.y; > >I know nothing about this (I'm not even sure to have identif

Re: [css-d] Font stack article

2009-01-12 Thread Bruno Fassino
On Mon, Jan 12, 2009 at 4:41 AM, Richard Mason wrote: > http://msdn.microsoft.com/en-us/library/ms534014(VS.85).aspx shows the > parameters that can be read, by a call to the appropriate Operating > System function, for an installed font. Note "otmsXHeight" which is the > x-height and the comment

Re: [css-d] Font stack article

2009-01-11 Thread Richard Mason
On Sun, 11 Jan 2009, Bruno Fassino wrote Hello Bruno, >Your article is interesting, but I do not fully agree on your >conclusion that "browsers do not know the x-height". Badly phrased perhaps. I meant that it is not possible programmatically to directly read the x-height font metric. This page

Re: [css-d] Font stack article

2009-01-11 Thread Bruno Fassino
On Sat, Jan 10, 2009 at 3:48 AM, Richard Mason wrote: > > Reference [1] says "The example given clearly shows that the browser > "knows" the x-height of "Times New Roman" to do the calculation.". > That's wrong. Browsers do not know the x-height of a font because the > Operating System doesn't know

Re: [css-d] Font stack article

2009-01-10 Thread David Hucklesby
On Fri, 09 Jan 2009 02:07:06 +0100, Dejan Kozina wrote: > Hello list! > > For all those in search of sensible values for font-family: > http://www.sitepoint.com/article/eight-definitive-font-stacks/ > > The samples are way to small, but the result seems nice to me. > I prefer the samples in this a

Re: [css-d] Font stack article

2009-01-09 Thread Philippe Wittenbergh
On Jan 10, 2009, at 1:02 AM, Dejan Kozina wrote: > The size differences might be a good chance to try out the > font-size-adjust property[1]. Last time I've heard about it was on > this > list in 2007 ([2] and [3]), but except for Firefox[4] I'm unsure > about > the browser support today...

Re: [css-d] Font stack article

2009-01-09 Thread Richard Mason
On Fri, 9 Jan 2009, Dejan Kozina wrote >The size differences might be a good chance to try out the >font-size-adjust property[1]. Last time I've heard about it was on this >list in 2007 ([2] and [3]), but except for Firefox[4] I'm unsure about >the browser support today... Reference [1] says

Re: [css-d] Font stack article

2009-01-09 Thread Dejan Kozina
What caught my eye in the proposed font stacks is that the author paid attention to Linux - most similar stacks one finds googling around just care to compare Windows vs. Mac default fonts. The size differences might be a good chance to try out the font-size-adjust property[1]. Last time I've hear

Re: [css-d] Font stack article

2009-01-09 Thread Lesley Binks
2009/1/9 Cristian Palmas : >> Dejan Kozina wrote: >> For all those in search of sensible values for font-family: >> http://www.sitepoint.com/article/eight-definitive-font-stacks/ >> >> djn > > Thanks for the link, Dejan. > It's a really interesting point of view to know about typography. > In my op

Re: [css-d] Font stack article

2009-01-09 Thread Cristian Palmas
> Dejan Kozina wrote: > For all those in search of sensible values for font-family: > http://www.sitepoint.com/article/eight-definitive-font-stacks/ > > djn Thanks for the link, Dejan. It's a really interesting point of view to know about typography. In my opinion, though, the author would have co

Re: [css-d] Font stack article

2009-01-08 Thread David Laakso
Dejan Kozina wrote: > For all those in search of sensible values for font-family: > http://www.sitepoint.com/article/eight-definitive-font-stacks/ > > djn > > > "le triomphe de mediocre" --Baudelaire __ css-discuss [cs...@list

[css-d] Font stack article

2009-01-08 Thread Dejan Kozina
Hello list! For all those in search of sensible values for font-family: http://www.sitepoint.com/article/eight-definitive-font-stacks/ The samples are way to small, but the result seems nice to me. djn -- - Dejan Kozina Web design studio Dolina 346 (TS)