display_modpack/font_api
Pierre-Yves Rollo ebadeb20d9 Add 'font_api/' from commit '4c872e829d716014e601bdf0707edd11a9abbc17'
git-subtree-dir: font_api
git-subtree-mainline: f27b5478b9b67d0867098ef9f30801a7fc0c04ee
git-subtree-split: 4c872e829d716014e601bdf0707edd11a9abbc17
2019-12-31 17:07:14 +01:00
..
doc Add 'font_api/' from commit '4c872e829d716014e601bdf0707edd11a9abbc17' 2019-12-31 17:07:14 +01:00
textures Add 'font_api/' from commit '4c872e829d716014e601bdf0707edd11a9abbc17' 2019-12-31 17:07:14 +01:00
tools Add 'font_api/' from commit '4c872e829d716014e601bdf0707edd11a9abbc17' 2019-12-31 17:07:14 +01:00
API.md Add 'font_api/' from commit '4c872e829d716014e601bdf0707edd11a9abbc17' 2019-12-31 17:07:14 +01:00
copyright.txt Add 'font_api/' from commit '4c872e829d716014e601bdf0707edd11a9abbc17' 2019-12-31 17:07:14 +01:00
depends.txt Add 'font_api/' from commit '4c872e829d716014e601bdf0707edd11a9abbc17' 2019-12-31 17:07:14 +01:00
deprecation.lua Add 'font_api/' from commit '4c872e829d716014e601bdf0707edd11a9abbc17' 2019-12-31 17:07:14 +01:00
display_api.lua Add 'font_api/' from commit '4c872e829d716014e601bdf0707edd11a9abbc17' 2019-12-31 17:07:14 +01:00
fallbacks.lua Add 'font_api/' from commit '4c872e829d716014e601bdf0707edd11a9abbc17' 2019-12-31 17:07:14 +01:00
font.lua Add 'font_api/' from commit '4c872e829d716014e601bdf0707edd11a9abbc17' 2019-12-31 17:07:14 +01:00
fontform.lua Add 'font_api/' from commit '4c872e829d716014e601bdf0707edd11a9abbc17' 2019-12-31 17:07:14 +01:00
init.lua Add 'font_api/' from commit '4c872e829d716014e601bdf0707edd11a9abbc17' 2019-12-31 17:07:14 +01:00
LICENSE.txt Add 'font_api/' from commit '4c872e829d716014e601bdf0707edd11a9abbc17' 2019-12-31 17:07:14 +01:00
mod.conf Add 'font_api/' from commit '4c872e829d716014e601bdf0707edd11a9abbc17' 2019-12-31 17:07:14 +01:00
README.md Add 'font_api/' from commit '4c872e829d716014e601bdf0707edd11a9abbc17' 2019-12-31 17:07:14 +01:00
registry.lua Add 'font_api/' from commit '4c872e829d716014e601bdf0707edd11a9abbc17' 2019-12-31 17:07:14 +01:00
settingtypes.txt Add 'font_api/' from commit '4c872e829d716014e601bdf0707edd11a9abbc17' 2019-12-31 17:07:14 +01:00

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.