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