Crate ribir_text

source ·
Expand description

A tiny low level text processing library dedicate to Ribir, use to reorder, shape and do simple layout for text. It’s focus

Some detail processing learn from usvg

Re-exports§

Modules§

Structs§

Enums§

  • The size of font. Pixels is an absolute length unit and relative to the view device, and Emis relative length unit relative toPixel`. We stipulate FontSize::Em(1.) equal to FontSize::Pixel(16.)
  • A face width.
  • Allows italic or oblique faces to be selected.
  • Text-align relative to the horizontal or vertical, not caring about whether the text is left-to-right or right-to-left, In the horizontal the left is the start, and in vertical the top is the start.

Constants§

Traits§

Functions§