andryblack / fontbuilder

Bitmap font generator
MIT License
454 stars 99 forks source link

Plane 1 (Supplementary Multilingual Plane) support #5

Closed Norgg closed 10 years ago

Norgg commented 11 years ago

I've been trying to use fontbuilder to export this set of codepoints: http://codepoints.net/search?blk=Misc_Pictographs&page=1 from the Symbola font at http://users.teilar.gr/~g1951d/ but FontBuilder doesn't seem to support this and just produces missing glyph characters.

doug65536 commented 10 years ago

(Note, I am not the author, I am some random person on the internet :) I believe I have found the issue in the code. Throughout most of the code, ushort (a 16-bit value) is used to represent each code point, which restricts the software to the basic multilingual plane. I have extended the code to use 32-bit Ucs4 representations, which should allow the entire range of unicode characters. It seems to be working but I am still having trouble getting it to accept SMP characters from the imported character map. I will post another message here if I can get it passing your test case. 11 months ago is a long time, I am really doing this for my own purposes and will submit a pull request in any case.

doug65536 commented 10 years ago

@Norgg I have completed the improvements and submitted a pull request to merge them into this project. You can find my branch here.