diff options
author | Khaled Hosny <khaled@aliftype.com> | 2022-12-05 22:07:29 +0200 |
---|---|---|
committer | خالد حسني <khaled@aliftype.com> | 2022-12-06 04:24:42 +0000 |
commit | 1d5a02d12eacadb708c18e70db747e80ab8817a9 (patch) | |
tree | 286cbb19389fe7b19cfc2e4eaaeca0236de87e5a /vcl/inc/sft.hxx | |
parent | 7415ce2b9795a78f836bc5e5bffb4b56eee26b21 (diff) |
Simplify PhysicalFontFace::CreateFontSubset() a bit
Hide the logic inside fontsubset and don’t leak it to the caller.
Change-Id: Ibc845e0051eaeb64e8de42f80d4d404fd6a3880e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143686
Tested-by: Jenkins
Reviewed-by: خالد حسني <khaled@aliftype.com>
Diffstat (limited to 'vcl/inc/sft.hxx')
-rw-r--r-- | vcl/inc/sft.hxx | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/vcl/inc/sft.hxx b/vcl/inc/sft.hxx index 52d9c3db014d..b5fc71b44530 100644 --- a/vcl/inc/sft.hxx +++ b/vcl/inc/sft.hxx @@ -611,17 +611,7 @@ class TrueTypeFont; std::vector<sal_uInt8>& rOutBuffer, const sal_GlyphId* pGlyphIds, const sal_uInt8* pEncoding, - int nGlyphCount); - - VCL_DLLPUBLIC bool CreateCFFfontSubset(const unsigned char* pFontBytes, - int nByteLength, - std::vector<sal_uInt8>& rOutBuffer, - const sal_GlyphId* pGlyphIds, - const sal_uInt8* pEncoding, int nGlyphCount, FontSubsetInfo& rInfo); - - VCL_DLLPUBLIC void FillFontSubsetInfo(AbstractTrueTypeFont *ttf, - FontSubsetInfo& rInfo); /** * Generates a new PostScript Type42 font and dumps it to <b>outf</b> file. * This function substitutes glyph 0 for all glyphIDs that are not found in the font. |