Skip to main content

CUT_SEARCH_FRACTION

Constant CUT_SEARCH_FRACTION 

Source
pub const CUT_SEARCH_FRACTION: f64 = 0.12;
Expand description

Where a tile may be cut, as a fraction of the tile width, searching backwards from the ideal boundary. 0.12 of a 1024px window is ~123px, roughly two Mon glyphs — wide enough to find a gap, narrow enough that tiles stay near full width.