summaryrefslogtreecommitdiffstats
path: root/src/ui/widget/font-variations.cpp
diff options
context:
space:
mode:
authorluz.paz <luzpaz@users.noreply.github.com>2019-03-21 02:37:06 +0000
committerluz.paz <luzpaz@users.noreply.github.com>2019-03-21 02:37:06 +0000
commitd8480e53803e8971673f879ec6895971e991a09f (patch)
treed30213bd55148b1bb4a2c13a028a10a9b68662ef /src/ui/widget/font-variations.cpp
parentFix #116: Wrong element names shown in XML editor for circles and ellipses (diff)
downloadinkscape-d8480e53803e8971673f879ec6895971e991a09f.tar.gz
inkscape-d8480e53803e8971673f879ec6895971e991a09f.zip
Misc. typos and whitespace fixes
Found via `codespell -q 3 -I ../inkscape-whitelist.txt -S *.svg,*.po,./src/3rdparty`
Diffstat (limited to 'src/ui/widget/font-variations.cpp')
-rw-r--r--src/ui/widget/font-variations.cpp6
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.