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

--- Comment #15 from Volga <shanshandehongx...@outlook.com> ---
(In reply to Khaled Hosny from comment #11)
> We currently do not support variable fonts at all, any apparent support is
> accidental. For PDF generation we will definitely need to generate static
> instances of the fonts before embedded them in PDF files. Using Skia or
> pdfium or not does not change much, the static instances will need to be
> generated regardless (either by us or by the new printing backend if we ever
> have a new one).
> 
> Pdfium isn’t currently a viable replacement IMO as the subsetter it uses
> does not handle fonts with CFF table (.otf fonts) so it will be a big
> regression for us. I don’t even think it does static instantiation of
> variable fonts.
I found Chrome made it works, here are some steps to reproduce:
1. Opening
https://mdn.mozillademos.org/zh-CN/docs/Web/CSS/font-weight$samples/font-weight?revision=1344671
(this page availble at
https://developer.mozilla.org/zh-CN/docs/Web/CSS/font-weight)
2. Replace font face as Bahnschrift at the bottom
3. Click three dots on the toolbar, then click Print
4. Select PDFCreator to print.

Then I found all font weights printed as expected. So how does Chrome made the
implementation?

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to