From 1bf6acf0fe438194d76e7fb2f605ed26c7914f55 Mon Sep 17 00:00:00 2001 From: Khaled Hosny Date: Sun, 11 Sep 2022 16:07:34 +0200 Subject: vcl: Move subsetting helper functions to sft.cxx MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit No functional change. Change-Id: I8de9117c1b1b1fef251e2711287dbdadaccc4d74 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139799 Tested-by: Jenkins Reviewed-by: خالد حسني --- vcl/inc/salgdi.hxx | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'vcl/inc/salgdi.hxx') 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 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) -- cgit