• Akihiro Sagawa's avatar
    gdi32: Try Fontconfig substitutions when the font face is missing. · 11ab9ff7
    Akihiro Sagawa authored
    This improves font selection. With this patch, we can choose a decent
    font family by Fontconfig.
    
    Otherwise, Wine chooses some fonts based on supported charset, e.g. Droid
    Sans Fallback. Droid Sans Fallback supports various scripts including
    Japanese. However, as it's a fallback font, it doesn't have Latin alphabet
    glyphs. If the font is chosen, typically Japanese Ubuntu environment, users
    see a lot of squares instead of Latin alphabets.
    
    This patch asks Fontconfig for the best font for the current locale. If the
    font is returned and matches requested charset, the font is used. If failure,
    it fallbacks to existing procedure.
    Signed-off-by: 's avatarAkihiro Sagawa <sagawa.aki@gmail.com>
    Signed-off-by: 's avatarHuw Davies <huw@codeweavers.com>
    Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
    11ab9ff7
Name
Last commit
Last update
dlls Loading commit data...
documentation Loading commit data...
fonts Loading commit data...
include Loading commit data...
libs Loading commit data...
loader Loading commit data...
po Loading commit data...
programs Loading commit data...
server Loading commit data...
tools Loading commit data...
.mailmap Loading commit data...
ANNOUNCE Loading commit data...
AUTHORS Loading commit data...
COPYING.LIB Loading commit data...
LICENSE Loading commit data...
LICENSE.OLD Loading commit data...
MAINTAINERS Loading commit data...
Makefile.in Loading commit data...
README Loading commit data...
VERSION Loading commit data...
aclocal.m4 Loading commit data...
configure Loading commit data...
configure.ac Loading commit data...