diff options
Diffstat (limited to 'src/ui/widget/font-variations.cpp')
| -rw-r--r-- | src/ui/widget/font-variations.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ui/widget/font-variations.cpp b/src/ui/widget/font-variations.cpp index 20012b381..f585710c4 100644 --- a/src/ui/widget/font-variations.cpp +++ b/src/ui/widget/font-variations.cpp @@ -76,7 +76,7 @@ FontVariations::update (Glib::ustring& font_spec) { remove ( *child ); } axes.clear(); - + for (auto a: res->openTypeVarAxes) { // std::cout << "Creating axis: " << a.first << std::endl; FontVariationAxis* axis = Gtk::manage( new FontVariationAxis( a.first, a.second )); @@ -110,7 +110,7 @@ FontVariations::get_css_string() { // Translate the "named" axes. (Additional names in 'stat' table, may need to handle them.) if (name == "Width") name = "wdth"; // 'font-stretch' if (name == "Weight") name = "wght"; // 'font-weight' - if (name == "Optical size") name = "opsz"; // 'font-optical-sizing' Can trigger glyph substition. + if (name == "Optical size") name = "opsz"; // 'font-optical-sizing' Can trigger glyph substitution. if (name == "Slant") name = "slnt"; // 'font-style' if (name == "Italic") name = "ital"; // 'font-style' Toggles from Roman to Italic. @@ -138,7 +138,7 @@ FontVariations::get_pango_string() { // Translate the "named" axes. (Additional names in 'stat' table, may need to handle them.) if (name == "Width") name = "wdth"; // 'font-stretch' if (name == "Weight") name = "wght"; // 'font-weight' - if (name == "Optical size") name = "opsz"; // 'font-optical-sizing' Can trigger glyph substition. + if (name == "Optical size") name = "opsz"; // 'font-optical-sizing' Can trigger glyph substitution. if (name == "Slant") name = "slnt"; // 'font-style' if (name == "Italic") name = "ital"; // 'font-style' Toggles from Roman to Italic. |
