ayoy / fontedit

A desktop app to import, edit and export fonts as byte arrays for use in embedded systems
https://kapusta.cc/fontedit
GNU General Public License v3.0
327 stars 24 forks source link

ASCII characters beyond 127 #3

Open BitSalat opened 4 years ago

BitSalat commented 4 years ago

Really great utility but would be even more powerful if one could also convert Fonts beyond ASCII 127 to address Special characters like "€" or "°"

ayoy commented 4 years ago

Hi, the 32-126 ASCII range is included by default as you import the font, but then you're free to add your own characters from outside the ASCII range. Read more on how to access them in code in this blog post.

Screenshot 2020-05-14 at 12 13 00
BitSalat commented 4 years ago

Hi, thanx for your response. I am aware of the possibility to add custom glyphs however the problem I have is that I need to add special characters in the range of ASCII 180 etc and they have to be stored at the right position inside the C-Array so that they can be addressed by ASCII number. So with fontedit I had to add "blind" characters starting from 128 .. 180 just to bring my special characters at the right position. It would be much easier to convert thecomplete ASCII range up to 256 including characters like ö, ä, ü etc.

ayoy commented 4 years ago

Okay, that's a fair point. I will plan it for one of the upcoming releases. Will keep you posted in this thread.

v79 commented 4 years ago

This would also be useful for me, I tried adding the "£" character but I cannot access it via the suggested "\x7f" encoding because I'm using Java/Kotlin, and that's an invalid encoding.