Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 12:30 24 Aug 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 : Fonts for Mites

     Page 4 of 4    
Author Message
thwill

Guru

Joined: 16/09/2019
Location: United Kingdom
Posts: 4394
Posted: 03:37pm 07 Aug 2026
Copy link to clipboard 
Print this post

Hi Martin,

You've probably got better things to do, but if you find yourself at a loose end I wonder if an MMBasic version of the Microserif font https://fontenddev.com/fonts/microserif would be possible ?

Best wishes,

Tom
MMBasic for Linux, Game*Mite, CMM2 Welcome Tape, Creaky old text adventures
 
Martin H.

Guru

Joined: 04/06/2022
Location: Germany
Posts: 1519
Posted: 04:30am 08 Aug 2026
Copy link to clipboard 
Print this post

Hi Tom
This Microserif font looks cute    
That should be a 6x8-pixel font; I can try to convert it this weekend.
What I can’t do is adjust the kerning*, as the Pico always uses fixed spacing between the letters.
Cheers
Martin  

*Kerning: Adjusting the spacing between exactly two specific characters (e.g. combinations such as ‘A’ and ‘V’ or ‘T’ and ‘o’), where the shape of the letters creates large visual gaps
EDIT
I had to redraw the font because I don’t seem to have a Windows drawing programme that draws the characters without trying to smooth them out.
I’ve created the font, but it’s 8x8, so the spacing is actually too wide. I haven’t yet worked out how to shift the bits for 6-pixel-wide fonts.



microserif.zip
Edited 2026-08-09 01:38 by Martin H.
'no comment
 
thwill

Guru

Joined: 16/09/2019
Location: United Kingdom
Posts: 4394
Posted: 07:52pm 09 Aug 2026
Copy link to clipboard 
Print this post

Thanks Martin,

I did the prep work to allow me to manipulate the fonts in my adventure game earlier today so I just need to see if Claude can be persuaded to sort out the width issue.

Best wishes,

Tom
MMBasic for Linux, Game*Mite, CMM2 Welcome Tape, Creaky old text adventures
 
Martin H.

Guru

Joined: 04/06/2022
Location: Germany
Posts: 1519
Posted: 08:40pm 09 Aug 2026
Copy link to clipboard 
Print this post

Of course, the problem with the width can be solved ‘by hand’
cls
wrt 0,0,"It’s always a brilliant piece of writing",RGB(GREEN)

sub wrt tx,ty,prd$,col
local integer n
for n=1 to len(prd$)
text tx,ty,mid$(prd$,n,1),,9,,col,-1
inc tx,6:next
end sub

I had a look at your Git repository on MMB4W, but couldn’t find the code for the Picomite Font 7 (6x8); otherwise I could have checked how the bits are shifted there.
Edited 2026-08-10 06:40 by Martin H.
'no comment
 
thwill

Guru

Joined: 16/09/2019
Location: United Kingdom
Posts: 4394
Posted: 08:45pm 09 Aug 2026
Copy link to clipboard 
Print this post

Font 7 is this one, hadn't noticed the name was backwards before: https://github.com/thwill1000/mmb4l/blob/main/src/fonts/Font_8x6.h - not my doing, from the original MMBasic source.

Tom
MMBasic for Linux, Game*Mite, CMM2 Welcome Tape, Creaky old text adventures
 
thwill

Guru

Joined: 16/09/2019
Location: United Kingdom
Posts: 4394
Posted: 08:55pm 09 Aug 2026
Copy link to clipboard 
Print this post

Anyway Claude Sonnet 5 (Low effort) succeeded with a bit of kicking and access to the font reading and glyph rendering code from MMBasic:
microserif6x8.zip
MMBasic for Linux, Game*Mite, CMM2 Welcome Tape, Creaky old text adventures
 
Martin H.

Guru

Joined: 04/06/2022
Location: Germany
Posts: 1519
Posted: 11:55am 10 Aug 2026
Copy link to clipboard 
Print this post

  thwill said  Font 7 is this one, hadn't noticed the name was backwards before: https://github.com/thwill1000/mmb4l/blob/main/src/fonts/Font_8x6.h - not my doing, from the original MMBasic source.

That’s right, it’s 8x6, but we’re looking for 6x8. According to the Picomite manual, Font uses the 6x8 format.


  thwill said  Anyway Claude Sonnet 5 (Low effort) succeeded with a bit of kicking and access to the font reading and glyph rendering code from MMBasic:
microserif6x8.zip
Great, so it worked out in the end after all, and my painting wasn’t quite for nothing  
Cheers
Martin
Edited 2026-08-10 22:12 by Martin H.
'no comment
 
thwill

Guru

Joined: 16/09/2019
Location: United Kingdom
Posts: 4394
Posted: 01:13pm 10 Aug 2026
Copy link to clipboard 
Print this post

  Martin H. said  
  thwill said  Font 7 is this one, hadn't noticed the name was backwards before: https://github.com/thwill1000/mmb4l/blob/main/src/fonts/Font_8x6.h - not my doing, from the original MMBasic source.

That’s right, it’s 8x6, but we’re looking for 6x8. According to the Picomite manual, Font uses the 6x8 format.


I was referring to the fact that the filename "Font_8x6.h" suggests it contains an 8x6 font whereas it clearly contains a 6x8 font. The same file exists in the PicoMite source repository.

Best wishes,

Tom
MMBasic for Linux, Game*Mite, CMM2 Welcome Tape, Creaky old text adventures
 
thwill

Guru

Joined: 16/09/2019
Location: United Kingdom
Posts: 4394
Posted: 01:14pm 10 Aug 2026
Copy link to clipboard 
Print this post

  Martin H. said  Great, so it worked out in the end after all, and my painting wasn’t quite for nothing  


Yep, thanks for doing it, not sure I'm going to use it as the default font in my adventure game but it is there as an option.

Tom
MMBasic for Linux, Game*Mite, CMM2 Welcome Tape, Creaky old text adventures
 
     Page 4 of 4    
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