W3C home > Mailing lists > Public > www-style@w3.org > January 2009

Re: [css3-fonts] new editor's draft

From: Jonathan Kew <jonathan@jfkew.plus.com>
Date: Wed, 21 Jan 2009 09:47:52 +0000
Message-Id: <FF75E323-2215-42CD-95B7-AED28357351A@jfkew.plus.com>
To: www-style <www-style@w3.org>

On 21 Jan 2009, at 08:03, John Daggett wrote:
>
> As for the second issue, what the name within local() means, it will
> vary with format but I think we need to define this clearly for  
> TrueType/OpenType
> fonts to assure cross-platform consistency.  Using the full
> name name from the TrueType/OpenType name table indicates a specific
> piece of font data to match against but even that has problems; some
> fonts include localized names for these and I think we probably need  
> to
> explicitly include or exclude these to avoid the problem of name
> matching being localization-dependent.

I'd suggest that for TrueType/OpenType fonts, the PostScript name (ID  
= 6) is probably the best choice. Unlike the Full name, this is not  
subject to localization, and it should be equally adequate to uniquely  
identify a particular font on the system. (That's not guaranteed, of  
course, but if the user has conflicting fonts installed locally, I  
don't think that's our problem here.)

JK
Received on Wednesday, 21 January 2009 12:18:22 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:15 GMT