Files
ladybird/Userland/Libraries/LibGfx/BitmapFont.cpp
Max Wipfli 006e5998c5 LibGfx: Optimize BitmapFont::unicode_view_width() a bit
This optimizes the method to no longer compare if width > longest_width
on every iteration, since it's only required on CR/LF or at the end.
2021-07-09 20:17:07 +02:00

9.8 KiB