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:
1f8802d
)
(mface__realize): Reset measured flag before calling
author
handa
<handa>
Fri, 9 Nov 2007 08:16:53 +0000
(08:16 +0000)
committer
handa
<handa>
Fri, 9 Nov 2007 08:16:53 +0000
(08:16 +0000)
mfont__get_metric.
src/face.c
patch
|
blob
|
history
diff --git
a/src/face.c
b/src/face.c
index
68f774a
..
d78e623
100644
(file)
--- a/
src/face.c
+++ b/
src/face.c
@@
-749,6
+749,8
@@
mface__realize (MFrame *frame, MFace **faces, int num, int size, MFont *font)
{
work_gstring.glyphs[0].g.code
= mfont__encode_char (frame, (MFont *) rfont, NULL, 'x');
+ work_gstring.glyphs[0].g.encoded = 1;
+ work_gstring.glyphs[0].g.measured = 0;
if (work_gstring.glyphs[0].g.code != MCHAR_INVALID_CODE)
{
mfont__get_metric (&work_gstring, 0, 1);