Quote Originally Posted by chronozphere
@Nitrogen. I have a question about the format you save your data in.

In the font4.pas unit i found this datastructure??

[pascal]
type FontInfo = record
A, C: integer;
Wid, Hgt: cardinal;
char: WideChar;
x1,y1,x2,y2: double;
end;
[/pascal]

Can you explain what the different fields mean??
I get the (x1,y1,x2,y2) Rectangle on the texture but e.g i can't figure out what A and C contain?
Can you explain that please??

Thanx!
From one of Nitrogen's posts above:

"Yes. it generates a set of texture coordinates for each character as well as their ABC widths (A being leading space, B being total width, C being trailing space) as defined inside the font file, so you can render them *exactly* how windows renders it!"

cheers,
Paul.