core: <font> tag in text should reset the style to Regular

This commit is contained in:
Nathan Adams 2023-10-19 17:20:40 +02:00
parent b2a43cb1f7
commit feacbdc118
6 changed files with 10 additions and 0 deletions

View File

@ -710,6 +710,9 @@ impl FormatSpans {
format.kerning = Some(false); format.kerning = Some(false);
} }
} }
format.bold = Some(false);
format.italic = Some(false);
} }
b"b" => { b"b" => {
format.bold = Some(true); format.bold = Some(true);

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,7 @@
num_frames = 1
[image_comparisons.output]
tolerance = 0
[player_options]
with_renderer = { optional = false, sample_count = 1 }