mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-27 10:57:34 +09:00
Merge remote-tracking branch 'origin/master' into custom
This commit is contained in:
commit
51fa1b8bdb
983 changed files with 5371 additions and 280531 deletions
|
|
@ -1096,15 +1096,8 @@ gfxFcFontSet::SortPreferredFonts(bool &aWaitForUserFont)
|
|||
|
||||
FcFontSet *sets[1] = { fontSet };
|
||||
FcResult result;
|
||||
#ifdef SOLARIS
|
||||
// Get around a crash of FcFontSetSort when FcConfig is nullptr
|
||||
// Solaris's FcFontSetSort needs an FcConfig (bug 474758)
|
||||
fontSet.own(FcFontSetSort(FcConfigGetCurrent(), sets, 1, mSortPattern,
|
||||
FcFalse, nullptr, &result));
|
||||
#else
|
||||
fontSet.own(FcFontSetSort(nullptr, sets, 1, mSortPattern,
|
||||
FcFalse, nullptr, &result));
|
||||
#endif
|
||||
|
||||
if (truncateMarker != nullptr && fontSet) {
|
||||
nsAutoRef<FcFontSet> truncatedSet(FcFontSetCreate());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue