[PATCH v2 1/2] gdi32/tests: Add tests for replacement font properties.

Akihiro Sagawa sagawa.aki at gmail.com
Mon Dec 6 09:19:40 CST 2021


In v2, add tests.

These tests are only for Wine. They define replacement font behaviors,
which are comparable to a normal font ones, and will prevent regressions
in the future.

At this point, replacement definitions are used in the font selection
in NtGdiSelectFont(), enumeration and lfFaceName in EnumFonts() family.
The following patches expands the usage to GetTextFace() and otmpFamilyName
in GetOutlineTextMetrics().

Replacement font feature expansion helps to avoid copyright and license
issues regarding missing MS fonts, e.g. MS Gothic and Segoe UI.

Signed-off-by: Akihiro Sagawa <sagawa.aki at gmail.com>
---
 dlls/gdi32/tests/font.c | 115 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 115 insertions(+)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: v2-0001-gdi32-tests-Add-tests-for-replacement-font-proper.patch
Type: text/x-patch
Size: 5485 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20211207/76d9e320/attachment.bin>


More information about the wine-devel mailing list