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:
7d310ff
)
(mfont__ft_drive_otf): Fix for the case that no GSUB
author
handa
<handa>
Fri, 6 Aug 2004 12:10:56 +0000
(12:10 +0000)
committer
handa
<handa>
Fri, 6 Aug 2004 12:10:56 +0000
(12:10 +0000)
feature to apply.
src/font-ft.c
patch
|
blob
|
history
diff --git
a/src/font-ft.c
b/src/font-ft.c
index
ebcd01c
..
a514df7
100644
(file)
--- a/
src/font-ft.c
+++ b/
src/font-ft.c
@@
-1021,6
+1021,12
@@
mfont__ft_drive_otf (MGlyphString *gstring, int from, int to,
for (i = 0; i < len; i++)
{
MGlyph temp = gstring->glyphs[from + i];
+
+ if (otf_gstring.glyphs[i].glyph_id)
+ {
+ temp.code = otf_gstring.glyphs[i].glyph_id;
+ temp.otf_encoded = 1;
+ }
MLIST_APPEND1 (gstring, glyphs, temp, MERROR_FONT_OTF);
}