Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 06:56 02 Aug 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : Font Tweak problem

Author Message
Rado
Regular Member

Joined: 27/11/2020
Location: Croatia
Posts: 59
Posted: 05:31pm 09 Jan 2021
Copy link to clipboard 
Print this post

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: Australia
Posts: 6283
Posted: 08:34pm 09 Jan 2021
Copy link to clipboard 
Print this post

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: Croatia
Posts: 59
Posted: 11:48pm 09 Jan 2021
Copy link to clipboard 
Print this post

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: Canada
Posts: 504
Posted: 12:52am 10 Jan 2021
Copy link to clipboard 
Print this post

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: Australia
Posts: 6283
Posted: 01:26am 10 Jan 2021
Copy link to clipboard 
Print this post

  LeoNicolas said  Hey Jim

Is it possible to change the font shape in runtime? Maybe something using POKE?


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: Canada
Posts: 504
Posted: 04:21am 10 Jan 2021
Copy link to clipboard 
Print this post

Thank you Jim

Let wait for Peter thoughts.

Leo
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025