Bug 151057 - Support multi-colored fonts using COLRv1 tables
Summary: Support multi-colored fonts using COLRv1 tables
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: graphics stack (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 170590 171190 171836 172306 (view as bug list)
Depends on:
Blocks: Font-Rendering 129523
  Show dependency treegraph
 
Reported: 2022-09-19 12:21 UTC by Khaled Hosny
Modified: 2026-06-01 17:19 UTC (History)
8 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Khaled Hosny 2022-09-19 12:21:54 UTC
Version 0 COLR table was supported in https://bugs.documentfoundation.org/show_bug.cgi?id=104403, version 1 is much more involved.

https://learn.microsoft.com/en-us/typography/opentype/spec/colr#colr-formats
Comment 1 V Stuart Foote 2022-09-24 08:32:02 UTC
+1, going to be needed at some point
Comment 2 HomeBookEditor 2025-09-30 16:23:57 UTC
Bumping this issue because it's a function needed for certain typesettings
Comment 3 Buovjaga 2026-02-04 11:09:10 UTC
*** Bug 170590 has been marked as a duplicate of this bug. ***
Comment 4 V Stuart Foote 2026-03-09 13:18:27 UTC
*** Bug 171190 has been marked as a duplicate of this bug. ***
Comment 5 V Stuart Foote 2026-03-09 14:57:17 UTC
At its 43 release in Oct '25, Fedora moved its bundled Noto Color Emoji to the COLRv1 based fonts.  

Other distros seem to be moving toward use of COLRv1, replacing the CBDT/CBLC fonts at some point as well--so this could become more pressing.
Comment 6 V Stuart Foote 2026-03-09 14:59:57 UTC
that is the need for COLRv1/CPAL support
Comment 7 V Stuart Foote 2026-04-24 12:35:55 UTC
*** Bug 171836 has been marked as a duplicate of this bug. ***
Comment 8 Khaled Hosny 2026-04-25 00:01:57 UTC
HarfBuzz has a new harfbuzz-vector library, it supports drawing glyphs to SVG and PDF outputs, we can use it to generate PDFs for COLRv1 glyphs and embed them inside Type 3 fonts we already use for other color glyph formats.
Comment 9 Khaled Hosny 2026-04-25 12:45:22 UTC
(In reply to Khaled Hosny from comment #8)
> HarfBuzz has a new harfbuzz-vector library, it supports drawing glyphs to
> SVG and PDF outputs, we can use it to generate PDFs for COLRv1 glyphs and
> embed them inside Type 3 fonts we already use for other color glyph formats.

This library is still marked as experimental, though, with no stable API. We will have to wait a bit before being able to use it.
Comment 10 Khaled Hosny 2026-06-01 17:19:32 UTC
*** Bug 172306 has been marked as a duplicate of this bug. ***