implement text rendering using directly Skia (Windows)

Desktop / LibreOffice - Luboš Luňák [collabora.com] - 18 March 2020 09:48 EDT

The Windows code needed for Skia text rendering. Like with the X11 code, the font is slightly lighter than with Skia disabled, but otherwise it seems to work. And like the X11 code this also requires patching Skia to use the font we want.

Change-Id: Ib5ba52e4ba51b6523617072b77ed5446e7343f46 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90582

271e8c99a2a1 implement text rendering using directly Skia (Windows)
external/skia/UnpackedTarball_skia.mk | 1 +
external/skia/windows-hfont-typeface.patch.0 | 134 +++++++++++++++++++++++++++
vcl/inc/skia/win/gdiimpl.hxx | 3 +
vcl/inc/win/wingdiimpl.hxx | 3 +
vcl/skia/win/gdiimpl.cxx | 55 +++++++++++
vcl/win/gdi/winlayout.cxx | 6 +-
6 files changed, 200 insertions(+), 2 deletions(-)

Upstream: cgit.freedesktop.org


  • Share