summaryrefslogtreecommitdiff
path: root/vcl/unx/generic/gdi/salgdi3.cxx
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2013-11-26 17:08:25 +0200
committerCaolán McNamara <caolanm@redhat.com>2013-12-04 05:04:04 -0600
commit003a3d7a55d9f83d5b68800d54fdac633b4c281a (patch)
tree636e3f78f804db35c7bf16a64f30871c9f77e35d /vcl/unx/generic/gdi/salgdi3.cxx
parentef1b4c3a5ea6e70a3831d29133ca291aee89f177 (diff)
No more uses of printer built in fonts
Less parsing of AFM files at startup. Change-Id: I62d4c81d6e892f2356df22b53bb35c0f9f7bc344 Reviewed-on: https://gerrit.libreoffice.org/6860 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/unx/generic/gdi/salgdi3.cxx')
-rw-r--r--vcl/unx/generic/gdi/salgdi3.cxx5
1 files changed, 0 insertions, 5 deletions
diff --git a/vcl/unx/generic/gdi/salgdi3.cxx b/vcl/unx/generic/gdi/salgdi3.cxx
index 9f2e88220708..27f87b0c4f58 100644
--- a/vcl/unx/generic/gdi/salgdi3.cxx
+++ b/vcl/unx/generic/gdi/salgdi3.cxx
@@ -554,11 +554,6 @@ void X11SalGraphics::GetDevFontList( ImplDevFontList *pList )
if( !rMgr.getFontFastInfo( *it, aInfo ) )
continue;
- // the GlyphCache must not bother with builtin fonts because
- // it cannot access or use them anyway
- if( aInfo.m_eType == psp::fonttype::Builtin )
- continue;
-
// normalize face number to the GlyphCache
int nFaceNum = rMgr.getFontFaceNumber( aInfo.m_nID );