forked from AuroraMiddleware/gtk
css: Allow fractional letterspacing
Something like letter-spacing: -0.5px make a lot of sense. But we were handling the number as integer somewhere, loosing the fractional part. Fixes: #5034
This commit is contained in:
parent
e7af42c758
commit
726c9e83d2
@ -596,7 +596,7 @@ gtk_css_style_get_pango_attributes (GtkCssStyle *style)
|
||||
GtkTextDecorationStyle decoration_style;
|
||||
const GdkRGBA *color;
|
||||
const GdkRGBA *decoration_color;
|
||||
int letter_spacing;
|
||||
double letter_spacing;
|
||||
|
||||
/* text-decoration */
|
||||
decoration_line = _gtk_css_text_decoration_line_value_get (style->font_variant->text_decoration_line);
|
||||
|
Loading…
Reference in New Issue
Block a user