1
0
mirror of https://github.com/roytam1/UXP.git synced 2026-05-26 13:58:49 +00:00

Issue #2826 - Set up fontconfig on XRE startup (GTK only)

This commit is contained in:
Francis Dominic Fajardo
2025-07-19 21:25:44 +08:00
committed by roytam1
parent 5869164e31
commit b992da05eb
+3
View File
@@ -3164,6 +3164,9 @@ XREMain::XRE_mainStartup(bool* aExitFlag)
#endif
#if defined(MOZ_WIDGET_GTK)
// Set up fontconfig.
FcInit();
// setup for private colormap. Ideally we'd like to do this
// in nsAppShell::Create, but we need to get in before gtk
// has been initialized to make sure everything is running