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:
0bf7615
)
[aat] Ignore cross-stream offset of deleted-glyphs
author
Behdad Esfahbod
<behdad@behdad.org>
Thu, 8 Nov 2018 02:58:04 +0000
(21:58 -0500)
committer
Behdad Esfahbod
<behdad@behdad.org>
Thu, 8 Nov 2018 02:58:04 +0000
(21:58 -0500)
I think it makes sense to accumulate it, but Ned tells me that's
what CoreText does.
src/hb-aat-layout.cc
patch
|
blob
|
history
diff --git
a/src/hb-aat-layout.cc
b/src/hb-aat-layout.cc
index
b3b56c0
..
74d5268
100644
(file)
--- a/
src/hb-aat-layout.cc
+++ b/
src/hb-aat-layout.cc
@@
-232,7
+232,7
@@
hb_aat_layout_zero_width_deleted_glyphs (hb_buffer_t *buffer)
hb_glyph_position_t *pos = buffer->pos;
for (unsigned int i = 0; i < count; i++)
if (unlikely (info[i].codepoint == AAT::DELETED_GLYPH))
- pos[i].x_advance = pos[i].y_advance = 0;
+ pos[i].x_advance = pos[i].y_advance =
pos[i].x_offset = pos[i].y_offset =
0;
}
static bool