Re: [csswg-drafts] [css-text][css-fonts] Optical bounds of a line (#5466)

It should be noted that `opdb` feature is not implemented anywhere (and probably unimplementable without hacks) since OpenType shapers (that take care of applying font features) work on a much lower level than what is needed for this kind of features. 

Also anything written in the OpenType feature registry should be taken with a big grain of salt since it is often outdated, confused, or contradicts actual implementations.

Apple also has [`opbd` table](https://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6opbd.html) (standalone font table not an OTL font feature), that might be more implementable (simple data structure, can be applied by applications after shaping without having to re0implenet considerable chunks of the OTL tables), but I don’t know if Core Text implements it, there are only two fonts that have it in an up to date macOS system: Apple Chancery and Hoefler Text.

See also https://github.com/harfbuzz/harfbuzz/issues/1891

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 28 August 2020 15:44:55 UTC