Re: [csswg-drafts] [css-fonts-4] src: local() font unique name matching ambiguous & restricts matched locale

This proposal seems to have 2 pieces:
1. Matching based on both font name and PostScript name
2. Not preferring English over other locales

Both of those are good for the Web platform.

I don't know how to implement these on top of CoreText. It [exposes](https://developer.apple.com/documentation/coretext/ctfontdescriptor/font_attribute_constants?language=objc) the PostScript name, the family name, the display name, and a few other names. Right now, WebKit just matches on PostScript name and family name (along with some other stuff that I don't think is spec-compliant).

-- 
GitHub Notification of comment by litherum
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3177#issuecomment-431773808 using your GitHub account

Received on Monday, 22 October 2018 09:52:23 UTC