Expand description
Variable text layout engine and supporting types.
This module corresponds to PDFium’s cpvt_variabletext.h/cpp and
associated cpvt_*.h files. The layout engine implements text flow,
line breaking, alignment, auto font sizing, and character array mode
for interactive form field appearance generation.
Re-exports§
pub use variable_text::Alignment;pub use variable_text::VariableText;pub use variable_text::VtFontProvider;pub use variable_text::VtIterator;pub use variable_text::VtWordIterator;pub use vt_line::Line;pub use vt_line_info::LineInfo;pub use vt_section::Section;pub use vt_word::Word;pub use vt_word_info::WordInfo;pub use vt_word_place::WordPlace;pub use vt_word_range::WordRange;
Modules§
- variable_
text - Variable text layout engine (
CPVT_VariableText). - vt_
font_ map - Variable text font provider trait (
IPVT_FontMap/CPVT_FontMap). - vt_line
- Line — a laid-out line of text within a section (
CPVT_Line). - vt_
line_ info - Line info — line statistics for the iterator API (
CPVT_LineInfo). - vt_
section - Section — a paragraph of laid-out text (
CPVT_Section). - vt_word
- Word — iterator-level character record (
CPVT_Word). - vt_
word_ info - Word info — per-character layout record (
CPVT_WordInfo). - vt_
word_ place - Word place — character position within laid-out text (
CPVT_WordPlace). - vt_
word_ range - Word range — a span of characters in laid-out text (
CPVT_WordRange).