diff options
author | Khaled Hosny <khaledhosny@eglug.org> | 2013-11-26 17:08:25 +0200 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-12-04 05:04:04 -0600 |
commit | 003a3d7a55d9f83d5b68800d54fdac633b4c281a (patch) | |
tree | 636e3f78f804db35c7bf16a64f30871c9f77e35d /vcl/headless | |
parent | ef1b4c3a5ea6e70a3831d29133ca291aee89f177 (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/headless')
-rw-r--r-- | vcl/headless/svptext.cxx | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/vcl/headless/svptext.cxx b/vcl/headless/svptext.cxx index 0fde3f0afa9d..9b47c41c8621 100644 --- a/vcl/headless/svptext.cxx +++ b/vcl/headless/svptext.cxx @@ -269,11 +269,6 @@ void SvpSalGraphics::GetDevFontList( ImplDevFontList* pDevFontList ) 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 ); |