RFC: new font file format

Todo sobre la creación, diseño y programación de nuevo software para
nuestro Spectrum

Moderador: Sir Cilve Sinclair

Responder
Avatar de Usuario
cheveron
Manic Miner
Mensajes: 280
Registrado: Lun Jun 28, 2010 6:14 pm
Ubicación: Londres
Contactar:

RFC: new font file format

Mensaje por cheveron » Jue May 30, 2013 9:25 pm

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

Avatar de Usuario
cheveron
Manic Miner
Mensajes: 280
Registrado: Lun Jun 28, 2010 6:14 pm
Ubicación: Londres
Contactar:

Re: RFC: new font file format

Mensaje por cheveron » Sab Jun 01, 2013 10:29 am

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.

Imagen
«Dime con quién andas, y te diré quién eres» — Cervantes

Avatar de Usuario
na_th_an
Nonamed
Mensajes: 1889
Registrado: Lun May 07, 2007 10:16 am
Ubicación: Andalucía

Re: RFC: new font file format

Mensaje por na_th_an » Dom Jun 02, 2013 6:43 pm

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 :)

Avatar de Usuario
cheveron
Manic Miner
Mensajes: 280
Registrado: Lun Jun 28, 2010 6:14 pm
Ubicación: Londres
Contactar:

Re: RFC: new font file format

Mensaje por cheveron » Dom Jun 02, 2013 10:02 pm

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

Avatar de Usuario
na_th_an
Nonamed
Mensajes: 1889
Registrado: Lun May 07, 2007 10:16 am
Ubicación: Andalucía

Re: RFC: new font file format

Mensaje por na_th_an » Lun Jun 03, 2013 9:24 am

Indeed, I was talking about the font rendering :)

Avatar de Usuario
cheveron
Manic Miner
Mensajes: 280
Registrado: Lun Jun 28, 2010 6:14 pm
Ubicación: Londres
Contactar:

Re: RFC: new font file format

Mensaje por cheveron » Lun Jun 03, 2013 2:22 pm

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

Avatar de Usuario
cheveron
Manic Miner
Mensajes: 280
Registrado: Lun Jun 28, 2010 6:14 pm
Ubicación: Londres
Contactar:

Re: RFC: new font file format

Mensaje por cheveron » Dom Jun 09, 2013 8:51 pm

Here's a sample of the fonts that will be available at launch:

Imagen
«Dime con quién andas, y te diré quién eres» — Cervantes

Avatar de Usuario
na_th_an
Nonamed
Mensajes: 1889
Registrado: Lun May 07, 2007 10:16 am
Ubicación: Andalucía

Re: RFC: new font file format

Mensaje por na_th_an » Lun Jun 10, 2013 7:42 am

Looking really good :)

Avatar de Usuario
cheveron
Manic Miner
Mensajes: 280
Registrado: Lun Jun 28, 2010 6:14 pm
Ubicación: Londres
Contactar:

Re: RFC: new font file format

Mensaje por cheveron » Mié Jun 12, 2013 10:11 am

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

Responder

¿Quién está conectado?

Usuarios navegando por este Foro: No hay usuarios registrados visitando el Foro y 13 invitados