summaryrefslogtreecommitdiff
path: root/vcl/inc
diff options
context:
space:
mode:
authorKhaled Hosny <khaled@libreoffice.org>2023-08-01 17:45:53 +0000
committerخالد حسني <khaled@libreoffice.org>2023-08-02 11:58:10 +0200
commit790ccec0bdb65adca32e7cde6d1b42c59ca6d567 (patch)
tree21d76a01e4b6f3121bead6a1ec9d30b78e419bce /vcl/inc
parent444e246535a7cf56b94143823845ec4bd2628236 (diff)
vcl: Simplify analyzeSfntFamilyName
We only need a family name not a set of name, and drop a work around for a broken font that is probably long obsolete. Change-Id: I219ec58e65826250d08b3e88462fdcc1e2e2b7f4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/155195 Tested-by: Jenkins Reviewed-by: خالد حسني <khaled@libreoffice.org>
Diffstat (limited to 'vcl/inc')
-rw-r--r--vcl/inc/unx/fontmanager.hxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/vcl/inc/unx/fontmanager.hxx b/vcl/inc/unx/fontmanager.hxx
index a81975f21931..1a1421aef77a 100644
--- a/vcl/inc/unx/fontmanager.hxx
+++ b/vcl/inc/unx/fontmanager.hxx
@@ -92,8 +92,6 @@ class VCL_PLUGIN_PUBLIC PrintFontManager
OString getFontFile(const PrintFont& rFont) const;
std::vector<PrintFont> analyzeFontFile(int nDirID, const OString& rFileName, const char *pFormat=nullptr) const;
- static OUString convertSfntName( const vcl::NameRecord& rNameRecord ); // format font subsetting code
- static void analyzeSfntFamilyName( void const * pTTFont, std::vector< OUString >& rnames ); // actually a TrueTypeFont* from font subsetting code
bool analyzeSfntFile(PrintFont& rFont) const;
// finds the font id for the nFaceIndex face in this font file
// There may be multiple font ids for font collections