Gfx9000 Library

Pagina 9/9
2 | 3 | 4 | 5 | 6 | 7 | 8 |

Van msd

Paragon (1372)

afbeelding van msd

24-10-2005, 18:23

Wanker.. The offset is the character offset in ram or vram. The raw data.

Van Sonic_aka_T

Enlighted (4130)

afbeelding van Sonic_aka_T

24-10-2005, 18:36

Wanker... It's always fixed to eitheir 8bit or 16bit multiplied by height! (which I would fix as well, btw)

Van msd

Paragon (1372)

afbeelding van msd

24-10-2005, 18:43

Well that's upto the end user.. I'm not going to deside that Smile

Van AuroraMSX

Paragon (1901)

afbeelding van AuroraMSX

25-10-2005, 10:07

I, the end user, tell you this: fixing the width of a proportional font is a big waste of RAM (or VRAM).
Jus tuse a table with offsets and calculate the width (or - heck- even use 2 tables)!

width(C) = offset(C+1)-offset(C)

(It is decided)

Van msd

Paragon (1372)

afbeelding van msd

25-10-2005, 10:19

That's why I have two tables. Smile Well only one at the moment. But for proportional I will add another one

Van Sonic_aka_T

Enlighted (4130)

afbeelding van Sonic_aka_T

25-10-2005, 14:36

I, the end user, tell you this: fixing the width of a proportional font is a big waste of RAM (or VRAM).
Jus tuse a table with offsets and calculate the width (or - heck- even use 2 tables)!

width(C) = offset(C+1)-offset(C)

(It is decided)They are bitfons aurora, are you honestly suggesting msd bitshift his way through a gazillion bitvectors till he finds the start of a character? No, I didn't think so.... Tongue

Van msd

Paragon (1372)

afbeelding van msd

25-10-2005, 14:43

charaters will be always be rounded to a byte... but this doesn't mean a multiple of width 8 or 16

Pagina 9/9
2 | 3 | 4 | 5 | 6 | 7 | 8 |