Re: [cc65] TGI bitmap fnts revisited

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2011-07-15 19:54:20
Hi!

On Thu, Jul 14, 2011 at 12:31:29PM +0200, Oliver Schmidt wrote:
> If we go into the direction of driver metadata here then we might
> think too about a minimal and maximal scaling factor supported by the
> driver. My "oversimplified" Apple II driver could then set both to 1.0
> to indicate that it can't scale at all. Other drivers might only be
> able to scale up (> 1.0), but not scale down (< 1.0).

I'm not sure if this is really worth it. For one, I cannot think of code for a
scaler than is limited. And second, this would also mean that tgi_textscale
and tgi_textstyle need to return an error code. And, that applications need to
handle that error. It's probably better and easier to document this as a
limitation of the Apple TGI driver and let the programmer handle it by #define
or whatever.

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 Fri Jul 15 19:54:35 2011

This archive was generated by hypermail 2.1.8 : 2011-07-15 19:54:39 CEST