[PATCH] [v2] gdi32: Fix compile error with Fontconfig <= 2.10.91.

Akihiro Sagawa sagawa.aki at gmail.com
Wed Dec 19 07:52:36 CST 2018


In v2, define FC_PRGNAME and FC_NAMELANG if not available.
I did some tests with Fontconfig 2.8. FcPatternAddString() succeeds with
these pattern names. Family name seems to be always English in the old
version, so FC_NAMELANG isn't needed. FC_PRGNAME is a hint for
fonts.conf author, so it doesn't affect Fontconfig internals.

FC_PRGNAME is available since 2.10.92 and FC_NAMELANG is available
since 2.9.91.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46296
Signed-off-by: Akihiro Sagawa <sagawa.aki at gmail.com>
---
 dlls/gdi32/freetype.c | 6 ++++++
 1 file changed, 6 insertions(+)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-v2-gdi32-Fix-compile-error-with-Fontconfig-2.10.91.patch
Type: text/x-patch
Size: 452 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20181219/9c155dba/attachment.bin>


More information about the wine-devel mailing list