From: handa Date: Tue, 18 Sep 2007 06:36:27 +0000 (+0000) Subject: (mface__realize): Try Freetype based font at first. X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=0a4b3fdc40395112747b47efed6f69bbf6147cb9;p=m17n%2Fm17n-lib.git (mface__realize): Try Freetype based font at first. --- diff --git a/src/face.c b/src/face.c index 5185d0f..86fcf46 100644 --- a/src/face.c +++ b/src/face.c @@ -702,15 +702,15 @@ mface__realize (MFrame *frame, MFace **faces, int num, int size, MFont *font) font); rfont = NULL; mfont__set_spec_from_face (&spec, &merged_face); - mfont_put_prop (&spec, Mregistry, Miso8859_1); - spec.source = MFONT_SOURCE_X; + mfont_put_prop (&spec, Mregistry, Municode_bmp); + spec.source = MFONT_SOURCE_FT; font = mfont__select (frame, &spec, 0); if (font) rfont = mfont__open (frame, font, &spec); if (! rfont) { - mfont_put_prop (&spec, Mregistry, Municode_bmp); - spec.source = MFONT_SOURCE_FT; + mfont_put_prop (&spec, Mregistry, Miso8859_1); + spec.source = MFONT_SOURCE_X; font = mfont__select (frame, &spec, 0); if (font) rfont = mfont__open (frame, font, &spec);