Hi,

Download this test file, unzip and compile with Delphi. You should get something that looks like this:

[img width=400 height=300]http://pyrogine.com/support/Traveler/test1.png[/img]

The code will load a native FontStudio font file and draw using a few of the render methods. This demo is using a larger font along with the rsBlend render state. I suspect that texture coords are too small for the default console font which has to use the rsImage render state in order to see it because it's very small and does not support blending. For font you will either use rsBlend or rsImage, blend will give you the best overall quality.

[code=delphi]program test1;

{$APPTYPE CONSOLE}

uses
SysUtils,
PGGraphics,
PGFonts,
PGApplication;

var
Font: TPGFontStudio;

begin
PG.DisplayDevice.Open('Traveler - Test1', dm800x600, True, True);
PG.RenderDevice.SetMode(0, seDiscard);

Font := TPGFontStudio.Create;
Font.LoadFromFile('Impact19.fnt', PG_FontColorKey);

while not PG.Terminated do
begin
PG.ProcessMessages;

if not PG.RenderDevice.Ready then
begin
Sleep(55);
continue;
end;

PG.RenderDevice.ClearFrame(cfDefault, PG_SkyBlue);
if PG.RenderDevice.StartFrame then
begin
PG.Font.Draw(3, 3, 1.0, PG_White, rsImage, fjCenter, 'Testing a few font features using font Impact 19px', []);
PG.Font.Draw(3, 20, 1.0, PG_White, rsImage, fjCenter, 'Created with the FontStudio utility.', []);
Font.Draw(0,100,1.0,PG_Red,rsBlend,fjLeft, 'Left', []);
Font.Draw(0,120,1.0,PG_White,rsBlend,fjRight, 'Right', []);
Font.Draw(0,140,1.0,PG_Blue,rsBlend,fjCenter, 'Center', []);
Font.DrawGradient(0,180,1.0, PG_Green, PG_Blue, rsBlend, fjCenter, 'Gradient', []);
Font.DrawGradient(0,200,3.0, PG_Red, PG_Blue, rsBlend, fjCenter, 'Scaled', []);
PG.RenderDevice.EndFrame;
end;

PG.RenderDevice.ShowFrame;

end;

FreeAndNil(Font);
PG.RenderDevice.RestoreMode;
PG.DisplayDevice.Close;

end.[/code]