projects
/
platform
/
upstream
/
pango.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
40bade0
)
[GSUB] More ligature/component fixing
author
Behdad Esfahbod
<behdad@behdad.org>
Sun, 22 Nov 2009 23:24:54 +0000
(18:24 -0500)
committer
Behdad Esfahbod
<behdad@behdad.org>
Sun, 22 Nov 2009 23:24:54 +0000
(18:24 -0500)
We can only reuse the ligid if it belongs to a previous ligature, not a
component!
Cherry-picked from harfbuzz-ng repo.
pango/opentype/hb-ot-layout-gsub-private.hh
patch
|
blob
|
history
diff --git
a/pango/opentype/hb-ot-layout-gsub-private.hh
b/pango/opentype/hb-ot-layout-gsub-private.hh
index
75ca150
..
d35aaff
100644
(file)
--- a/
pango/opentype/hb-ot-layout-gsub-private.hh
+++ b/
pango/opentype/hb-ot-layout-gsub-private.hh
@@
-388,8
+388,8
@@
struct Ligature
glyphs and the ligature already has an ID. */
_hb_buffer_add_output_glyphs (buffer, i,
1, (const uint16_t *) &ligGlyph,
- 0
xFFFF
,
- IN_LIGID (buffer->in_pos) ?
+ 0,
+ IN_LIGID (buffer->in_pos)
&& !IN_COMPONENT (buffer->in_pos)
?
0xFFFF : _hb_buffer_allocate_lig_id (buffer));
else
{