Re: [cc65] TGI bitmap fnts revisited

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2011-07-17 13:06:35
Hi!

On Fri, Jul 15, 2011 at 09:19:48PM +0200, Oliver Schmidt wrote:
> - Starting coordinates stay as they are: Lower left corner (not baseline).

Yes (for the bitmap fonts).

> - Drawing is done transparently (meaning non-glyph "background" pixels
> are left as they are).

Yes.

> - A driver states via a new bit in the header if it supports 8.8 fixed
> point scaling (or only integer scaling).

Yes.

> - Based on that bit (and the already existing integer x and y size
> values) the TGI kernel does clipping on character granularity.

Yes.

> - The parameters to the OUTTEXT driver entry point are changed from a
> C string to a Pascal string in order to facilitate copy-free clipping
> for TGI kernel.

Not a pascal string in the sense that it is preceeded by a length byte. The
kernel does still pass a C string, but it also passes an additional length.
Since I don't assume that we encounter screens with a resolution that allows
display of more than 256 characters in any direction, this will be a byte.

Regards


        Uz


-- 
Ullrich von Bassewitz                                  uz@musoftware.de
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Sun Jul 17 13:06:48 2011

This archive was generated by hypermail 2.1.8 : 2011-07-17 13:06:50 CEST