diff options
| author | George Hazan <george.hazan@gmail.com> | 2025-05-04 16:16:28 +0300 |
|---|---|---|
| committer | George Hazan <george.hazan@gmail.com> | 2025-05-04 16:16:28 +0300 |
| commit | fa42258672f6a15e3decfd5300afeec1539ad656 (patch) | |
| tree | 0359c919e8767e84c47a8413377458b81469c1d8 | |
| parent | 13001956a2d307e150ab190905df0e704d7a2ac8 (diff) | |
NewStory: fix for underlining spaces
| -rw-r--r-- | plugins/NewStory/src/webpage.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; |
