https://bugs.documentfoundation.org/show_bug.cgi?id=140710
--- Comment #18 from liqsquid <[email protected]> ---
Hi!
I had this same problem when I tried to use the variable version of the Inter
font [1]. It displayed ok on writer, but as I saved a pdf version of the
document, the text lost its bold formatting.
This problem seems to be related to 'variable fonts' or OpenType CFF2 fonts as
in bug 137301 [2]. I saw a related discussion in the harfbuzz git [3] and it
might have some helpful info. The Inter website has a test page for browsers
[4] and some useful information [1] about subsetting the variable font using
two other tools [5] e [6].
Maybe this is something it could be done: detect the variable font being used,
subset it, include the corresponding subset in the pdf file.
[1] Inter font family - https://rsms.me/inter/
[2] - https://bugs.documentfoundation.org/show_bug.cgi?id=137301
[3] Shaping and instantiating variable fonts -
https://github.com/harfbuzz/harfbuzz/issues/2112
[4] Inter variable font test - https://rsms.me/inter/var-test.html
[5] subset - fontTools Documentation -
https://fonttools.readthedocs.io/en/latest/subset/
[6] filamentgroup/glyphhanger - https://github.com/filamentgroup/glyphhanger
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs