ChromaCheck
ChromaCheck copied to clipboard
Feature test for color font support in browsers
- Made a reusable function for checking the redness of a pixel at a given y-coordinate - I’m pretty sure the `for` loop doesn’t call `Object.keys()` every iteration, but then...
The inlined WOFFs simply refuse to load in Edge 18 and the Insider Preview.
Includes two new fonts which aren't used by the ChromaCheck JavaScript test, but are used in the regular HTML page that will be fed to BrowserStack: chromacheck-cbdt-legacy: CBDT/CBLC font without...
**Edit:** current situation in a nutshell: CBDT spec proposal stated no `glyf` table should be present in CBDT/CBLC fonts. Current spec _doesn't_ say anything about this. Fonts built on the...
IE (not Edge) will throw a `SCRIPT5022: SecurityError` when running ChromaCheck. This is because writing an SVG to the canvas taints the canvas, disallowing ChromaCheck to look at the drawn...
https://drafts.csswg.org/css-fonts-4/#font-palette-control Also see Chris Lilley's example: https://youtu.be/Mho5DIT6MWM?t=2471 The ttx file has an empty `` table in there, which was proposed very early on but is superseded by the `CPAL` table....
visiting the web page with a qt6 webengine browser results in this message in stderr: ``` js: Canvas2D: Multiple readback operations using getImageData are faster with the willReadFrequently attribute set...
Browser support for `font-tech()`: - Firefox since 106 - Chrome/Edge since 108 - the upcoming Safari 17. It will make it easier to add a check for COLRv2 later down...