display_modpack/font_api
2019-08-20 13:06:18 +02:00
..
doc Revert svg 2019-08-20 13:06:18 +02:00
textures Lossless compression 2019-08-20 10:43:54 +02:00
tools Creation of Font class and code update accordingly 2018-07-08 20:36:34 +02:00
API.md Update API documentation 2018-12-11 14:58:11 +01:00
copyright.txt Seperate signs API from signs definitions 2018-02-07 06:04:12 +01:00
depends.txt Better management of display_api integration 2018-12-11 11:41:03 +01:00
deprecation.lua Replaced prints by minetest.log and code styling 2019-03-14 09:46:04 +01:00
display_api.lua Updated font_api mod desctiption in headers 2018-12-11 11:57:54 +01:00
fallbacks.lua Updated font_api mod desctiption in headers 2018-12-11 11:57:54 +01:00
font.lua Updated font_api mod desctiption in headers 2018-12-11 12:01:16 +01:00
fontform.lua Updated font_api mod desctiption in headers 2018-12-11 11:57:54 +01:00
init.lua Updated font_api mod desctiption in headers 2018-12-11 11:57:54 +01:00
LICENSE.txt Seperate signs API from signs definitions 2018-02-07 06:04:12 +01:00
mod.conf Added mod.conf 2019-03-09 19:08:46 +01:00
README.md Small update of README 2019-03-09 19:09:27 +01:00
registry.lua Updated font_api mod desctiption in headers 2018-12-11 11:57:54 +01:00
settingtypes.txt Seperate signs API from signs definitions 2018-02-07 06:04:12 +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.