Module layout_2013::text
source Β· Expand description
Text layout.
Structs§
- RunInfo πInformation about a text run that weβre about to create. This is used in
scan_for_runs
. - RunMapping πA mapping from a portion of an unscanned text fragment to the text run weβre going to create for it.
- ScannedTextRun π
- A stack-allocated object for scanning an inline flow into
TextRun
-containingTextFragment
s.
Enums§
Functions§
- Accounts for
text-transform
. - Returns the metrics of the font represented by the given
FontStyleStruct
. - is_compatible πCan a character with script
b
continue a text run with scripta
? - is_specific πReturns true if the script is not invalid or inherited.
- Returns the line block-size needed by the given computed style and font size.
- text πReturns the concatenated text of a list of unscanned text fragments.