summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog8
-rw-r--r--modules/basic/basic-fc.c9
2 files changed, 15 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 501cadb9..c2556a18 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
2007-10-15 Behdad Esfahbod <behdad@gnome.org>
+ Bug 486932 – Apply vkrn GPOS feature in vertical writing
+
+ * modules/basic/basic-fc.c (basic_engine_shape): Apply vkrn
+ GPOS feature in vertical writing mode. Previously we had
+ no GPOS feature for vertical mode.
+
+2007-10-15 Behdad Esfahbod <behdad@gnome.org>
+
Bug 481537 – compiler warning fixes
Patch from Kjartan Maraas
diff --git a/modules/basic/basic-fc.c b/modules/basic/basic-fc.c
index f01b28d4..7b2c2e78 100644
--- a/modules/basic/basic-fc.c
+++ b/modules/basic/basic-fc.c
@@ -114,6 +114,11 @@ static const PangoOTFeatureMap vertical_gsub_features[] =
{"vert", PANGO_OT_ALL_GLYPHS}
};
+static const PangoOTFeatureMap vertical_gpos_features[] =
+{
+ {"vkrn", PANGO_OT_ALL_GLYPHS}
+};
+
static void
basic_engine_shape (PangoEngineShape *engine,
PangoFont *font,
@@ -186,8 +191,8 @@ basic_engine_shape (PangoEngineShape *engine,
{
desc.n_static_gsub_features = G_N_ELEMENTS (vertical_gsub_features);
desc.static_gsub_features = vertical_gsub_features;
- desc.n_static_gpos_features = 0;
- desc.static_gpos_features = NULL;
+ desc.n_static_gpos_features = G_N_ELEMENTS (vertical_gpos_features);
+ desc.static_gpos_features = vertical_gpos_features;
}
else
{