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:
6f9bd9a
)
Fall back to TT kerning if no GPOS
author
Behdad Esfahbod
<behdad@behdad.org>
Wed, 27 May 2009 02:11:32 +0000
(22:11 -0400)
committer
Behdad Esfahbod
<behdad@behdad.org>
Wed, 27 May 2009 02:11:32 +0000
(22:11 -0400)
pango/pango-ot-info.c
patch
|
blob
|
history
diff --git
a/pango/pango-ot-info.c
b/pango/pango-ot-info.c
index
fb00bb8
..
541062a
100644
(file)
--- a/
pango/pango-ot-info.c
+++ b/
pango/pango-ot-info.c
@@
-597,8
+597,10
@@
_pango_ot_info_position (const PangoOTInfo *info,
rule->property_bit);
}
+ buffer->applied_gpos = TRUE;
}
+ if (buffer->applied_gpos)
{
unsigned int i, j;
hb_glyph_position_t *positions = buffer->buffer->positions;
@@
-619,6
+621,4
@@
_pango_ot_info_position (const PangoOTInfo *info,
positions[j].y_pos += positions[j - positions[j].cursive_chain].y_pos;
}
}
-
- buffer->applied_gpos = TRUE;
}