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