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

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 UTC