Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom Font #138

Open
ahmet1974 opened this issue Jul 19, 2020 · 0 comments
Open

Custom Font #138

ahmet1974 opened this issue Jul 19, 2020 · 0 comments

Comments

@ahmet1974
Copy link

ahmet1974 commented Jul 19, 2020

Inside of the ucg_pixel_font_data file, i added unifont mf for trying but my codes are 4224 bytes long, original ones is 4216 byte. Even dough using same parameters in fonts_v2.sh , bdfconv.exe or bdfconv_2_22.exe creates C file and it doesn't work. Bdf2ucg also doesn't work because it doesn't have Glyph_count at the starting of the code. I used 1.5.2 ucglib and also simulated ST7735R in Proteus.

I want to add turkish language support. I tried many fonts (bdf, otf ) , didn't success yet. C codes are different from yours.
For example I want to write ucg.print("TÜRK"); but it doesn't work. So, i am doing like this ucg.print("T/xDCRK"); but this is so ugly when looking at. xDC is 220 and it is Ü character on table. If i use serial.print(int("Ü")); , it gives me 308 for example. But my Ü character is on 220 , how can i relocation these codes ?

Edit : I got same results with bdfconv.exe which downloaded from wiki page. On github doesn't work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant