mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-10-25 11:41:49 +02:00
Improves the TTF debug log
git-svn-id: trunk@36384 -
This commit is contained in:
parent
3900bfb28e
commit
af0c29f995
@ -875,9 +875,9 @@ begin
|
||||
if NameString <> '' then //DBG
|
||||
begin
|
||||
SetLength(AName,NameLen);
|
||||
DebugList.Add('ID='+IntToStr(NameID)+' '+AName);
|
||||
DebugList.Add('ID='+IntToStr(NameID)+' Path='+FontPath+' Name='+AName);
|
||||
end
|
||||
else DebugList.Add('ID='+IntToStr(NameID)+' '+'<Empty String>');
|
||||
else DebugList.Add('ID='+IntToStr(NameID)+' Path='+FontPath+' Name=<Empty String>');
|
||||
end;
|
||||
{$endif}
|
||||
if (ErrNum = TT_Err_Ok) and (NameID = 4) then begin
|
||||
@ -901,7 +901,7 @@ begin
|
||||
{$ifdef CD_Debug_TTF}
|
||||
AName:= ExtractFileDir(Apath);
|
||||
AName:= ExtractFileName(AName) + '.txt';
|
||||
DebugList.SaveToFile('/tmp/'+AName);
|
||||
DebugList.SaveToFile({$ifdef UNIX}'/tmp/'+{$endif}{$ifdef Windows}'C:\'+{$endif}AName);
|
||||
DebugList.Free;
|
||||
{$endif}
|
||||
end;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user