summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@gnome.org>2007-10-15 19:30:02 +0000
committerBehdad Esfahbod <behdad@src.gnome.org>2007-10-15 19:30:02 +0000
commitdbfb45f099464dc1eb44c23d8a0928e408f2d259 (patch)
tree12fcc05e7cfabf49b4e128697415c4f930d67069
parent2d66e2fe68468ca3a5033b715f4daff237b9dfd3 (diff)
downloadpango-dbfb45f099464dc1eb44c23d8a0928e408f2d259.tar.gz
Bug 486932 – Apply vkrn GPOS feature in vertical writing
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. svn path=/trunk/; revision=2445
-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
{