mirror of
https://github.com/griffi-gh/hUI.git
synced 2024-11-25 08:28:42 -06:00
format the thingy
This commit is contained in:
parent
0eec840a08
commit
4e17d368db
|
@ -30,14 +30,20 @@ tinyset = "0.4"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["el_all", "builtin_font", "pixel_perfect_text"]
|
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 = []
|
builtin_font = []
|
||||||
|
|
||||||
|
#! #### Pixel-perfect rendering:
|
||||||
|
|
||||||
## Round all vertex positions to nearest integer coordinates (not recommended)
|
## Round all vertex positions to nearest integer coordinates (not recommended)
|
||||||
pixel_perfect = ["pixel_perfect_text"]
|
pixel_perfect = ["pixel_perfect_text"]
|
||||||
## Apply pixel-perfect rendering hack to text (fixes blurry text rendering)
|
## Apply pixel-perfect rendering hack to text (fixes blurry text rendering)
|
||||||
pixel_perfect_text = []
|
pixel_perfect_text = []
|
||||||
#! Make sure to disable the `pixel_perfect` features if you are rendering UI in 3D space\
|
#! Make sure to disable both features if you are not rendering UI "as-is" at 1:1 scale\
|
||||||
#! or using DPI (or any other form of) scaling while passing the virtual resolution to the ui
|
#! 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:
|
#! #### Built-in elements:
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue