text ligatures off when character-spacing > 0
|
@ -98,6 +98,11 @@ void text_symbolizer_properties::process(text_layout & output, feature_impl cons
|
|||
format->fontset = format_defaults.fontset;
|
||||
|
||||
format->font_feature_settings = util::apply_visitor(extract_value<font_feature_settings_ptr>(feature,attrs), format_defaults.font_feature_settings);
|
||||
// Turn off ligatures if character_spacing > 0.
|
||||
if (format->character_spacing > .0 && format->font_feature_settings->count() == 0)
|
||||
{
|
||||
format->font_feature_settings->append(font_feature_liga_off);
|
||||
}
|
||||
|
||||
tree_->apply(format, feature, attrs, output);
|
||||
}
|
||||
|
|
|
@ -35,9 +35,9 @@
|
|||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ! ! !! ",
|
||||
" !! !! ! ! !! ! ! ! ! ",
|
||||
" !! !! !! !!! ! ! ! !! !! ! ! ",
|
||||
" !!! ! ! ! ",
|
||||
" ! !! ! ! ! ! ! !! ! ",
|
||||
" ! ! ! !! ! !! ! ! ! ! !! !! !! ! ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
|
|
Before Width: | Height: | Size: 5.1 KiB After Width: | Height: | Size: 4.7 KiB |
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 3.9 KiB |
Before Width: | Height: | Size: 9.3 KiB After Width: | Height: | Size: 8.5 KiB |
Before Width: | Height: | Size: 7 KiB After Width: | Height: | Size: 6.6 KiB |