Optional Fonts
- .world_entrypoint.luau6.4 KB
- .world_settings2.5 KB
- README.md2.6 KB
- fonts
- libs
- menuTabs
- scenes
README.md
Optional Fonts
Font faces a world installs when its text names them. Each fonts/<Name>.font
is a .font asset: its baked data.zfnt, the face.json that names the
family group, role and the web-font names that select it, and the
LICENSE.txt the face is distributed under.
| Asset | Family group | Role | Also selected by |
|---|---|---|---|
Tinos | Tinos | regular | serif, Times New Roman, Times, Liberation Serif |
TinosBold | Tinos | bold | |
TinosItalic | Tinos | italic | |
TinosBoldItalic | Tinos | bolditalic | |
ArimoBold | Arimo | bold | |
ArimoItalic | Arimo | italic | |
ArimoBoldItalic | Arimo | bolditalic | |
ComicNeue | ComicNeue | regular | cursive, Comic Sans MS, Comic Neue |
ComicNeueBold | ComicNeue | bold | |
ComicNeueItalic | ComicNeue | italic | |
ArchivoBlack | ArchivoBlack | regular | fantasy, Arial Black, Archivo Black |
Anton | Anton | regular | Impact |
EBGaramond | EBGaramond | regular | Garamond, EB Garamond |
EBGaramondItalic | EBGaramond | italic | |
Gelasio | Gelasio | regular | Georgia |
GelasioItalic | Gelasio | italic | |
PTSerif | PTSerif | regular | Palatino, Palatino Linotype, Book Antiqua, PT Serif |
PTSerifBold | PTSerif | bold | |
PTSerifItalic | PTSerif | italic | |
PTSerifBoldItalic | PTSerif | bolditalic | |
DejaVuSansBold | DejaVuSans | bold | |
DejaVuSansOblique | DejaVuSans | italic | |
DejaVuSansBoldOblique | DejaVuSans | bolditalic |
The built-in library holds the regular faces of the Arimo (sans-serif)
and DejaVuSans groups, and the four faces of Cousine (monospace). The
Arimo and DejaVuSans faces here are the styled members of those groups:
with them installed, bold and italic text in sans-serif, Arial,
Helvetica, DejaVu Sans, Verdana, Tahoma or Geneva draws in a real
bold or italic face. Tinos gives serif and Times New Roman a face,
ComicNeue gives cursive one and ArchivoBlack gives fantasy one.
Once installed, fontFamily = "Georgia" on a label, font-family="Garamond"
in an SVG, or text.* naming any of these names draws in the face. ui.listFonts()
lists the families and font.onDemand() shows each face as declared until
text first needs it.
Tinos and Arimo (Liberation Serif and Liberation Sans), Comic Neue, Archivo
Black, Anton, EB Garamond, Gelasio and PT Serif are licensed under the SIL
Open Font License 1.1; the DejaVu faces under the Bitstream Vera / DejaVu
license. Each face's LICENSE.txt holds the full text.