projects
/
m17n
/
m17n-lib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
006c5ab
)
(mfont__lookup_fontset): If only a fallback font is
author
handa
<handa>
Tue, 6 Dec 2005 05:59:34 +0000
(
05:59
+0000)
committer
handa
<handa>
Tue, 6 Dec 2005 05:59:34 +0000
(
05:59
+0000)
found, don't use it for more than one character.
src/fontset.c
patch
|
blob
|
history
diff --git
a/src/fontset.c
b/src/fontset.c
index
f054199
..
4dd3fe6
100644
(file)
--- a/
src/fontset.c
+++ b/
src/fontset.c
@@
-775,6
+775,8
@@
mfont__lookup_fontset (MRealizedFontset *realized, MGlyph *g, int *num,
g, num, size)))
return rfont;
+ if (per_lang)
+ *num = 1;
if (language == Mt)
{
/* Try the above (3) */
@@
-793,6
+795,8
@@
mfont__lookup_fontset (MRealizedFontset *realized, MGlyph *g, int *num,
g, num, size)))
return rfont;
+ if (per_lang)
+ *num = 1;
/* Then try the above (3) */
MPLIST_DO (plist, per_script)
if (MPLIST_KEY (plist) != language