[Ohrrpgce] SVN: teeemcee/5022 Tweak default font, add a special font for use inside the file browser,
Ralph Versteegen
teeemcee at gmail.com
Fri Feb 3 16:48:39 PST 2012
On 4 February 2012 13:16, <subversion at hamsterrepublic.com> wrote:
> teeemcee
> 2012-02-03 16:16:47 -0800 (Fri, 03 Feb 2012)
> 287
> Tweak default font, add a special font for use inside the file browser, make current_font() array a global (don't want to collide with Font)
>
> I've marked the Latin-1 superset fonts by setting font(0) (that is, the first 2 bytes after the BSAVE header) to 1, in case this is useful later.
> ---
> U wip/browse.bas
> U wip/common.bas
> U wip/common.bi
> U wip/custom.bas
> U wip/customsubs.bas
> U wip/customsubs.bi
> U wip/fontdata.bi
> U wip/game.bas
> U wip/import/fonts/Latin-1.ohf
> U wip/import/fonts/OHRRPGCE Default.ohf
> A wip/misc/browser font.ohf
> U wip/misc.bas
> U wip/misc.bi
> U wip/ohrrpgce.new
> U wip/os_windows.bas
> U wip/yetmore2.bas
I used rpgbatch.py twice while working on this; how handy:
-I checked and discovered that in 12 ancient games (CP only) .fnt
lumps are length 2062 instead of 2055 as they should be. All these old
font lumps are identical. I guess this is why upgrade() overwrites the
fonts of ancient files. So I opted to store the metadata inside the
font instead of afterwards
-I checked which non-ASCII characters appear in long names and about
lines (CP + SS):
134/(c): 214 games
157/Hamster head: 2 games (I only recently realised that this was
apparently meant to be a hamster)
133/Heart: 1
130/Spade: 1
169/crossed swords: 2
Latin-1 characters: 1*
other (blank in old default): 8
Cliché Quest by Mike Caron. Ahead of the curve.
More information about the Ohrrpgce
mailing list