From fa42258672f6a15e3decfd5300afeec1539ad656 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 4 May 2025 16:16:28 +0300 Subject: NewStory: fix for underlining spaces --- plugins/NewStory/src/webpage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/NewStory/src/webpage.cpp') diff --git a/plugins/NewStory/src/webpage.cpp b/plugins/NewStory/src/webpage.cpp index 338a31c3e4..955e45d368 100644 --- a/plugins/NewStory/src/webpage.cpp +++ b/plugins/NewStory/src/webpage.cpp @@ -227,7 +227,7 @@ uint_ptr NSWebPage::create_font(const font_description &descr, const document *, fm->descent = tm.tmDescent; fm->height = tm.tmHeight; fm->x_height = tm.tmHeight / 2; // this is an estimate; call GetGlyphOutline to get the real value - fm->draw_spaces = lf.lfItalic || descr.decoration_style; + fm->draw_spaces = lf.lfItalic || descr.decoration_line; } return (uint_ptr)hFont; -- cgit v1.2.3