#34242 replace X font lookups on "-*-*-*-*-*-*-*-*-*-*-*-*-*-*" with "-*"
patch prepared by: Roland Mainz r=shanjian sr=brendan git-svn-id: svn://10.0.0.236/trunk@109170 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -3611,7 +3611,7 @@ GetAllFontNames(void)
|
||||
if (!gGlobalList) {
|
||||
return NS_ERROR_OUT_OF_MEMORY;
|
||||
}
|
||||
GetFontNames("-*-*-*-*-*-*-*-*-*-*-*-*-*-*", gGlobalList);
|
||||
GetFontNames("-*", gGlobalList);
|
||||
}
|
||||
|
||||
return NS_OK;
|
||||
|
||||
@@ -3418,7 +3418,9 @@ GetAllFontNames(void)
|
||||
if (!gGlobalList) {
|
||||
return NS_ERROR_OUT_OF_MEMORY;
|
||||
}
|
||||
GetFontNames("-*-*-*-*-*-*-*-*-*-*-*-*-*-*", gGlobalList);
|
||||
/* Using "-*" instead of the full-qualified "-*-*-*-*-*-*-*-*-*-*-*-*-*-*"
|
||||
* because it's faster and "smarter" - see bug 34242 for details. */
|
||||
GetFontNames("-*", gGlobalList);
|
||||
}
|
||||
|
||||
return NS_OK;
|
||||
|
||||
Reference in New Issue
Block a user