[meta] Platform independent color font support |
||||||||||||
Issue descriptionMeta bug for the various color font formats. Today we support the Apple (sbix) and Google (CBDT/CBLT) bitmap color font formats across all platforms for system and webfonts and the Microsoft color font format on Windows for system fonts. Ideally we'd support COLR/CPAL across all platforms (and not just windows) for both system and web fonts. See the individual blocked on bugs for the various implementations: Issue 605334 for sbix (Apple color fonts, bitmap) Issue 617379 for COLR/CPAL (Microsoft color fonts, vector) Issue 758209 for CBDT/CBLT (Google color fonts, bitmap) Issue 306078 for SVG (Adobe color fonts, svg) Note that we currently have no plans to add support for SVG fonts. Please see the individual issues for each format for details and use those issues for discussion.
,
Mar 20 2017
,
Mar 20 2017
,
Mar 20 2017
And an implementation for SBIX I believe, if there is any chance Issue 670480 get progressed over the coming year that will be needed also, it perhaps fixes Issue 596223 also by not relying much to CoreText also.
,
Mar 22 2017
You can add that issue to the list maybe? "Apple color font is not supported when served as a web font" https://bugs.chromium.org/p/chromium/issues/detail?id=605334
,
Mar 22 2017
,
Mar 22 2017
,
Mar 26 2017
See also: Issue 617403 (Putting COLR/CPAL layers separately on pdf out should also be considered)
,
Mar 26 2017
See also: Issue 625191 (would be nice to fix emoji issue on the big sizes on the meanwhile also)
,
Mar 31 2017
> we'd support COLR and SBIX across all platforms. Why didn't the above sentence mention CBDT/CBLC fonts as if it's already supported across platforms? BTW, FreeType has been a part of Windows Chrome (PDFium uses it). Now with Dominik's recent change, Blink can use FreeType for variational fonts (IIUC). Can it be made to use FreeType for sbix, CBDT/CBLC fonts where DW does not support them?
,
Mar 31 2017
sbix is more widely used than CBDT and if we're going to support a bitmap/png format across all platforms I'd prefer to start with the most popular one. Similarly I'd rather not to add support for bitmap fonts on windows until we've added support for an outline glyphs format (COLR) to other platforms. Bitmap fonts have a lot of problems and it would be a shame to regress now that we've finally almost entirely switched away from them for monochrome fonts.
,
Mar 31 2017
Great, now that there is an agreement on having freetype on different platforms, would be nice someone to go to progress http://savannah.nongnu.org/bugs/?44689 there is a patch associated with it, see the comments #6 #7 there, also Ben already reviewed it.
,
Apr 5 2017
If we have FreeType everywhere (which I like to), then sbix/CBDT work fine and transparently to the client. Skia already has the support. For SVG and COLR/CPAL, we're working on adding them to HarfBuzz, then hooking up to Skia.
,
Apr 18 2017
,
Apr 18 2017
,
Jul 19 2017
> sbix is more widely used than CBDT and if we're going to support a bitmap/png format across all platforms I'd prefer to start with the most popular one. Well, CBDT/CBDLT is a part of the Opentype standard while sbix is not (yet). Anyway, as Behdad mentioned in comment 14, it does not really matter because both can be supported with FreeType on all platforms.
,
Jul 19 2017
Sounds good. I'd be happy with CBDT/CBLT and COLR/CPAL. Thanks jshin.
,
Jul 21 2017
sbix is also part of standard now. I think we should support all four formats. Microsoft is doing, Firefox is doing, and Apple is probably working on doing.
,
Aug 23 2017
,
Aug 23 2017
I've filed issue 758209 for starting by running CBDT/CBLC through FreeType on all platforms.
,
Nov 8 2017
,
Feb 23 2018
Sbix and cbdt/cblc are fixed now in issue 605334 and issue 758209 . A COLR/CPAL foundation is underway in FreeType https://savannah.nongnu.org/bugs/?44689 but the latest status on this is a little unclear.
,
Mar 6 2018
,
Mar 6 2018
Since not many OT-SVG comments are in this “meta bug,” let me point out https://bugs.chromium.org/p/chromium/issues/detail?id=306078 has been updated with important notes on a minimal profile for OT-SVG & comments on Adobe apps’ adoption of that format. (Sairus Patel from Adobe)
,
Mar 6 2018
Thanks for pointing that out. Let's try to keep the discussion in the format specific bugs though.
,
Mar 29 2018
Just FYI, I've added table parsing for all sbix/SVG/COLR/CPAL (in addition to the existing but outdated CBDT/CBLC) to harfbuzz (not rendering of course, and doesn't have public API yet also). Just saying if anyone interested to implement the remaining ones in cross-platform manner, harfbuzz probably is a good place to start the effort.
,
Oct 30
,
Oct 30
|
||||||||||||
►
Sign in to add a comment |
||||||||||||
Comment 1 by e...@chromium.org
, Mar 20 2017