diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2021-09-12 14:41:19 +1000 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2021-10-05 18:11:01 +0200 |
commit | c817a5a4958c323eb189e1374072998b8b13ba8c (patch) | |
tree | 0345dd9e4ae0b590a184b354e9fb183dbcd27f09 /include/vcl/vcllayout.hxx | |
parent | 0e736b0c20e096c5daf59f141b4509cfcc159a79 (diff) |
vcl: test PhysicalFontFace and move to vcl::font namespace
- moved PhysicalFontFace.hxx to vcl/inc/font
- added PhysicalFontFace to vcl::font namespace
- had to regenerate precompiled_vcl.hxx
- tested PhysicalFontFace, with some extensive tests for
IsBetterMatch()
Change-Id: I860022ac244f8a827f6f9cb7ed9018c5d9c328cb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121970
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'include/vcl/vcllayout.hxx')
-rw-r--r-- | include/vcl/vcllayout.hxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/vcl/vcllayout.hxx b/include/vcl/vcllayout.hxx index 3b6254869f1b..34acb2fe733e 100644 --- a/include/vcl/vcllayout.hxx +++ b/include/vcl/vcllayout.hxx @@ -24,13 +24,14 @@ #include <basegfx/polygon/b2dpolypolygon.hxx> #include <tools/gen.hxx> #include <tools/degree.hxx> + #include <vcl/devicecoordinate.hxx> #include <vcl/glyphitem.hxx> #include <vcl/dllapi.h> class LogicalFontInstance; namespace vcl::text { class ImplLayoutArgs; } -class PhysicalFontFace; +namespace vcl::font { class PhysicalFontFace; } class SalGraphics; class GlyphItem; @@ -93,7 +94,7 @@ public: // methods using glyph indexing virtual bool GetNextGlyph(const GlyphItem** pGlyph, Point& rPos, int& nStart, const LogicalFontInstance** ppGlyphFont = nullptr, - const PhysicalFontFace** pFallbackFont = nullptr) const = 0; + const vcl::font::PhysicalFontFace** pFallbackFont = nullptr) const = 0; virtual bool GetOutline(basegfx::B2DPolyPolygonVector&) const; bool GetBoundRect(tools::Rectangle&) const; |