root 0f1c1c3a95 new_mods_and_update 4 年之前
..
doc 0f1c1c3a95 new_mods_and_update 4 年之前
textures 0f1c1c3a95 new_mods_and_update 4 年之前
tools 0f1c1c3a95 new_mods_and_update 4 年之前
API.md 0f1c1c3a95 new_mods_and_update 4 年之前
LICENSE.txt 0f1c1c3a95 new_mods_and_update 4 年之前
README.md 0f1c1c3a95 new_mods_and_update 4 年之前
copyright.txt 0f1c1c3a95 new_mods_and_update 4 年之前
depends.txt 0f1c1c3a95 new_mods_and_update 4 年之前
deprecation.lua 0f1c1c3a95 new_mods_and_update 4 年之前
display_api.lua 0f1c1c3a95 new_mods_and_update 4 年之前
fallbacks.lua 0f1c1c3a95 new_mods_and_update 4 年之前
font.lua 0f1c1c3a95 new_mods_and_update 4 年之前
fontform.lua 0f1c1c3a95 new_mods_and_update 4 年之前
init.lua 0f1c1c3a95 new_mods_and_update 4 年之前
mod.conf 0f1c1c3a95 new_mods_and_update 4 年之前
registry.lua 0f1c1c3a95 new_mods_and_update 4 年之前
settingtypes.txt 0f1c1c3a95 new_mods_and_update 4 年之前

README.md

Font API

A library for rendernig text on textures (to be used with display_api for sign creation).

Dependancies: default

License: LGPL

(Default font taken from VanessaE's homedecor/signs_lib, originally under WTFPL)

API: See API.md document please.

For more information, see the forum topic at the Minetest forums.

Extra fonts

You can add fonts by installing fonts mod. Be aware that each font comes with numerous textures. This can result in slowing media downloading and/or client display.

Font mods can be found here:

  • Metro: A multipurpose font with many chars (uppercase, lowercase and accentuated latin letters, usual signs, cyrillic and greek letters).
  • OldWizard: An old style gothic font.
  • Botic: A scifi style font.

## Deprecation notice (for modders)

### December 2018 Following object is deprecate, shows a warning in log when used:

  • font_lib global table (use font_api global table instead);

This object will be removed in the future.