RFC: new font file format
Moderador: Sir Cilve Sinclair
- cheveron
- Manic Miner
- Mensajes: 280
- Registrado: Lun Jun 28, 2010 6:14 pm
- Ubicación: Londres
- Contactar:
RFC: new font file format
Ok, the format is finalized so I've removed the old info so as to avoid confusion. Details in this post: viewtopic.php?f=6&t=3329
Última edición por cheveron el Mié Jun 12, 2013 10:08 am, editado 5 veces en total.
«Dime con quién andas, y te diré quién eres» — Cervantes
- cheveron
- Manic Miner
- Mensajes: 280
- Registrado: Lun Jun 28, 2010 6:14 pm
- Ubicación: Londres
- Contactar:
Re: RFC: new font file format
Right, well I've got a semi-working version of the display code. Currently the display code takes about 400 bytes. I've done two different fonts in FZX format and they both come in at around 960 bytes. Considering each character definition has a four byte table entry I'm pretty happy with that. Next I need to add support for characters wider than 8 pixels, and fix the bugs.
«Dime con quién andas, y te diré quién eres» — Cervantes
- na_th_an
- Nonamed
- Mensajes: 1889
- Registrado: Lun May 07, 2007 10:16 am
- Ubicación: Andalucía
Re: RFC: new font file format
It looks really awesome. Once it's available I'll try to embed this into a ZX Basic SUB or a C function, which may come handy for many people
- cheveron
- Manic Miner
- Mensajes: 280
- Registrado: Lun Jun 28, 2010 6:14 pm
- Ubicación: Londres
- Contactar:
Re: RFC: new font file format
na_th_an escribió:It looks really awesome. Once it's available I'll try to embed this into a ZX Basic SUB or a C function, which may come handy for many people
But you haven't seen the code yet!
«Dime con quién andas, y te diré quién eres» — Cervantes
- na_th_an
- Nonamed
- Mensajes: 1889
- Registrado: Lun May 07, 2007 10:16 am
- Ubicación: Andalucía
Re: RFC: new font file format
Indeed, I was talking about the font rendering
- cheveron
- Manic Miner
- Mensajes: 280
- Registrado: Lun Jun 28, 2010 6:14 pm
- Ubicación: Londres
- Contactar:
Re: RFC: new font file format
na_th_an escribió:Indeed, I was talking about the font rendering
I know but that's not really the point. You can have any font you want provided the characters all fit in a 16x31 pixel grid and no individual character is larger than 16x16 pixels. I just decided to port Sabon as I'm rather fond of it. Ultimately I hope someone will create a font editor for the format that will make it easier to create fonts. Right now you have to do it by editing an assembly file. I have a feeling I may be able to tempt Claus Jahn into taking an interest.
«Dime con quién andas, y te diré quién eres» — Cervantes
- cheveron
- Manic Miner
- Mensajes: 280
- Registrado: Lun Jun 28, 2010 6:14 pm
- Ubicación: Londres
- Contactar:
Re: RFC: new font file format
Here's a sample of the fonts that will be available at launch:
«Dime con quién andas, y te diré quién eres» — Cervantes
- na_th_an
- Nonamed
- Mensajes: 1889
- Registrado: Lun May 07, 2007 10:16 am
- Ubicación: Andalucía
- cheveron
- Manic Miner
- Mensajes: 280
- Registrado: Lun Jun 28, 2010 6:14 pm
- Ubicación: Londres
- Contactar:
Re: RFC: new font file format
na_th_an escribió:It looks really awesome. Once it's available I'll try to embed this into a ZX Basic SUB or a C function, which may come handy for many people
As you'll see from the driver there's already support for ZX Basic. But perhaps you meant Boriel's BASIC? I'm sure a C function would be useful. The only thing to note is that there is a more advanced driver planned for a later stage, but Einar really wanted to get FZX out there.
«Dime con quién andas, y te diré quién eres» — Cervantes
¿Quién está conectado?
Usuarios navegando por este Foro: No hay usuarios registrados visitando el Foro y 13 invitados