Skip to content

v1.1.0

Choose a tag to compare

@github-actions github-actions released this 24 Oct 07:29
· 6 commits to main since this release
  • Added ShapedRun, ShapedClusterRange and the TextShaping.ShapeRun(text, face, result, ...) and FontFallbackChain.ShapeRun(text, result, ...) overloads: the same clusters and glyphs as the list API in flat, reusable arrays, with no allocation per call once warm. The list API is built on the same path and allocates under a third as much as before (about 75 bytes per character instead of about 270 for Latin).
  • Shaping reuses glyph buffers, lookup engines and syllable work arrays per thread, and ShapingOptions caches its feature set. Output is unchanged: the tests compare against digests made by 1.0.0.
  • Added buffer overloads TextShaping.GetBidiLevels(text, direction, levels, out paragraphLevel), TextShaping.GetVisualOrder(levels, order) and TextSegmentation.GetLineBreakOpportunities(text, opportunities).