Bug 105488 - Support multi-colored fonts using SVG table
Summary: Support multi-colored fonts using SVG table
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: graphics stack (show other bugs)
Version:
(earliest affected)
5.2.7.2 release
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 111872 113081 128473 153703 (view as bug list)
Depends on: HarfBuzz
Blocks: Font-Rendering 129523
  Show dependency treegraph
 
Reported: 2017-01-23 18:33 UTC by ⁨خالد حسني⁩
Modified: 2024-01-05 13:18 UTC (History)
19 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 ⁨خالد حسني⁩ 2017-01-23 18:33:33 UTC
Description:
This is similar to bug 104403, but for SVG table instead (https://www.microsoft.com/typography/otspec/svg.htm). This might be a trickier as instead of rendering layered glyphs with different colors we will need to render SVG graphics. We already have decent SVG support, but I’m not sure how usable is it from a low level as text rendering in VCL.

Steps to Reproduce:
Using the bundled Emoji One font.

Actual Results:  
Emoji glyphs are monochrome.

Expected Results:
They should be colored.


Reproducible: Always

User Profile Reset: No

Additional Info:


User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:50.0) Gecko/20100101 Firefox/50.0
Comment 1 Adolfo Jayme Barrientos 2017-08-19 19:08:01 UTC
*** Bug 111872 has been marked as a duplicate of this bug. ***
Comment 2 V Stuart Foote 2017-10-13 14:54:05 UTC
*** Bug 113081 has been marked as a duplicate of this bug. ***
Comment 3 Volga 2018-03-10 17:26:55 UTC Comment hidden (no-value)
Comment 4 Volga 2018-03-17 08:16:23 UTC Comment hidden (no-value)
Comment 5 Volga 2018-10-18 16:50:22 UTC Comment hidden (no-value)
Comment 6 Volga 2018-10-29 17:27:05 UTC Comment hidden (no-value)
Comment 7 Volga 2018-11-06 00:34:06 UTC Comment hidden (no-value)
Comment 8 ⁨خالد حسني⁩ 2022-09-24 08:19:40 UTC
*** Bug 128473 has been marked as a duplicate of this bug. ***
Comment 9 ⁨خالد حسني⁩ 2023-02-18 20:54:41 UTC
*** Bug 153703 has been marked as a duplicate of this bug. ***
Comment 10 Stéphane Guillou (stragu) 2023-11-06 13:36:51 UTC
Can be tested with attachment 160157 [details] from bug 128473, using EmojiOne.

Still current in recent trunk build.

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 31fb3045dabdb27d913712f3abcade315e3ea9bd
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded
Comment 11 bananabodhi@wavecable.com 2024-01-04 19:08:52 UTC
- The bug reports are unintelligible for a non-tech person, and therefore not particularly helpful.

- Also, references to this bug seem to refer only to a "built-in" EmojiOne Color LibreOffice feature. I don't use it (and don't even know how/where to access it.)

- I use EmojiOne Color via the Insert/Special Character menu option (and only occasionally, when the one I want is not available in another font). 
- None of the icons in the EmojiOne Color chart appear in color!?

- I typically use the Segoe UI Emoji Font (also via Insert/Special character.) These are all in color and appear that way in the chart.

- The problem of not printing in color occurs with both these emoji choices. However, when the document is saved as PDF, the color emojis do show and print in color!

I hope this clarifies the issue better, and will result in some real help.
Thanks!
Comment 12 bananabodhi@wavecable.com 2024-01-04 19:15:47 UTC
Follow-up comments:

- I don't know what SVG table, or VCL refer to.
- I don't understand how to use the 16057 attachment test download
Comment 13 Buovjaga 2024-01-04 20:06:56 UTC
(In reply to bananabodhi@wavecable.com from comment #11)
> - The bug reports are unintelligible for a non-tech person, and therefore
> not particularly helpful.
> 
> - Also, references to this bug seem to refer only to a "built-in" EmojiOne
> Color LibreOffice feature. I don't use it (and don't even know how/where to
> access it.)

The EmojiOne Color font is no longer bundled with LibreOffice since commit 694f8eb1f79ff28a45682c77d7bb88ad9197025b
 
> I hope this clarifies the issue better, and will result in some real help.
> Thanks!

Khaled already clarified the issue when he wrote the description for this report in 2017. The issue is described from the perspective of the root cause. If you are not interested in the root cause, then you can ignore the technical explanations.

(In reply to bananabodhi@wavecable.com from comment #12)
> Follow-up comments:
> 
> - I don't know what SVG table, or VCL refer to.

Explanation for SVG table in OpenType fonts is linked to in the description. VCL refers to LibreOffice's graphics library: https://docs.libreoffice.org/vcl.html

> - I don't understand how to use the 16057 attachment test download

It is a .tar.gz archive that you can extract and then examine the .odt and .pdf files inside.