diff options
| author | Tavmjong Bah <tavmjong@free.fr> | 2015-06-22 10:10:30 +0000 |
|---|---|---|
| committer | tavmjong-free <tavmjong@free.fr> | 2015-06-22 10:10:30 +0000 |
| commit | dac19399d5e265506e00ea73d2e20fa3c17799a5 (patch) | |
| tree | 902ec682516673b049e22c578e2ebb24aa2b3a6f /src/style-internal.h | |
| parent | Render font variants (ligatures, postions, caps, numerics). (diff) | |
| download | inkscape-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/style-internal.h')
| -rw-r--r-- | src/style-internal.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/style-internal.h b/src/style-internal.h index bd2a92c8c..1ddab30f1 100644 --- a/src/style-internal.h +++ b/src/style-internal.h @@ -501,12 +501,12 @@ public: public: SPStyleEnum const *enums; - unsigned value : 8; - unsigned computed: 8; + unsigned value : 16; // 9 bits required for 'font-variant-east-asian' + unsigned computed: 16; private: - unsigned value_default : 8; - unsigned computed_default: 8; // for font-weight + unsigned value_default : 16; + unsigned computed_default: 16; // for font-weight }; @@ -546,7 +546,7 @@ public: {} SPILigatures( Glib::ustring const &name, SPStyleEnum const *enums) : - SPIEnum( name, enums, SP_CSS_FONT_VARIANT_NORMAL ) + SPIEnum( name, enums, SP_CSS_FONT_VARIANT_LIGATURES_NORMAL ) {} virtual ~SPILigatures() |
