[Lazarus] Error 500
silvioprog
silvioprog at gmail.com
Wed Apr 6 03:20:32 CEST 2011
2011/4/5 Michael Van Canneyt <michael at freepascal.org>:
> Where do you load the font path ?
> I miss things like
>
> ftFont.InitEngine;
> FontMgr.SearchPath:='/usr/lib/X11/fonts/truetype';
>
> or on windows
>
> FontMgr.SearchPath:='c\windows\fonts';
In fonts of Windows:
procedure TMainFPWebModule.indexRequest(Sender: TObject; ARequest: TRequest;
AResponse: TResponse; var Handled: Boolean);
begin
Handled := True;
ftFont.InitEngine; // <<-- Error is here. :(
FontMgr.SearchPath := 'C:\WINDOWS\Fonts\';
end;
>
> Michael.
How I get a "full log" with CGIs erros?
--
Silvio Clécio
=============================================
Blog - silvioprog.com.br
Twitter - twitter.com/silvioprog
LazSolutions - code.google.com/p/lazsolutions
Lazarus-BR - groups.google.com.br/group/lazarus-br?hl=pt-BR
=============================================
More information about the Lazarus
mailing list