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@gmail.com --- dlls/gdi32/tests/font.c | 115 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 115 insertions(+)