Besides those two questions - who maintains that color font compiler, and
where else can you find fonts with similar problems, not made by Google. I just
had a third - given that those fonts don't work at all with any of the usual
SVG readers/editors, and freetype can't read them correctly until the
skia-based OT-SVG bridge came, and that google chrome still does not support
OT-SVG fonts after a whole decade (apparently it was added to skia m103 about a
year ago, but haven't been enabled...), how/where do you test those fonts on
any platforms?
On Monday, 4 September 2023 at 19:00:12 BST, Hin-Tak Leung
<[email protected]> wrote:
Hmm, "nanoemoji color font compiler" is maintained by? It is largely for
simplicity - you can try find some colour fonts from other sources which show
the same problems?
On Monday, 4 September 2023 at 13:21:11 BST, Cosimo Lupo
<[email protected]> wrote:
Hin-Tak, the OT-SVG fonts which are built by the nanoemoji color font compiler
are, to the best of my knowledge, up to spec (I mean, the OpenType SVG table
specification). The SVG documents embedded in the OpenType SVG table are not
supposed to be simply extracted to an .svg text file and then rendered as
standalone SVG documents, because there are OT-specific semantics. Can you
please stop referring to these as the "Google OT-SVG", there is nothing
particularly Googley about it. Thank you.
On Mon, Aug 21, 2023 at 5:15 PM Hin-Tak Leung <[email protected]>
wrote:
Just put it through:
https://github.com/rougier/freetype-py/blob/master/examples/ot-svg-example-skia.py
It depends on material in the next skia-python,
117b3:https://github.com/kyamagu/skia-python/pull/197
I think the current plan is for about a dozen beta releases until about
skia-python m130 b16 , in the next year and half. (Skia has new release every 4
to 6 weeks...) If things go well, there might be a non-beta release by then.
This is probably the easiest way of coping with some *cough* google *cough*
OT-SVG fonts, given rsvg and Adobe Native can't cope. Skia-python comes with a
bundled skia, so you don't have to build it yourself.
The plan is to release skia-python m117 b3, whatever state it is, when upstream
m118 appears (in about two weeks' time...), etc, until about m130 b16, at least.
On Thursday, 27 July 2023 at 00:43:00 BST, Hin-Tak Leung
<[email protected]> wrote:
Hi, it has been a while with any traffic on the create list.
I have had some fun recently with downloading and building skia with ~80MB
nework traffic and ~300MB disk space usage, without compromising on
functionality:
https://github.com/HinTak/skia-building-fun/
Thought it is probably useful for other projects like libreoffice, etc.
Potentially that means Skia is package'able as a shared library for wider use.
Quite surprised that Google Fonts make SVG's in their OT-SVG fonts that some of
the most common SVG editors/viewers cannot read correctly:
https://gitlab.gnome.org/GNOME/librsvg/-/issues/997
https://github.com/adobe/svg-native-viewer/issues/185
https://gitlab.com/inkscape/inbox/-/issues/8857
What other SVG editors/viewers are out there? (besides Skia and Webkit, that is
- those two work okay). I haven't given batik a go yet.
The context is that I have a few different options of enabling OT-SVG support
on any freetype-based application, with an operational but still ugly
(code-wise) addition for COLRv1.
https://github.com/HinTak/harfbuzz-python-demos/tree/master/skia-adventure/