Improve text.fallback doc

This commit is contained in:
Malo 2025-03-12 13:14:56 +01:00
parent 0214320087
commit 9b9f383eab

View File

@ -173,10 +173,10 @@ pub struct TextElem {
/// for the most similar one that has the necessary glyphs.
///
/// _Note:_ Currently, there are no warnings when fallback is disabled and
/// no glyphs are found. Instead, your text shows up in the form of "tofus":
/// Small boxes that indicate the lack of an appropriate glyph. In the
/// future, you will be able to instruct Typst to issue warnings so you know
/// something is up.
/// no glyphs are found. Instead, your text may shows up in the form of
/// "tofus" (small boxes that indicate the lack of an appropriate glyph), or
/// even just not show anything. In the future, you will be able to instruct
/// Typst to issue warnings so you know something is up.
///
/// ```example
/// #set text(font: "Inria Serif")