Skip to main content

User login

What is OpenID?
  • Log in using OpenID
  • Cancel OpenID login
  • Create new account
  • Request new password
Register
  • Home
  • Browse
    • 2D Art
    • 3D Art
    • Concept Art
    • Textures
    • Music
    • Sound Effects
    • Documents
    • Featured Tutorials
  • Submit Art
  • Collect
    • My Collections
    • Art Collections
  • Forums
  • FAQ
  • Leaderboards
    • All Time
      • Total Points
      • Comments
      • Favorites (All)
      • Favorites (2D)
      • Favorites (3D)
      • Favorites (Concept Art)
      • Favorites (Music)
      • Favorites (Sound)
      • Favorites (Textures)
    • Weekly
      • Total Points
      • Comments
      • Favorites (All)
      • Favorites (2D)
      • Favorites (3D)
      • Favorites (Concept Art)
      • Favorites (Music)
      • Favorites (Sound)
      • Favorites (Textures)

LanaPixel - Localization-friendly pixel font

Author: 
eishiya
Wednesday, June 10, 2020 - 09:33
Support eishiya on Patreon
Art Type: 
Document
Tags: 
bitmap font
font
pixel font
localization
License(s): 
CC-BY 4.0
Collections: 
  • Nice GUI elements
  • Pool: Fonts (GDN)
  • ui
  • We Jammin'
Favorites: 
18
Share Icons: 
Preview: 
Preview

A bitmap font for localizing pixel art games.

LanaPixel contains approximately 19400 characters, with support for most modern European languages (Latin, Greek, Cyrillic), Turkish (Latin), and Korean (Hangul), good support for Japanese and Simplified Chinese, and decent support for Traditional Chinese. The Latin, Greek, and Cyrillic characters have kerning.

This font is designed to be displayed at 11px. As this is a pixel font, it is recommended to only scale by integer amounts (1x or 11px, 2x or 22px, 3x or 33px...) to avoid distortion.

Thank you to chimeforest (https://github.com/chimeforest) for providing the outlines! The outlines were created from the PNG generated by @LorenLemcke (see below).

There are three TTF versions of the font available, each in its own zip:
- LanaPixel_Everything.zip - Outlines+bitmap containing all available glyphs. The TTF is 3050 KiB.
- LanaPixel_BitmapOnly.zip - Bitmap-only TTF containing all available glyphs. The TTF is 561 KiB. This is by far the smallest version of the font available, but many game engines try to use the nonexistent outlines instead of the bitmaps and thus do not display the font correctly. Godot and SFML do display the bitmaps, at least. If you care about keeping your files small, start with this one and then try another version if you can't get this one to display correctly.
- LanaPixel_NoKorean.zip - Outlines+bitmap containing everything except the Hangul glyphs, reducing the font from 19k glyphs to 8k, with a proportionate file size reduction. The TTF is 1351 KiB. If you have no plans to support Korean but want outlines, consider using this version.

In addition to the TTF, the three zips contain these files, all identical between the zips:
- LanaPixel.md - More info about the font.
- controllerbuttons.html - A cheatsheet for the controller button characters and arrows included in the font, for easy copy+pasting.
- LanaPixel_OpenFontLicense.txt - A copy of the Open Font License and the copyright notice, in case you'd prefer to use that one instead of CC-BY 4.0. I recommend using the OFL, as the requirements for it are simpler.
- LanaPixel_CC-BYLicense.txt - A copy of the CC-BY 4.0 License and the copyright notice.

For those not able to use fonts in their project, there is also LanaPixel_png.zip, containing:
- lanapixel.png - A 2k x 1k spritesheet containing every character in the font (except maybe the non-breaking space).
- LanaPixel.xml - an 2 MiB XML file containing information about every character in the texture, everything you need to render the characters with the correct positioning and spacing. Most of the properties are self-explanatory; "advance" is how far to move the renderer along after rendering the character so that the next character is spaced correctly. So, if you're drawing "HI" and render "H" at 40,50 and its advance is 6, that means you'd render "I" at 46,50.
These two files were generated by @LorenLemcke on Twitter using FontBuilder . You're welcome to generate your own version that includes a subset of the characters or otherwise suits your needs, using this or any other tool.

If you license the font under the OFL and use the PNG version (or distribute a spritesheet version of your own making), you do not have to include a copy of the license with your project or provide any other form of credit, as that requirement only applies to redistributing an actual font file, which an image is not :]

Copyright/Attribution Notice: 
LanaPixel font © 2020 eishiya
File(s): 
lanapixel_everything.zip lanapixel_everything.zip 837.9 Kb [143 download(s)]
lanapixel_nokorean.zip lanapixel_nokorean.zip 466.9 Kb [28 download(s)]
lanapixel_bitmaponly.zip lanapixel_bitmaponly.zip 226.7 Kb [33 download(s)]
lanapixel_png.zip lanapixel_png.zip 368 Kb [38 download(s)]
  • Log in or register to post comments

Comments

MedicineStorm
joined 8 years 5 months ago
06/10/2020 - 09:43
MedicineStorm's picture

Nice! Would you be willing to include a copy of CC-BY in the zip file as well? or indicate in the LanaPixel_License.txt that users may choose either license? Otherwise it looks like the LanaPixel license is contradicting the CC-BY license.

EDIT: hmm... The 5th term of the SOFL may actually contradict the CC-BY license. If SOFL forbids this font being distributed under any other license, then it can't be distributed under CC-BY as well. Any thoughts?

EDIT2: Fixed, thanks! :)

  • Log in or register to post comments
eishiya
joined 4 years 2 months ago
06/10/2020 - 10:35
eishiya's picture

Licensing is such a PITA =_= I wish OGA offered an OFL option.

I interpreted section 5 as applying to the licensor, i.e. if you license it under OFL, you must only distribute it under OFL, and if you license it under CC-BY, the OFL doesn't apply.

FWIW though, all I want is for people to not sell the font itself, not claim it as their own work, and to hopefully make it possible for their players to find this page if they're so inclined. If someone goes against the text of either license but maintains the spirit of what I want out of these licences, I won't hassle them.

I left the CC-BY license out of the file because I wanted it to be a file the user can just drop in their project and not worry about it. I should add a separate file for CC-BY though, so people can include either one easily.

  • Log in or register to post comments
MedicineStorm
joined 8 years 5 months ago
06/10/2020 - 10:58
MedicineStorm's picture

I agree. I freaking hate how complicated licensing makes things.

Ok, I can get behind that interpretation of term 5. And I can respect the spirit of your desires for this asset.

My job is to make sure developers can use assets without worrying about violating licensing terms. If the terms are not clear, I haven't done my job. We can look into adding OFL to our list of licenses. In the meantime, the assets must be compatible with the licenses we accept. It looks like that's the case, but when the page says CC-BY, but the file says OFL, it tends to make developers worried. As long as it's clear people can use either license when they look at the file(s), then it should be fine. EDIT: you have made this adjustment already. :)

Since you want them to be able to quickly drop the package into their project without having to shuffle files around, what about having two zip files available here? one with the OFL, one with CC-BY? EDIT: Having both the CC-BY.txt and OFL.txt like you have now is fine, just wondering if you prefer two zip files with separate licenses?

Sorry for the huge wall of text, but you should know, one of the main reasons we don't already have OFL in our list of accepted licenses is because of the "no resale" stipulation. That doesn't mean we want others to profit off of your generosity. We don't accept licenses that forbid resale because it creates legal conflicts. For commercial projects especially, but free and open source projects as well. Developers will avoid anything with a "no resale" clause even when they have no intention of reselling that asset. This is because "resale" can attach to the game itself, even if the asset used by the game is free. Or if the game is free - and it is hosted on steam, itch, or any other game hosting platform with ads - that game generates revenue for the site via increased traffic and ad revenue. This could legally make the developer liable for "sales" based on assets that forbid sales. I know that is not what you're concerned about and not something you would ever go after someone for. I just want you to be aware that
1) We insist on assets here using one of the Free-Software-Foundation-approved licenses, and
2) All of those licenses allow people to try* resale of assets.

*That being said, it's generally pretty difficult for someone to successfully re-sell your free assets under CC-BY. They're required to credit you and link back to this page, so any "customer" of theirs would see that attribution, visit this page, and see it is available for free. Why would they bother paying someone when it's obviously free here? The license still allows them to try, though. :P

  • Log in or register to post comments
eishiya
joined 4 years 2 months ago
06/10/2020 - 11:15
eishiya's picture

Thanks for the detailed explanation and for being so vigilant about this stuff!

Since the ZIP contains additional informational files and isn't meant to be dropped in wholesale, I think including two licences in the one ZIP would be more convenient. I've updated the ZIP file to include both license files and updated the readme to reflect those files. Hopefully that'll be less confusing :D

The OFL forbids resale of the font *on its own* (section 1), but it explicitly allows the resale of the font bundled with software (section 2), even if that software is minimal. Any game using an OFL-licensed font is perfectly in the clear.

  • Log in or register to post comments
MedicineStorm
joined 8 years 5 months ago
06/10/2020 - 11:18
MedicineStorm's picture

Good to know. Thanks again! :)

  • Log in or register to post comments
drummyfish
joined 2 years 10 months ago
06/15/2020 - 05:07
drummyfish's picture

Personally I hate OFL, I see it as almost non-free because of the "don't sell this" condition, it's really a borderline proprietary license. A font being under OFL is an instant no go for me.

Especially with tiny pixel art and pixel fonts I think you could hardly ever claim copyright for this font, there have been thousands of pixel art fonts of this small resolution by now, so yours would likely be considered a derivative work of some of them, and in some countries these font are not even copyrightable, so licensing very likely makes no sense. I'd personally use CC0.

IANAL but people claiming your work as their own has nothing to do with licensing, they simply can't do that. Even if it's public domain, you could sue them for falsely claiming authorship -- I don't think publicly lying like this for the purpose of e.g. business is legal.

I personally only use CC0 fonts, such as Aileron, because I can simply use them, and I share everything back under CC0 too. I also proudly credit the author (dot colon for Aileron) exactly because he's not forcing me to credit him. I think that itself deserves a credit.

So CC0 is just a little idea from me for how you could avoid the PITA.

Love and Peace :)

  • Log in or register to post comments
eishiya
joined 4 years 2 months ago
06/15/2020 - 06:45
eishiya's picture

I considered CC0, since I also prefer not to worry about licenses, both as a creator and a user. For now, I'm not comfortable with that for various (probably silly) reasons. You can sell any game that uses or includes an OFL font, but you can't resell the font on its own, and that matches well with my goals.

I might eventually replace the CC-BY and OFL options with CC0 when I have more assets out there in the world, but I am not yet ready to do that.

  • Log in or register to post comments
Heroic
joined 9 months 1 week ago
06/15/2020 - 07:43

I have been using this for my prototypes and projects and I love it. Thank you for creating something so great.

  • Log in or register to post comments