summaryrefslogtreecommitdiff
path: root/vcl/unx/kf5/Kf5Graphics.hxx
diff options
context:
space:
mode:
authorJan-Marek Glogowski <glogow@fbihome.de>2017-10-31 01:10:36 +0100
committerThorsten Behrens <Thorsten.Behrens@CIB.de>2017-11-06 12:05:31 +0100
commit97d520049f6c4f3beb8c34c69f2530485d07cfee (patch)
treea6cbb64e0070552522ee6347df3682e1622936e3 /vcl/unx/kf5/Kf5Graphics.hxx
parent688e32b75d7ad2c2a38fd82d41b7a1cb6f0300d5 (diff)
KF5 add FontFace implementation
To pass the "Application error: no fonts and no vcl resource found on your system" failure from OutputDevice::ImplInitFontList. Just saw there is a SAL_NO_FONT_LOOKUP, which probably also would have helped. Change-Id: I2c818313c4f8b0f1d36242281e5c51973315b642
Diffstat (limited to 'vcl/unx/kf5/Kf5Graphics.hxx')
-rw-r--r--vcl/unx/kf5/Kf5Graphics.hxx10
1 files changed, 8 insertions, 2 deletions
diff --git a/vcl/unx/kf5/Kf5Graphics.hxx b/vcl/unx/kf5/Kf5Graphics.hxx
index ff188a890fc1..141f8bdc61e1 100644
--- a/vcl/unx/kf5/Kf5Graphics.hxx
+++ b/vcl/unx/kf5/Kf5Graphics.hxx
@@ -21,13 +21,19 @@
#include <salgdi.hxx>
+#include <memory>
+
class Kf5Frame;
+class PhysicalFontCollection;
+class PhysicalFontFace;
class QImage;
class Kf5Graphics : public SalGraphics
{
- Kf5Frame *m_pFrame;
- QImage *m_pQImage;
+ Kf5Frame *m_pFrame;
+ QImage *m_pQImage;
+ PhysicalFontCollection *m_pFontCollection;
+ PhysicalFontFace *m_pFont;
public:
Kf5Graphics( Kf5Frame *pFrame );