diff options
Diffstat (limited to 'src/libnrtype')
| -rw-r--r-- | src/libnrtype/FontFactory.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libnrtype/FontFactory.cpp b/src/libnrtype/FontFactory.cpp index 583078803..0260a9c4b 100644 --- a/src/libnrtype/FontFactory.cpp +++ b/src/libnrtype/FontFactory.cpp @@ -201,8 +201,8 @@ PangoFontDescription* ink_font_description_from_style(SPStyle const *style) } #if PANGO_VERSION_CHECK(1,41,1) - // Check if set as Pango will add @ to string even if empty (bug in Pango?). - if (style->font_variation_settings.set) { + // Check if not empty as Pango will add @ to string even if empty (bug in Pango?). + if (!style->font_variation_settings.axes.empty()) { pango_font_description_set_variations(descr, style->font_variation_settings.toString().c_str()); } #endif |
