![]() |
Forum Index : Microcontroller and PC projects : Font Tweak problem
Author | Message | ||||
Rado Regular Member ![]() Joined: 27/11/2020 Location: CroatiaPosts: 59 |
I'm about to reproduce old YUSCII character set for CMM2, but it seems that I can not substitute " ' " (0x60) for "tiny z with a bump on top (as the forum doesn't support unicode?)" (right before the lower char sequence) - all other chars are there. Tried multiple times. YUSCII is a 7-bit ASCII "tweak" used in ex-Yugoslavian republics to enable use of national characters. It replaced some that weren't that much in use, creating eye strain and headaches for programmers (as it replaced []{} characters. :-) ) Is there any particular issue with that specific char? I've attached the almost done font for anyone who wants to take a look. yuscii.zip ![]() |
||||
TassyJim![]() Guru ![]() Joined: 07/08/2011 Location: AustraliaPosts: 6283 |
The attached ZIP has 2 fonts. yuscii.fnt which is the same as the one you started with the z character added. I hope I did the correct changes. The second yuscii_s.fnt is the same with the first 32 characters removed. The CMM2 does not allow characters below chr$(32). ![]() The backtick character is usually replaced with the degree symbol for most CMM2 fonts and that might be what was causing you problems. fonts.zip Jim VK7JH MMedit |
||||
Rado Regular Member ![]() Joined: 27/11/2020 Location: CroatiaPosts: 59 |
Thanks a lot, I had to change it a little bit, but this really helped me - the save option now works, and my YUSCII font is now complete. :-) (I'm still guessing why it didn't work for the first time - ' char was not escaped or something like that?) |
||||
LeoNicolas![]() Guru ![]() Joined: 07/10/2020 Location: CanadaPosts: 504 |
Hey Jim Is it possible to change the font shape in runtime? Maybe something using POKE? I used a lot this technique in my old MSX to draw backgrounds with characters. |
||||
TassyJim![]() Guru ![]() Joined: 07/08/2011 Location: AustraliaPosts: 6283 |
That's one for Peter. As far as I know, fonts that are embedded in the BAS code are loaded into arrays when the program is passed and ones that are loaded dynamically are put into arrays as they are read. After that, I don't know how easy it would be to directly modify them. If there aren't too many characters, sprites would be a better way of changing them dynamically. Jim VK7JH MMedit |
||||
LeoNicolas![]() Guru ![]() Joined: 07/10/2020 Location: CanadaPosts: 504 |
Thank you Jim Let wait for Peter thoughts. Leo |
||||
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |