mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-15 11:26:36 +02:00
If Terminal was configured with a typeface that does not have a font for any given size, the zoom in and out button in the menu bar would not work because font lookup was exact. Use Font::AllowInexactMatch::Larger when zooming in and Font::AllowInexactMatch::Smaller when zooming out to allow finding the closest font size in the requested direction.