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:
997dedc
)
(compose_glyph_string): Update prev->rface->rfont if the
author
handa
<handa>
Wed, 9 Nov 2005 12:37:39 +0000
(12:37 +0000)
committer
handa
<handa>
Wed, 9 Nov 2005 12:37:39 +0000
(12:37 +0000)
glyph prev is also supported by the current flt.
src/draw.c
patch
|
blob
|
history
diff --git
a/src/draw.c
b/src/draw.c
index
671acc8
..
2e5d6b8
100644
(file)
--- a/
src/draw.c
+++ b/
src/draw.c
@@
-440,7
+440,11
@@
compose_glyph_string (MFrame *frame, MText *mt, int from, int to,
NULL, prev->c)
!= MCHAR_INVALID_CODE));
start--, prev--)
- prev->code = code;
+ if (prev->rface->rfont != this->rface->rfont)
+ {
+ prev->rface->rfont = this->rface->rfont;
+ prev->code = code;
+ }
for (g++;
(g->type == GLYPH_CHAR