summaryrefslogtreecommitdiff
path: root/src/corelib/render/software
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/render/software')
-rw-r--r--src/corelib/render/software/Agg2D.pas8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/corelib/render/software/Agg2D.pas b/src/corelib/render/software/Agg2D.pas
index 3e648abe..b1eda9f8 100644
--- a/src/corelib/render/software/Agg2D.pas
+++ b/src/corelib/render/software/Agg2D.pas
@@ -2627,6 +2627,11 @@ procedure TAgg2D.Text(
roundOff : boolean = false;
ddx : double = 0.0;
ddy : double = 0.0 );
+{$IFDEF AGG2D_NO_FONT}
+begin
+
+end;
+{$ELSE}
var
dx ,dy ,asc ,start_x ,start_y : double;
@@ -2643,7 +2648,6 @@ var
tr : conv_transform;
begin
- {$IFNDEF AGG2D_NO_FONT}
dx:=0.0;
dy:=0.0;
@@ -2746,8 +2750,8 @@ begin
inc(i );
end;
- {$ENDIF}
end;
+{$ENDIF}
{ RESETPATH }
procedure TAgg2D.ResetPath;