diff --git a/unifont/README.md b/unifont/README.md new file mode 100644 index 0000000..c1818af --- /dev/null +++ b/unifont/README.md @@ -0,0 +1,24 @@ +# Unifont for Minetest: Full Unicode Plane 0 charset + +![Screenshot](screenshot.png) + +GNU Unifont for Font API mod (from [display_modpack](https://github.com/pyrollo/display_modpack)). + +- Full Unicode Basic Multilingual Plane (BMP) with 63485 characters +- Lightweight, only 1MB in size +- Duospaced (glyphs in either 8x16 or 16x16) + +Requires `font_api` mod. + +## Trivia + +- You can use Unicode fullwidth forms (U+FF01--FF5E) to display wider letters & numbers (as shown in the screenshot above) +- GNU Unifont is also the same font used in Minecraft for Unicode display. + +## Copyright + +Copyright 2021 SyiMyuZya + +License: [GPL 3.0 or later](https://www.gnu.org/licenses/gpl-3.0.html) + +GNU Unifont: ©️ GNU Unifont authors, licensed under GPL version 2.0 or later diff --git a/unifont/init.lua b/unifont/init.lua index f31456e..e6296d2 100644 --- a/unifont/init.lua +++ b/unifont/init.lua @@ -1,3 +1,21 @@ +--[[ + Unifont for Font API + Copyright 2021 SyiMyuZya + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . +--]] + local widths = {} for i = 0,0xd7ff do diff --git a/unifont/screenshot.png b/unifont/screenshot.png new file mode 100644 index 0000000..ee9cda7 Binary files /dev/null and b/unifont/screenshot.png differ