feat(epub): improve text-decoration support (#2397)

Co-authored-by: JiangoJ <jiangj2620@gmail.com>
This commit is contained in:
Leopoldo Pla Sempere
2026-07-02 12:35:24 +03:00
committed by GitHub
co-authored by JiangoJ
parent 5c86bfe1fd
commit 57447a56a6
11 changed files with 183 additions and 81 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
#include "EpdFontFamily.h"
const EpdFont* EpdFontFamily::getFont(const Style style) const {
// Extract font style bits (ignore UNDERLINE bit for font selection)
// Extract font style bits; render-time overlay bits do not affect font selection.
const bool hasBold = (style & BOLD) != 0;
const bool hasItalic = (style & ITALIC) != 0;