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( blitstr2::xor_glyph_large(
rawbuf, rawbuf,
(maybe_x, maybe_y), (maybe_x, maybe_y),
*glyph, glyph,
glyph.invert ^ invert, glyph.invert ^ invert,
cr, cr,
); );
} else if !glyph.double { } 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 { } 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 { if glyph.insert {
// log::info!("insert at {},{}", glyph.ch, strpos - 1); // log::info!("insert at {},{}", glyph.ch, strpos - 1);