WIN OSX Qt5 unify CreateFontSubset code

Desktop / LibreOffice - Jan-Marek Glogowski [fbihome.de] - 15 September 2020 04:43 UTC

This is basically just some refactoring. Most interestingly the MacOS used to work with 257 glyphs. I couldn't find any explaination for the 256 glyph limit. Sadly the PrintFontManager is out of scope. That needs more inspection.

Change-Id: Ibfa0e905f5efeb7d4a609884d64b4ed2615a9d3d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102688

bdde33ea94b7 WIN OSX Qt5 unify CreateFontSubset code
vcl/inc/salgdi.hxx | 14 +++++
vcl/inc/sft.hxx | 2 +-
vcl/qt5/Qt5Graphics_Text.cxx | 63 +++-----------------
vcl/quartz/salgdicommon.cxx | 123 +++++-----------------------------------
vcl/source/gdi/salgdilayout.cxx | 108 +++++++++++++++++++++++++++++++++++
vcl/win/gdi/salfont.cxx | 69 +++-------------------
6 files changed, 152 insertions(+), 227 deletions(-)

Upstream: cgit.freedesktop.org


  • Share