-
Notifications
You must be signed in to change notification settings - Fork 756
Description
https://drafts.csswg.org/css-fonts-4/#localized-name-matching
This is the only place in WebKit that requires a full Unicode case matching. We have intentionally not implemented this because it’s non-performant. Instead, we just do ASCII case folding. It would be good if we could improve the performance of all implementations by specifying in the spec to use only ASCII case folding. Font lookups are very common in every page load, so performance here is very important. Also, we haven’t had web compatibility bugs due to not performing full Unicode case matching.
http://userguide.icu-project.org/transforms/casemappings says that “there is a flag for whether to apply special mappings for use with Turkic (Turkish/Azerbaijani) text data“ so if we’re going to define that it really requires full Unicode case matching, we’ll have to define how to set this flag.