related to previous commit

This commit is contained in:
bunnie 2025-02-28 16:33:14 +08:00
parent e0ef852d06
commit 317bc6a9fd

View file

@ -164,14 +164,14 @@ impl ComposedType {
blitstr2::xor_glyph_large(
rawbuf,
(maybe_x, maybe_y),
*glyph,
glyph,
glyph.invert ^ invert,
cr,
);
} else if !glyph.double {
blitstr2::xor_glyph(rawbuf, (maybe_x, maybe_y), *glyph, glyph.invert ^ invert, cr);
blitstr2::xor_glyph(rawbuf, (maybe_x, maybe_y), glyph, glyph.invert ^ invert, cr);
} else {
blitstr2::xor_glyph_2x(rawbuf, (maybe_x, maybe_y), *glyph, glyph.invert ^ invert, cr);
blitstr2::xor_glyph_2x(rawbuf, (maybe_x, maybe_y), glyph, glyph.invert ^ invert, cr);
}
if glyph.insert {
// log::info!("insert at {},{}", glyph.ch, strpos - 1);