Once we set support for OpenType Font Variation, we need to implement a converter to convert its instances into static glyphs before variable font used for printing and experting to PDF. According to OpenType Font Variations Overview:
“In certain application workflows, it may be necessary to dynamically generate a static font resource for a particular instance — that is, conventional, non-variation font tables that use interpolated values for a particular instance. This may be needed in order to provide font data to legacy software or data formats that do not understand or support variable fonts, such as legacy printer drivers, or PDF or XPS files with embedded font data. ”
Steps to Reproduce:
User Profile Reset: No
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:54.0) Gecko/20100101 Firefox/54.0
Yep, sounds necessary -> NEW
Created attachment 138660 [details]
In Windows 10 Fall Creators Update, Microsoft introduced a variable font "Bahnschrift", this font including 5 weights produce via font variation. In LibreOffice Writer, this font weights works as expected on screen, but not works neither PDF expert nor printing. Here is my copy of this font.
Created attachment 138661 [details]
Here is what I have seen.
Version: 22.214.171.124 (x64)
CPU 线程：4; 操作系统：Windows 10.0; UI 渲染：默认;
区域语言：zh-CN (zh_CN); Calc: group
Created attachment 138662 [details]
Fig 1. PDF Experting
This is what I got after clicking "Expert to PDF" button on the toolbar.
Created attachment 138663 [details]
Fig 2. Printing work
This is the same ODT document "printed" via PDFcreator 3.0.
Created attachment 138674 [details]