KetraTerm
API · DevelopmentAll versions

columnSpacing

Adjusts each cell's horizontal advance by signed logical pixels without scaling the font. Defaults to zero. Negative values condense spacing; positive values expand it. Wide characters occupy two adjusted cells. Painting and hit testing share the adjusted width. Text retains its uncondensed glyph-fitting size; existing paint-span clipping still applies. Adjacent glyphs can overlap within a run. Cell-native primitives follow the adjusted cells. At a fixed component width, condensed spacing increases the visible column count. Live sessions resize normally. Closed sessions preserve their final grid and clip columns. Component construction and settings reload validate the resolved font metrics and reject a cell width below one pixel or geometry that exceeds the integer pixel range. Rejected reloads preserve the previous settings and geometry. Settings snapshots alone cannot validate the resulting width before the component resolves its font metrics.