From 67eac983b554c4af50e6f0298aa5215d55d18248 Mon Sep 17 00:00:00 2001 From: apio Date: Mon, 11 Sep 2023 19:14:17 +0200 Subject: [PATCH] libui: Clarify that Font is only used for low-level glyph rendering --- libui/include/ui/Font.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libui/include/ui/Font.h b/libui/include/ui/Font.h index c8929190..0d692972 100644 --- a/libui/include/ui/Font.h +++ b/libui/include/ui/Font.h @@ -18,7 +18,10 @@ namespace ui { /** - * @brief A class holding PSF font data, used for direct rendering of glyphs into a canvas. + * @brief A class holding PSF font data, used for low-level direct rendering of glyphs into a canvas. + * + * This class does not handle special characters such as tabs or newlines. For those, you should be using a more + * high-level component such as ui::Label instead. */ class Font : public Shareable {