ungoogled-software/ungoogled-chromium

Opentype SVG support (patches attached)

HinTak opened this issue · 5 comments

HinTak commented

Description

switching on opentype SVG color font support in chromium

Who's implementing?

  • I'm willing to implement this feature myself

The problem

Upstream issue:

https://bugs.chromium.org/p/chromium/issues/detail?id=306078

although it was marked as "WONT FIX" in 2021, Google engineers actually did most of the work in 2022, but left it disabled. Attached are two patches which switches opentype SVG support on. Tested against patched QT 6.7.0 Beta 1 (which includes a modified/slimmed down chromium m118).

Possible solutions

The patches and the CI to build the fedora RPMS are on https://github.com/HinTak/Qt6WE-OT-SVG/ and tested with PyQt6 in https://github.com/HinTak/minimal-web-browser
s/

. In a nutshell, try visiting either https://yoksel.github.io/color-fonts-demo/ or https://pixelambacht.nl/chromacheck/ before and after applying the patches.

They are discussed in https://github.com/HinTak/chromium-mod-CI .

Alternatives

No response

Additional context

webkit-based browsers and firefox support opentype-svg for some years, and for almost a decade now.

I am aware that the patches need to be adjusted/modified beyond m121/m122 (they are more or less the same in between m112 to m120).

Filed at QT too:
https://bugreports.qt.io/browse/QTBUG-120543

What are the benefits of this addition for ungoogled-chromium? Especially w.r.t. project goals?

HinTak commented

webkit-based browsers and firefox support opentype-svg for some years, and for almost a decade now.

Chromium derivatives are about a decade behind...

Sorry, but I don't see how this could answer my questions.