зеркало из https://github.com/mozilla/pjs.git
fix xft build bustage
This commit is contained in:
Родитель
79deb67800
Коммит
3e973d6204
|
@ -935,7 +935,11 @@ nsFontPSXft::FindFont(PRUnichar aChar, const nsFont& aFont,
|
|||
// set.
|
||||
if (fpi.mGenericFont && !aFont.systemFont) {
|
||||
NS_AddGenericFontFromPref(fpi.mGenericFont, langGroup, pattern,
|
||||
#ifdef PR_LOGGING
|
||||
gFontMetricsPSM);
|
||||
#else
|
||||
nsnull);
|
||||
#endif
|
||||
}
|
||||
|
||||
// Add the generic if there is one.
|
||||
|
|
|
@ -221,7 +221,7 @@ AddFFREandLog(FcPattern *aPattern, nsCString aFamily,
|
|||
if (NS_FFRECountHyphens(aFamily) >= 3)
|
||||
return;
|
||||
|
||||
if (PR_LOG_TEST(aLogModule, PR_LOG_DEBUG)) {
|
||||
if (aLogModule && PR_LOG_TEST(aLogModule, PR_LOG_DEBUG)) {
|
||||
printf("\tadding generic font from preferences: %s\n",
|
||||
aFamily.get());
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче