Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 08:06 22 Apr 2026 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 : FontTweak

Author Message
PhenixRising
Guru

Joined: 07/11/2023
Location: United Kingdom
Posts: 1849
Posted: 01:05pm 09 Mar 2026
Copy link to clipboard 
Print this post

Just a quick Thank You   Jim.

This is soooo awesome  

I see what you mean about tidying up but you made it easy (a happy problem)
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6508
Posted: 08:12pm 09 Mar 2026
Copy link to clipboard 
Print this post

Glad you found it useful
VK7JH
MMedit
 
Chopperp

Guru

Joined: 03/01/2018
Location: Australia
Posts: 1124
Posted: 01:15am 11 Mar 2026
Copy link to clipboard 
Print this post

Yes a great program.

When I last used FontTweak a number of years ago, I wanted some largeish numbers (0-9) for the smaller display on the F4.
I had little success trying to get them to look good so I found the font I wanted from a drawing prog & printed the individual numbers out on A4 overhead transparency film. I then stuck them individually on the PC screen over the top of FontTweak & filled in the appropriate blanks.
Worked well. (I used "6" for both 6 & 9)

Brian
ChopperP
 
PhenixRising
Guru

Joined: 07/11/2023
Location: United Kingdom
Posts: 1849
Posted: 10:20am 11 Mar 2026
Copy link to clipboard 
Print this post

  Chopperp said  Yes a great program.

When I last used FontTweak a number of years ago, I wanted some largeish numbers (0-9) for the smaller display on the F4.
I had little success trying to get them to look good so I found the font I wanted from a drawing prog & printed the individual numbers out on A4 overhead transparency film. I then stuck them individually on the PC screen over the top of FontTweak & filled in the appropriate blanks.
Worked well. (I used "6" for both 6 & 9)

Brian


So it's not just me who comes-up with wacky solutions  

However, I think that I would use layers in Paint.Net or GIMP  

Edit: might not work....I'll try it.
Edited 2026-03-11 20:22 by PhenixRising
 
phil99

Guru

Joined: 11/02/2018
Location: Australia
Posts: 3156
Posted: 11:40am 11 Mar 2026
Copy link to clipboard 
Print this post

If the font you want is available in graphics type program scale the characters to the required size and save as BMP images.
If the font is in a program that doesn't save an image use Print Screen then edit in a graphics program.
Load the image into almost any version of MMBasic with a program to read the pixels and save to a DefineFont file, 4 pixels per Hex character.
 
PhenixRising
Guru

Joined: 07/11/2023
Location: United Kingdom
Posts: 1849
Posted: 01:26pm 11 Mar 2026
Copy link to clipboard 
Print this post

  phil99 said  
Load the image into almost any version of MMBasic with a program to read the pixels and save to a DefineFont file, 4 pixels per Hex character.


Hi Phil,

Do you mean; write a program or one that exists?
 
phil99

Guru

Joined: 11/02/2018
Location: Australia
Posts: 3156
Posted: 08:38pm 11 Mar 2026
Copy link to clipboard 
Print this post

You will need to write it.
The first 8-digit hex word is the characteristics of the font. The 4 bytes are:-
 Number of characters (95 for a full set, 10 for just numbers)
 Starting ASCII character number (32 for a full set, 48 for just numbers)
 Height (pixels, including space between lines)
 Width (pixels, including space between characters)

The core FOR loop (there would be several nested for reading the lines of each character and for formatting the output file) could read the pixels and shift them into an integer (0 = 0, 1 = NOT 0). That would then be appended to a string as HEX$() characters. When the string reaches a suitable length it would be appended to the new file. Clear the string and repeat until done.

Edit.
See Embedded Fonts folder in firmware download. There is a program that converts UTFT fonts.
  Quote  All the fonts are the same as the fonts listed at http://www.rinkydinkelectronics.com/r_fonts.php
and it is worth visiting that web page to see examples of the character sets, etc.
Also included in the standard distribution of MMBasic is the program UTFTConv which can be
used to convert UTFT fonts on this web page to the format required by MMBasic. The program is
provided in two forms, a Windows EXE file (provided by Robert Severson) and an MMBasic
(.BAS) program which will run on the Maximite, Micromite Plus or the DOS version of MMBasic.

Edited 2026-03-12 17:00 by phil99
 
PhenixRising
Guru

Joined: 07/11/2023
Location: United Kingdom
Posts: 1849
Posted: 09:35am 12 Mar 2026
Copy link to clipboard 
Print this post

   

This is fun stuff  
 
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 2026