diff options
author | Khaled Hosny <khaled@aliftype.com> | 2022-09-11 16:07:34 +0200 |
---|---|---|
committer | خالد حسني <khaled@aliftype.com> | 2022-09-13 15:28:12 +0200 |
commit | 1bf6acf0fe438194d76e7fb2f605ed26c7914f55 (patch) | |
tree | 52efa776bb0dbe8d76a0c3cc955c16c4cdf8f117 /vcl/inc/salgdi.hxx | |
parent | 01668b41c4140043f8a4fee18d01c0c4d85a5728 (diff) |
vcl: Move subsetting helper functions to sft.cxx
No functional change.
Change-Id: I8de9117c1b1b1fef251e2711287dbdadaccc4d74
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139799
Tested-by: Jenkins
Reviewed-by: خالد حسني <khaled@aliftype.com>
Diffstat (limited to 'vcl/inc/salgdi.hxx')
-rw-r--r-- | vcl/inc/salgdi.hxx | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/vcl/inc/salgdi.hxx b/vcl/inc/salgdi.hxx index 4521785e3971..a0f8a22df7b3 100644 --- a/vcl/inc/salgdi.hxx +++ b/vcl/inc/salgdi.hxx @@ -44,7 +44,6 @@ namespace vcl::font { } class SalLayout; namespace tools { class Rectangle; } -class FontSubsetInfo; class OutputDevice; class FreetypeFont; struct SystemGraphicsData; @@ -630,20 +629,6 @@ protected: std::unique_ptr<vcl::WidgetDrawInterface> m_pWidgetDraw; vcl::WidgetDrawInterface* forWidget() { return m_pWidgetDraw ? m_pWidgetDraw.get() : this; } - -public: - static bool CreateTTFfontSubset(vcl::AbstractTrueTypeFont& aTTF, const OString& rSysPath, - const sal_GlyphId* pGlyphIds, - const sal_uInt8* pEncoding, - int nGlyphCount); - - static bool CreateCFFfontSubset(const unsigned char* pFontBytes, int nByteLength, - const OString& rSysPath, const sal_GlyphId* pGlyphIds, - const sal_uInt8* pEncoding, - int nGlyphCount, FontSubsetInfo& rInfo); - - static void FillFontSubsetInfo(const vcl::TTGlobalFontInfo& rTTInfo, const OUString& pPSName, - FontSubsetInfo& rInfo); }; bool SalGraphics::IsNativeControlSupported(ControlType eType, ControlPart ePart) |