summaryrefslogtreecommitdiffstats
path: root/src/style.h
diff options
context:
space:
mode:
authorTavmjong Bah <tavmjong@free.fr>2015-06-21 20:12:09 +0000
committertavmjong-free <tavmjong@free.fr>2015-06-21 20:12:09 +0000
commit9c5f676d93e36fa9c53fd97f62b178ca1b840969 (patch)
tree64902563f9da753f60bd9b4e587e7b24fa835a74 /src/style.h
parentSpray Tool. Fixing boolean initialization and coding style issues. (diff)
downloadinkscape-9c5f676d93e36fa9c53fd97f62b178ca1b840969.tar.gz
inkscape-9c5f676d93e36fa9c53fd97f62b178ca1b840969.zip
Render font variants (ligatures, postions, caps, numerics).
Requires Pango 1.37.1. (bzr r14206)
Diffstat (limited to 'src/style.h')
-rw-r--r--src/style.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/style.h b/src/style.h
index 8e22b3121..02432d3e7 100644
--- a/src/style.h
+++ b/src/style.h
@@ -303,6 +303,12 @@ public:
SPPaintServer *getStrokePaintServer() { return (stroke.value.href) ? stroke.value.href->getObject() : NULL; }
SPPaintServer const *getStrokePaintServer() const { return (stroke.value.href) ? stroke.value.href->getObject() : NULL; }
char const *getStrokeURI() const { return (stroke.value.href) ? stroke.value.href->getURI()->toString() : NULL; }
+
+ /**
+ * Return a font feature string useful for Pango.
+ */
+ std::string getFontFeatureString();
+
};
SPStyle *sp_style_ref(SPStyle *style); // SPStyle::ref();