by Michael S. Kaplan, published on 2011/05/30 07:01 -04:00, original URI: http://blogs.msdn.com/b/michkap/archive/2011/05/30/10169348.aspx
So the other day, in response to To True Boldly Go Where No Font...(yada yada yada), Quppa commented:
What weight does Segoe UI Semilight (found in WP7 and maybe Windows 8) correspond to?
I don't know what the latter product is, never heard of it before. :-)
But the former product doesn't have a Segoe UI Semilight in it or on it.
Now Windows Phone 7 has a Segoe WP Semilight, and the other fonts in the Segoe WP * series seem by all appearances to be honest subsets of the Segoe UI * series of fonts in Windows 7.
So perhaps there is something to this idea.
Though it puts things in a weird place.
I mean, thinking back to the weight names in this table from LOGFONT->lfWeight:
Value | Weight |
---|---|
FW_DONTCARE | 0 |
FW_THIN | 100 |
FW_EXTRALIGHT | 200 |
FW_ULTRALIGHT | 200 |
FW_LIGHT | 300 |
FW_NORMAL | 400 |
FW_REGULAR | 400 |
FW_MEDIUM | 500 |
FW_SEMIBOLD | 600 |
FW_DEMIBOLD | 600 |
FW_BOLD | 700 |
FW_EXTRABOLD | 800 |
FW_ULTRABOLD | 800 |
FW_HEAVY | 900 |
FW_BLACK | 900 |
Now in pretty much every context that counts, semilight would be less light than light.
Just like semibold in this table is less bold than bold -- thus FW_BOLD is 700, FW_SEMIBOLD is 600, and FW_REGULAR is 400.
But on the other side, FW_LIGHT is 300 and FW_REGULAR is 400, so I guess some theoretical future FW_SEMILIGHT may well be 350 (or some other number between 300 and 400).
Of course it does seem like the scale is a bit off here if you compare what the Semi* and Demi* meanings are on the bold side. But these are just descriptive words that act as approximations, not mathematical concepts with all the rigor that would imply.
Perhaps if I had sophisticated font file tools on my WP7 device I could find out exactly what weight Segoe WP Semilight claimed to be, as perhaps that would cause it all to make sense.
Or I suppose I could just get it from the Design Templates for Windows Phone 7 and find out more directly....
Okay, clearly Segoe WP Semilight sits between Segoe WP Light and Segoe WP.
Now just to keep me from feeling too guilty for breaking future code from anyone who does their own defines, please be sure to wrap it all up as follows if you agree with my logic and want to use it sooner:
#ifndef FW_SEMILIGHT
#define FW_SEMILIGHT 350
#endif // FW_SEMILIGHT
Okay, now I feel better.... :-)
I am truly at a minimum semi-jazzed about the Semilight weight (full jazz would require all the hinting work to be done!).
parkrrrr on 2 Jun 2011 10:56 AM:
There's a field in OpenType fonts, usWeightClass in the not-so-well-named OS/2 table, that contains these weights. Segoe WP Semilight has a 300 there, and Segoe WP Light has a 200. I don't know if this will make you feel better or worse....