github.com/Kintar/etxt@v0.0.0-20221224033739-2fc69f000137/esizer/doc.go (about) 1 // The esizer subpackage defines the [Sizer] interface used within etxt 2 // and provides multiple ready-to-use implementations. 3 // 4 // The only job of a [Sizer] is to determine how much space should be taken 5 // by each glyph. While font files already contain this information, 6 // using an interface as a middle layer allows etxt users to modify 7 // spacing manually and achieve specific effects like ignoring kerning, 8 // adding extra padding between letters or accounting for the extra space 9 // taken by custom glyph rasterizers. 10 package esizer