[pango/harfbuzz-ng] Fall back to TT kerning if no GPOS
- From: Behdad Esfahbod <behdad src gnome org>
- To: svn-commits-list gnome org
- Subject: [pango/harfbuzz-ng] Fall back to TT kerning if no GPOS
- Date: Tue, 26 May 2009 22:22:58 -0400 (EDT)
commit 07c0e3b1d239ab041e243b0543640c9001e04931
Author: Behdad Esfahbod <behdad behdad org>
Date: Tue May 26 22:11:32 2009 -0400
Fall back to TT kerning if no GPOS
---
pango/pango-ot-info.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/pango/pango-ot-info.c b/pango/pango-ot-info.c
index fb00bb8..541062a 100644
--- 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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]