Any condensed font, say 6px wide?

bbc/electron apps, languages, utils, educational progs, demos + more
Post Reply
User avatar
BigEd
Posts: 3199
Joined: Sun Jan 24, 2010 10:24 am
Location: West
Contact:

Any condensed font, say 6px wide?

Post by BigEd » Sun May 31, 2020 3:33 pm

Printing text in Mode 2, it looks a bit ugly and wasteful of space - are there nifty ways of printing condensed text? Maybe 6 or even just 5 pixels per character.


User avatar
BigEd
Posts: 3199
Joined: Sun Jan 24, 2010 10:24 am
Location: West
Contact:

Re: Any condensed font, say 6px wide?

Post by BigEd » Sun May 31, 2020 3:53 pm

Oh, that looks great! And only 4 pixels.
SlimCharacters-RobinNixon.png

User avatar
lurkio
Posts: 2771
Joined: Wed Apr 10, 2013 12:30 am
Location: Doomawangara
Contact:

Re: Any condensed font, say 6px wide?

Post by lurkio » Sun May 31, 2020 4:00 pm

BigEd wrote:
Sun May 31, 2020 3:53 pm
Oh, that looks great! And only 4 pixels.
SlimCharacters-RobinNixon.png
Yes, I seem to recall that the only thing that might need improving is its definition of the uppercase N, which looks a bit too much like an aitch! You can tweak the chardef fairly easily, though (basically to make the N look like a taller version of the lowercase n).

:idea:

User avatar
jgharston
Posts: 4039
Joined: Thu Sep 24, 2009 12:22 pm
Location: Whitby/Sheffield
Contact:

Re: Any condensed font, say 6px wide?

Post by jgharston » Sun May 31, 2020 5:40 pm

BigEd wrote:
Sun May 31, 2020 3:33 pm
Printing text in Mode 2, it looks a bit ugly and wasteful of space - are there nifty ways of printing condensed text? Maybe 6 or even just 5 pixels per character.
http://mdfs.net/Apps/Graphics/NewModes/

Code: Select all

$ bbcbasic
PDP11 BBC BASIC IV Version 0.32
(C) Copyright J.G.Harston 1989,2005-2020
>_

User avatar
BigEd
Posts: 3199
Joined: Sun Jan 24, 2010 10:24 am
Location: West
Contact:

Re: Any condensed font, say 6px wide?

Post by BigEd » Sun May 31, 2020 5:47 pm

Very nice:
Image

User avatar
BeebMaster
Posts: 3416
Joined: Sun Aug 02, 2009 5:59 pm
Location: Lost in the BeebVault!
Contact:

Re: Any condensed font, say 6px wide?

Post by BeebMaster » Sun May 31, 2020 9:53 pm

The Domesday System uses a condensed font to get 40 characters in mode 2:

Image

Image

Inter-Word allows 53 characters per line in mode 1 and 106 characters per line mode 0:

Image
Image

User avatar
kieranhj
Posts: 896
Joined: Sat Sep 19, 2015 11:11 pm
Location: Farnham, Surrey, UK
Contact:

Re: Any condensed font, say 6px wide?

Post by kieranhj » Sun May 31, 2020 11:39 pm

Much to my surprise on discovering the code, but Stunt Car Racer plots a 7-pixel wide font to squeeze a bit more out of the available screen real-estate.
Attachments
scr-beeb-35.png
Small LOL at my predictable test names.
Bitshifters Collective | Retro Code & Demos for BBC Micro & Acorn computers | https://bitshifters.github.io/

User avatar
BigEd
Posts: 3199
Joined: Sun Jan 24, 2010 10:24 am
Location: West
Contact:

Re: Any condensed font, say 6px wide?

Post by BigEd » Mon Jun 01, 2020 7:24 am

Great examples! So, we have 4, 6, and 7 pixel fonts.

(I'm finding the 6 pixel font relatively readable, but I'd expect there are plenty of spelling errors which wouldn't stand out. So, a good font for reading, but not such a good font for writing. Unless of course you print everything out and proof read it, which might well have been completely normal.)

User avatar
BeebMaster
Posts: 3416
Joined: Sun Aug 02, 2009 5:59 pm
Location: Lost in the BeebVault!
Contact:

Re: Any condensed font, say 6px wide?

Post by BeebMaster » Mon Jun 01, 2020 11:31 am

Just found that I did a much better (well, longer) picture set of the Domesday font:

Image

Also the Domesday System uses the normal font with custom spacing to get more characters per line. When I experimented it actually seemed that it must do it using bespoke character spacing rather than a set width per character. I couldn't get the menu item "Options" to print identically to way it is drawn in the main menu bar using even spacing:

Image

Actually though, looking at it again, it does appear that the menu font is narrower than normal. I'll have to add more investigation to the Domesday to-do list...
Image

User avatar
kieranhj
Posts: 896
Joined: Sat Sep 19, 2015 11:11 pm
Location: Farnham, Surrey, UK
Contact:

Re: Any condensed font, say 6px wide?

Post by kieranhj » Mon Jun 01, 2020 12:24 pm

Dethmunk also made me a small MODE 2 proportional font for Prince of Persia. The glyphs are 2/4/6 pixels wide, so 1/2/3 bytes wide in MODE 2, which is quite convenient.
Attachments
small_font.png
MODE 2 proportional font used in POP.
Bitshifters Collective | Retro Code & Demos for BBC Micro & Acorn computers | https://bitshifters.github.io/

User avatar
BigEd
Posts: 3199
Joined: Sun Jan 24, 2010 10:24 am
Location: West
Contact:

Re: Any condensed font, say 6px wide?

Post by BigEd » Mon Jun 01, 2020 12:32 pm

Proportional is a nice idea: why should "I" need to be as wide as "M" needs to be.

julie_m
Posts: 214
Joined: Wed Jul 24, 2019 9:53 pm
Location: Derby, UK
Contact:

Re: Any condensed font, say 6px wide?

Post by julie_m » Wed Jun 24, 2020 7:04 am

BigEd wrote:
Mon Jun 01, 2020 12:32 pm
Proportional is a nice idea: why should "I" need to be as wide as "M" needs to be.
Systems with character-mapped screens used to be quite common. The display memory only needed to store ASCII codes, not bit patterns. This had the side-effect of requiring fixed character spacing.

Post Reply

Return to “8-bit acorn software: other”