mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-24 17:37:30 +09:00
Issue #187: Remove solaris conditional code.
This commit is contained in:
parent
471c65b924
commit
78d61fd2b1
26 changed files with 12 additions and 448 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