Is this feature fully tested by web-platform-tests?
Contact emailsSpecCurrent draft for OpenType variable fonts support as part of CSS Fonts Level 4, especially font-variation-settings, feature resolution and variable fonts specific properties:TAG review not requested, but advise is welcome: Do I need a TAG review for the what could be considered consistent edits over the existing CSS Fonts Level 3 spec (updates to existing font selection algorithm, font-variations-settings analogous to the existing font-feature-settings, etc.)?
Ongoing technical constraintsWe generally rely on OS APIs for certain font specific features: font metric computations as well as glyph rasterisation on Windows and Mac are done through DirectWrite and CoreText respectively.On Linux, Android and ChromeOS we control the full font stack, we can coordinate the introduction of the feature and ensure having FreeType and other font libraries at the required version.On OSes where the system rasterizer does not support OpenType Variations, we use a hybrid font stack solution with FreeType as the rasteriser for OpenType variations.See above in the summary under "Out of scope for now": We won't support variable system fonts for now.OWP launch tracking bugLink to entry on the Chrome Platform StatusRequesting approval to ship?Yes.Special ThanksSpecial thanks to behdad@, bungeman@ from the Skia team, eae@, thestig@ from PDFium, alancutter@, and everyone who helped getting this ready.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAN6muBszA-VU7TFewYN4AAfBWUx%3DB-TMCmJ4t%3DQrZZ27nv1FdQ%40mail.gmail.com.
A very comprehensive intent, this one, sounds like a great new feature that we should ship. A few comments inline first.
Is this feature fully tested by web-platform-tests?
There is a tracking bug for adding web platform tests for OpenType Variations support. The first set of tests has been upstreamed, which tests font-feature-settings and capabilities of the underlying OpenType font engine. A second set of tests which tests the font-style-matching algorithm with variations support is up for review.The feature is additionally tested by Blink unit tests, as it is notoriously difficult to create reliable ref tests for font features due to slight differences in antialiasing color values due to different filtering and rounding.
It sounds like you were able to rely entirely on web-platform-tests and unit tests, is that right? Quite encouraging if so.
I really like the README that came with the second review, that kind of "how is this feature tested" view would be useful for many test suites I suspect.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAARdPYeW1YgvCW12sZ50eEzxLdouJcA-ewP8rmm76zepO3GUtA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAOMQ%2Bw_yGnNbnOSvVc1c%2BD8B4b9T8VGRQZs8grKgy7qLGU9qZw%40mail.gmail.com.
LGTM2I think filing a TAG review request is a good idea regardless.