diff options
| author | Tavmjong Bah <tavmjong@free.fr> | 2018-06-03 10:48:37 +0000 |
|---|---|---|
| committer | Tavmjong Bah <tavmjong@free.fr> | 2018-06-03 10:48:37 +0000 |
| commit | f604735e9a2cf37626915adec0064010d844d998 (patch) | |
| tree | 9cf26afddab37c25531079a53d09c8174926b968 /src/ui/widget/font-variants.cpp | |
| parent | Fixes on convert to paths LPE shapes (diff) | |
| download | inkscape-f604735e9a2cf37626915adec0064010d844d998.tar.gz inkscape-f604735e9a2cf37626915adec0064010d844d998.zip | |
Keep Features tab in sync with font in Font tab.
Diffstat (limited to 'src/ui/widget/font-variants.cpp')
| -rw-r--r-- | src/ui/widget/font-variants.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ui/widget/font-variants.cpp b/src/ui/widget/font-variants.cpp index 72e67f88b..1c8815499 100644 --- a/src/ui/widget/font-variants.cpp +++ b/src/ui/widget/font-variants.cpp @@ -423,6 +423,12 @@ namespace Widget { _feature_label.hide(); } + update_opentype( font_spec ); + } + + // Update GUI based on OpenType tables of selected font (which may be changed in font selector tab). + void + FontVariants::update_opentype (Glib::ustring& font_spec) { // Disable/Enable based on available OpenType tables. font_instance* res = font_factory::Default()->FaceFromFontSpecification( font_spec.c_str() ); |
