From 1de3da327b3c63462ab0b153c1aa06eab43df974 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Tue, 23 Apr 2024 16:44:49 -0700 Subject: [PATCH] Text: doc++ --- src/Magnum/Text/AbstractFont.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Magnum/Text/AbstractFont.h b/src/Magnum/Text/AbstractFont.h index 7d01b41ad..11cec7a0e 100644 --- a/src/Magnum/Text/AbstractFont.h +++ b/src/Magnum/Text/AbstractFont.h @@ -477,7 +477,8 @@ class MAGNUM_TEXT_EXPORT AbstractFont: public PluginManager::AbstractPlugin { * Size of the glyph image in pixels when rasterized. Some * implementations may return fractional values, in which case * @ref Math::ceil() should be used to get the actual integer pixel - * size. + * size. Expects that a font is opened and @p glyph is less than + * @ref glyphCount(). * @note This function is meant to be used only for font observations * and conversions. In performance-critical code the * @ref fillGlyphCache() and @ref layout() functions should be