Re: [cc65] TGI bitmap fnts revisited

From: Karri Kaksonen <karri1sipo.fi>
Date: 2011-07-10 12:00:43
On 07/10/2011 11:23 AM, Oliver Schmidt wrote:
> Hi,
>
> Quite some months ago we were discussing here some aspects of TGI
> bitmap font handling. However other aspects were not covered.
> Therefore I revisited the topic.
>
> First let me briefly summarize our results:
>
>
> 1. The coordinate used for text output becomes the bottom left corner
> of the first character.
This is different from the current Lynx implementation where it is the 
top left corner of the character bounding box.

tgi_outtextxy(0,0,"Hello World!");

If this is changed then the origo should be the hot-spot at the 
baseline. Definitely not the lower left corner of the bounding box.

I want to be able to render characters without having to calculate 
baseline offsets all the time.

Like print("A") change size *2 print('B'). The letters A and B should be 
on the same baseline.

--
Karri

----------------------------------------------------------------------
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 10 12:01:01 2011

This archive was generated by hypermail 2.1.8 : 2011-07-10 12:01:04 CEST