Path: chuka.playstation.co.uk!news From: Robert_Swan@scee.net (Robert Swan) Newsgroups: scee.yaroze.programming.2d_graphics Subject: Re: fonts Date: Wed, 26 Apr 2000 13:01:35 GMT Organization: PlayStation Net Yaroze (SCEE) Lines: 37 Message-ID: <3906e7ec.14037874@www.netyaroze-europe.com> References: <8e4ki6$akl2@chuka.playstation.co.uk> Reply-To: Robert_Swan@scee.net NNTP-Posting-Host: scee-gw.scee.sony.co.uk X-Newsreader: Forte Free Agent 1.11/32.235 On Tue, 25 Apr 2000 18:24:58 +0100, "jack" <298jh@tay.ac.uk> wrote: >I have searched the news groups and web sight and found very little in >regard to fonts. Could you please clarify a couple of things for me. I use >fontload to load the standard font into the vram. Am I correct in believing >that this is the 7segfont tim file on the boot disk. If it is how do I get >at the other types that are present in the file. >I have opened the tim and it contains italics and capital but I cannot >access these. >Are there some commands that would allow this. dunno - you could change it on a frame by frame basis by moving the tim around :) (same theory as in overwriting your own). It wouldnt surprise me if there were more hidden codes in FntPrint like the one to colour the text. >Also I have written a sprite loading routine which I use for my own fonts >and was wondering, would it be possible to replace the font tim with my own >and use the fontprint funct to print my own fonts to the screen. >The 7segfont tim seems to use a mix of 16*16 and 16*8 and 8*8 pixel sprites >for the fonts, is this a special format and if so what are the >specifications. Off the top of my head - yes you can just place your tim over the old one prviding it matches all the required info. Ie - characters are same size - characters are in the same order - characters use same bit depth (Is it only 1 bit?) - clut in the same place etc. I could well be wrong about it being 1 bit Rob Disclaimer: Anything I say has no direct relation to where I work (Sony), is not an official voice of where I work (Sony) and Sony doesn't even exist as far as I'm concerned.