TextFontStyle

TextFontStyle selects normal or italic text in Text, RichTextRun, and related styling APIs.

Example

use fission::prelude::*;
// Inside a Compose view: posture is independent of the translated label.
Text(cx.tr("documents.draft"), font_style: TextFontStyle::Italic)

Choice table

Choice
Type
Meaning
Notes / default behavior
Normal
TextFontStyle
Regular upright text.
Default.
Italic
TextFontStyle
Italic text.
Use for emphasis or special notation, not for large amounts of body copy.

Specific advice

Prefer semantic emphasis through content and layout first. Italic text is useful, but easy to overuse in user interface where clarity matters more than stylistic flourish.