package
0.0.9
Repository: https://github.com/benoitkugler/webrender.git
Documentation: pkg.go.dev

# Packages

Package draw use a backend and a layout object to draw glyphs on the ouput.
Package hyphen hyphenates text using existing Hunspell hyphenation dictionaries.

# Functions

No description provided by the author
CharacterRatio returns the ratio 1ex/font_size or 1ch/font_size, according to given style.
GetLastWordEnd returns the index in `t` of the last word, or -1.
NewFontConfigurationPango uses a fontconfig database to create a new font configuration.
If ignoreSpacing is true, 'word-spacing' and 'letter-spacing' are not queried from [style].
No description provided by the author
No description provided by the author
SplitFirstLine fit as much text from [text_] as possible in the available width given by [maxWidth] minimum=False.
StrutLayout returns a tuple of the used value of `line-height` and the baseline.

# Constants

condensed width.
expanded width.
extra condensed width.
extra expanded width.
the normal width.
semi condensed width.
semi expanded width.
ultra condensed width.
ultra expanded width.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
FontConfigurationPango holds information about the available fonts on the system.
FontOrigin is a reference to a binary font file, either on disk or stored in memory.
No description provided by the author
No description provided by the author
No description provided by the author
Splitted exposes the result of laying out one line of text.
No description provided by the author
No description provided by the author
TextLayoutPango wraps a pango.Layout object.
TextStyle exposes the subset of a [pr.Style] required to layout text.
No description provided by the author

# Interfaces

EngineLayout stores the text engine dependant version of the laid out text.
FontConfiguration holds information about the available fonts on the system.
No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author