mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-15 14:25:52 +00:00
Hack to increase XftMaxFreeTypeFiles to a sane value from the default value of
"5". Bug 330064, patch by vlad, r+sr=roc
This commit is contained in:
parent
c5746047f9
commit
994513394b
@ -193,6 +193,14 @@ static void InitPangoLib()
|
||||
PR_FindFunctionSymbol(lib, "pango_font_description_set_absolute_size");
|
||||
|
||||
// leak lib deliberately
|
||||
|
||||
lib = nsnull;
|
||||
int *xft_max_freetype_files_ptr = nsnull;
|
||||
xft_max_freetype_files_ptr = (int*) PR_FindSymbolAndLibrary("XftMaxFreeTypeFiles", &lib);
|
||||
if (xft_max_freetype_files_ptr)
|
||||
*xft_max_freetype_files_ptr = 50;
|
||||
if (lib)
|
||||
PR_UnloadLibrary(lib);
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user