-
-
Notifications
You must be signed in to change notification settings - Fork 33
fonts
nixie123 edited this page Apr 10, 2024
·
17 revisions
ability to use multiple custom fonts.
see the layouts documentation for instructions on how to use it.
- put files with extensions like ttf and otf in the fonts folder.
- create a yml file in the texts folder with a name of your choice.
- enter the following
example_font:
file: example.ttf
scale: 16
Note: this mimics the Minecraft default font and does not use the default font, so you cannot use image fonts such as glyphs.
default_font:
scale: 16
merge-default-bitmap: true
example_font:
file: example.ttf
scale: 16
images:
star:
name: "text/star.png"
x: 0
y: 0
scale: 2.0
can add an image with this feel and then use it in the same way as <image:star>
in a text layout pattern.
-
font.yml
merge-default-bitmap: false
-
place the font file in the betterhud plugin folder and modify the font name in config.yml.