S or /

SourceModule text

Everything related to text, fonts, text layout, cursors etc.

Modules§

cursor

Different types of text cursors, i.e. ways to point into a super.Galley.

Classes§

FontData

A .ttf or .otf file and a font face index.

FontDefinitions

Describes a set of pre-configured fonts.

FontFamily Enum

Font of unknown size.

FontId

How to select a sized font.

FontInsert

A font to add to FontDefinitions, and which families to add it to.

FontPriority Enum

Whether an inserted font (or egui.text.GlyphRasterizer) goes before or after the existing fonts of a family.

Fonts

The collection of fonts used by epaint.

FontTweak

Extra scale and vertical tweak to apply to all text of a certain font.

FontVariationAxis

A single variation axis of a variable font, e.g. weight (wght) or width (wdth).

Galley

Text that has been laid out, ready for painting.

HintingTarget Enum

How to hint glyph outlines, i.e. how aggressively to nudge them onto the pixel grid before rasterizing. Mirrors skrifa.outline.Target.

InsertFontFamily

Where in the fallback chain of a FontFamily a FontInsert goes.

LayoutJob

Describes the task of laying out text.

LayoutSection

A contiguous range of LayoutJob.text that shares the same TextFormat.

SmoothHinting

Tuning for HintingTarget.Smooth, mirroring skrifa's Target.Smooth.

TextFormat

Formatting option for a section of text.

TextOptions

Controls how we render text

TextWrapMode Enum

How to wrap and elide text.

TextWrapping

Controls the text wrapping and elision of a LayoutJob.

Functions§

Constants§

Re-exports§