index 5950e36f6f272bf67b39af7fd2cfac386291ae6a..64d4f533ab39c7fd89e4704d808258864489a51e 100644 (file)
destructor Destroy; override;
function GetChar (c: AnsiChar): TGLTexture;
function GetWidth (c: AnsiChar): Integer;
+ function GetMaxWidth (): Integer;
+ function GetMaxHeight (): Integer;
function GetSpace (): Integer;
end;
result := self.info.ch[c].w;
if result = 0 then
result := self.info.w;
+ if self.info.kern < 0 then
+ result := result + self.info.kern;
+ end;
+
+ function TGLFont.GetMaxWidth (): Integer;
+ begin
+ result := self.info.w;
+ if self.info.kern < 0 then
+ result := result + self.info.kern;
+ end;
+
+ function TGLFont.GetMaxHeight (): Integer;
+ begin
+ result := self.info.h;
end;
function TGLFont.GetSpace (): Integer;