From 0a4b3fdc40395112747b47efed6f69bbf6147cb9 Mon Sep 17 00:00:00 2001 From: handa Date: Tue, 18 Sep 2007 06:36:27 +0000 Subject: [PATCH] (mface__realize): Try Freetype based font at first. --- src/face.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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); -- 1.7.10.4