[Libreoffice-bugs] [Bug 140710] Google-Font Sora Bold not supported for PDF export or Print

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Jun 9 04:25:14 UTC 2021


https://bugs.documentfoundation.org/show_bug.cgi?id=140710

--- Comment #18 from liqsquid <liqsquid00 at gmail.com> ---
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210609/e46771e6/attachment.htm>


More information about the Libreoffice-bugs mailing list