olikraus / U8g2_for_Adafruit_GFX

Add U8g2 fonts to any Adafruit GFX based graphics library.
Other
112 stars 32 forks source link

Can we have more hebrew fonts? #39

Open Crapy opened 1 year ago

Crapy commented 1 year ago

Preferly ones with bigger sizes

olikraus commented 1 year ago

I have not created the fonts. I just added what I found in internet. So actually I do depend on the users, telling me what fonts are required. However one problem is, that u8g2 is a monochrome library which usually requires hand crafted bitmap fonts. This means providing a true type font will not provide good results.

Anyhow, if you have a font in mind, then it could be added.

Crapy commented 1 year ago

Honestly any font that support hebrew with bigger sizes than what currently is , I plan on using this library because of problems I had with the normal adafruit gfx with checking the width of hebrew strings (So I can position them accordingly)

If you can add more fonts like cu12, x11, or unifont with bigger sizes (16, 18, 24) that will be very helpful. I have not yet tested it but the UTF8Width works well with unicode chars correct?

olikraus commented 1 year ago

If you can add more fonts like cu12, x11, or unifont with bigger sizes (16, 18, 24) that will be very helpful.

cu12 and unifont are hand crafted pixel fonts, they do not exist in any other size. x11 fonts exists in multiple sizes, but do not contain hebrew glyphs.

I can't provided and add to u8g2 what doesn't exist. If can provide a suitable bdf font with the desired size and glyphs, I will be happy to add those fonts.