Kaydet (Commit) 95550e46 authored tarafından Michael Stahl's avatar Michael Stahl

PrintFontManager: don't look at empty path entires

üst 18bff2c2
...@@ -2190,6 +2190,10 @@ void PrintFontManager::initialize() ...@@ -2190,6 +2190,10 @@ void PrintFontManager::initialize()
{ {
OString aToken = aPath.getToken( 0, ';', nIndex ); OString aToken = aPath.getToken( 0, ';', nIndex );
normPath( aToken ); normPath( aToken );
if (!aToken.getLength())
{
continue;
}
// if registering an app-specific fontdir with fontconfig fails // if registering an app-specific fontdir with fontconfig fails
// and fontconfig-based substitutions are enabled // and fontconfig-based substitutions are enabled
// then trying to use these app-specific fonts doesn't make sense // then trying to use these app-specific fonts doesn't make sense
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment