reactos/win32ss/gdi/gdi32
Joachim Henze 9be0765be1 [0.4.9][WIN32SS] Fix regression CORE-15558 Font enumeration
Fixes CORE-15558 "AbiWord font listbox should display a specific font only once, but displays each of them many times instead"
which regressed by SVN r75491 == 0.4.7-dev-32-g d10c0ec112

by porting back the commits:
0.4.12-dev-320-g 6e4e5a004c
and
0.4.13-dev-107-g ae8417fd90 to prevent introducing another regression CORE_15785 with the initial fix.
and some more addendums to prevent introducing regression CORE_15755

I verified afterwards that all 3 issues: CORE-15558, CORE_15785 and CORE_15755 are in fixed state.

Actually I don't really like the resulting code due to the qsort() that it introduces into
win32ss/gdi/gdi32/objects/font.c
We did not need that at all before 0.4.7-dev-32-g d10c0ec112
In case that qsort() would ever reveal any new trouble like reduced performance or stack overflow,
we should structurally revert all that context to 0.4.7-dev-31 instead.
IntEnumFontFamilies() is called immediately upon process initialization for many applications and the qsorted-list is *huge*,
so this indeed could be relevant for performance.
2020-12-31 22:10:01 +01:00
..
include [0.4.9][WIN32SS] Fix regression CORE-15558 Font enumeration 2020-12-31 22:10:01 +01:00
main
misc
objects [0.4.9][WIN32SS] Fix regression CORE-15558 Font enumeration 2020-12-31 22:10:01 +01:00
wine [GDI] Fix metafile crashes and null driver issues. 2017-11-26 14:48:06 -06:00
CMakeLists.txt
gdi32.rc
gdi32.spec
good api.def