projects
/
platform
/
upstream
/
libHarfBuzzSharp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
686567b
)
[GPOS] Add harmless recursion in fix_mark_attachment()
author
Behdad Esfahbod
<behdad@behdad.org>
Thu, 11 Feb 2016 08:28:55 +0000
(15:28 +0700)
committer
Behdad Esfahbod
<behdad@behdad.org>
Thu, 11 Feb 2016 08:28:55 +0000
(15:28 +0700)
Will do nothing. Just useful for merging two functions.
src/hb-ot-layout-gpos-table.hh
patch
|
blob
|
history
diff --git
a/src/hb-ot-layout-gpos-table.hh
b/src/hb-ot-layout-gpos-table.hh
index
b349524
..
038a5c6
100644
(file)
--- a/
src/hb-ot-layout-gpos-table.hh
+++ b/
src/hb-ot-layout-gpos-table.hh
@@
-1579,6
+1579,8
@@
fix_mark_attachment (hb_glyph_position_t *pos, unsigned int i, hb_direction_t di
unsigned int j = (int) i + chain;
+ fix_mark_attachment (pos, j, direction);
+
pos[i].x_offset += pos[j].x_offset;
pos[i].y_offset += pos[j].y_offset;