Added part of docs
Some checks failed
docs / deploy (push) Has been cancelled
docs / build (push) Has been cancelled

This commit is contained in:
Patryk Gensch
2026-05-19 20:51:59 +02:00
parent e91fd2e42a
commit df6cf2f3d3
66 changed files with 11821 additions and 0 deletions

25
docs/en/reference/FONT.md Normal file
View File

@@ -0,0 +1,25 @@
# FONT
A bitmap font definition. The object exposes no script-callable methods or signals — it is used by the [`TEXT`](TEXT.md) type as a source of character textures.
## Fields
### DEF
```
STRING DEF_<name>_<style>_<size>
```
A field that declares a `.FNT` font file. The field's name encodes the font variant's metadata: its name, style, and size.
Script syntax:
```
FONT:DEF_<name>_<style>_<size>=<file>.FNT
```
**Example**
```
FONT:DEF_ARIAL_STANDARD_14=ARIAL14.FNT
```