summaryrefslogtreecommitdiffstats
path: root/src/libnrtype
diff options
context:
space:
mode:
authorTavmjong Bah <tavmjong@free.fr>2015-06-22 10:10:30 +0000
committertavmjong-free <tavmjong@free.fr>2015-06-22 10:10:30 +0000
commitdac19399d5e265506e00ea73d2e20fa3c17799a5 (patch)
tree902ec682516673b049e22c578e2ebb24aa2b3a6f /src/libnrtype
parentRender font variants (ligatures, postions, caps, numerics). (diff)
downloadinkscape-dac19399d5e265506e00ea73d2e20fa3c17799a5.tar.gz
inkscape-dac19399d5e265506e00ea73d2e20fa3c17799a5.zip
Enable rendering of 'font-feature-settings' and 'font-variant-east-asian'.
Requires Pango version equal or greater than 1.37.1. (bzr r14207)
Diffstat (limited to 'src/libnrtype')
-rw-r--r--src/libnrtype/Layout-TNG-Compute.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libnrtype/Layout-TNG-Compute.cpp b/src/libnrtype/Layout-TNG-Compute.cpp
index 8c12f235c..d81e1b6b4 100644
--- a/src/libnrtype/Layout-TNG-Compute.cpp
+++ b/src/libnrtype/Layout-TNG-Compute.cpp
@@ -994,7 +994,6 @@ void Layout::Calculator::_buildPangoItemizationForPara(ParagraphInfo *para) con
#if PANGO_VERSION_CHECK(1,37,1)
PangoAttribute *attribute_font_features =
pango_attr_font_features_new( text_source->style->getFontFeatureString().c_str());
-// pango_attr_font_features_new( "hlig 1, dlig 1");
attribute_font_features->start_index = para_text.bytes();
#endif
para_text.append(&*text_source->text_begin.base(), text_source->text_length); // build the combined text