Dmitry Timoshkov : gdiplus: Create FontFamily objects only once for the FontCollection.

Alexandre Julliard julliard at winehq.org
Sun Feb 2 12:56:45 CST 2020


Module: wine
Branch: master
Commit: b9307cfa61e9884b01d34c2310ec1ffbb1868728
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=b9307cfa61e9884b01d34c2310ec1ffbb1868728

Author: Dmitry Timoshkov <dmitry at baikal.ru>
Date:   Fri Jan 31 16:47:24 2020 +0800

gdiplus: Create FontFamily objects only once for the FontCollection.

.Net 4.7+ depends on this behaviour and expects to be able to do pointer
equality tests for FontFamily objects.

Signed-off-by: Dmitry Timoshkov <dmitry at baikal.ru>
Signed-off-by: Vincent Povirk <vincent at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/gdiplus/font.c       | 208 ++++++++++++++++++++--------------------------
 dlls/gdiplus/tests/font.c |   6 --
 2 files changed, 89 insertions(+), 125 deletions(-)

Diff:   https://source.winehq.org/git/wine.git/?a=commitdiff;h=b9307cfa61e9884b01d34c2310ec1ffbb1868728



More information about the wine-cvs mailing list