projects
/
profile
/
ivi
/
org.tizen.video-player.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36b3862
)
Don't zero glyph advances in MarkToBase and similar lookups
author
Behdad Esfahbod
<behdad@behdad.org>
Wed, 29 Sep 2010 16:20:36 +0000
(12:20 -0400)
committer
Behdad Esfahbod
<behdad@behdad.org>
Fri, 1 Oct 2010 22:32:45 +0000
(18:32 -0400)
See email thread "Should MarkToBase attachment zero the mark advance?"
started by Jonathan Kew on 23 August 2010 for details.
src/hb-ot-layout-gpos-private.hh
patch
|
blob
|
history
diff --git
a/src/hb-ot-layout-gpos-private.hh
b/src/hb-ot-layout-gpos-private.hh
index
a5f65b4
..
4969997
100644
(file)
--- a/
src/hb-ot-layout-gpos-private.hh
+++ b/
src/hb-ot-layout-gpos-private.hh
@@
-402,8
+402,6
@@
struct MarkArray : ArrayOf<MarkRecord> /* Array of MarkRecords--in Coverage orde
glyph_anchor.get_anchor (c->layout, c->buffer->info[glyph_pos].codepoint, &base_x, &base_y);
hb_internal_glyph_position_t &o = c->buffer->pos[c->buffer->i];
- o.x_advance = 0;
- o.y_advance = 0;
o.x_offset = base_x - mark_x;
o.y_offset = base_y - mark_y;
o.back = c->buffer->i - glyph_pos;