pub fn layout(spec: ConsoleSpec, screen_w: f32, screen_h: f32) -> LayoutExpand description
Fits a spec console into a screen_w × screen_h window: the largest
integer scale that fits (at least 1, so a too-small window crops the
edges evenly), centred on whole pixels so glyphs stay crisp.