summaryrefslogtreecommitdiff
path: root/vcl/unx/generic/gdi/cairotextrender.cxx
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2019-09-03 14:40:42 +0200
committerKhaled Hosny <khaledhosny@eglug.org>2019-09-11 12:40:33 +0200
commitac9d7d4157813fcf43dd41043981c4bb27d2cc33 (patch)
tree597ec10353b7f08a6aa26c6e71d713fcf05d98b3 /vcl/unx/generic/gdi/cairotextrender.cxx
parentbefc8853fac9fd1265ebd4898bf63b26e62ac9e7 (diff)
Consolidate GetFontCapabilities()private/khaledhosny/vcl-cleanup-font
All implementations were basically doing the same thing. Move to PhysicalFontFace and use HarfBuzz API to get the raw OpeenType table data. Change-Id: Ia5ac0d1ba6299f86e90e1b0dac34ba7672855ec0
Diffstat (limited to 'vcl/unx/generic/gdi/cairotextrender.cxx')
-rw-r--r--vcl/unx/generic/gdi/cairotextrender.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/unx/generic/gdi/cairotextrender.cxx b/vcl/unx/generic/gdi/cairotextrender.cxx
index cc63b05ad394..410ff9366cdc 100644
--- a/vcl/unx/generic/gdi/cairotextrender.cxx
+++ b/vcl/unx/generic/gdi/cairotextrender.cxx
@@ -378,7 +378,7 @@ bool CairoTextRender::GetFontCapabilities(vcl::FontCapabilities &rGetImplFontCap
{
if (!mpFreetypeFont[0])
return false;
- return mpFreetypeFont[0]->GetFontCapabilities(rGetImplFontCapabilities);
+ return mpFreetypeFont[0]->GetFontInstance()->GetFontFace()->GetCapabilities(rGetImplFontCapabilities);
}
// SalGraphics