From 4e17d368dbba510e5c640b61ff75422e736ac864 Mon Sep 17 00:00:00 2001 From: griffi-gh Date: Sun, 24 Mar 2024 20:58:14 +0100 Subject: [PATCH] format the thingy --- hui/Cargo.toml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/hui/Cargo.toml b/hui/Cargo.toml index b526d7d..258dbaf 100644 --- a/hui/Cargo.toml +++ b/hui/Cargo.toml @@ -30,14 +30,20 @@ tinyset = "0.4" [features] default = ["el_all", "builtin_font", "pixel_perfect_text"] -## Enable the built-in font (ProggyTiny, adds 35kb to the executable) + +#! #### Built-in font: + +## Enable the built-in font (ProggyTiny, adds *35kb* to the executable) builtin_font = [] + +#! #### Pixel-perfect rendering: + ## Round all vertex positions to nearest integer coordinates (not recommended) pixel_perfect = ["pixel_perfect_text"] ## Apply pixel-perfect rendering hack to text (fixes blurry text rendering) pixel_perfect_text = [] -#! Make sure to disable the `pixel_perfect` features if you are rendering UI in 3D space\ -#! or using DPI (or any other form of) scaling while passing the virtual resolution to the ui +#! Make sure to disable both features if you are not rendering UI "as-is" at 1:1 scale\ +#! For exmaple, you should disable them if using DPI (or any other form of) scaling while passing the virtual resolution to the ui or rendering it in 3d space #! #### Built-in elements: