🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

BM Font : Incomplete Unicode range

Started by
4 comments, last by metameta 4 years, 3 months ago

Hi,

I noticed the Bitmap font Generator application is pointing to an incomplete range of character sets for Ethiopic.

The unicode website shows Ethiopic Range: 1200–137F
https://www.unicode.org/charts/PDF/U1200.pdf

However, on the source code it's only pointing to 0x1200 , 0x12BF
http://svn.code.sf.net/p/bmfont/code/trunk/source/unicode.cpp

As a result it's missing almost half of the Ethiopic characters.

Thanks

Advertisement

Thanks, for letting me know.

It's been a while since I updated the code with the latest definitions from Unicode.org.

The last time I updated the ranges the standard was still on version 8.0, now it is at 13.0.

None of the characters are missing though. BMFont, still shows all the characters available in the true type font, it will just show the ranges without a name.

AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

I see, ok. I updated the range on the source code locally on my PC and this is the outcome (Number of chars goes from 174 to 345) :

Font Settings (Windows default Ethiopic font) :

Original code :

Code with Updated range :

You're right.

I see a bug in fontget.cpp where it skips the ranges that have not been named, so it will indeed not show all the characters for Ethiopan without the changes you did.

I'll need to fix this.

BTW. What font are you using? I'd like to use it myself to test the changes.

AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

I'm using a font called “Nyala” it comes preinsalled on most Windows OS (https://docs.microsoft.com/en-us/typography/font-list/nyala)

If it's not already in your system fonts you can download it from here https://fontzone.net/font-details/nyala

This topic is closed to new replies.

Advertisement