summaryrefslogtreecommitdiff
path: root/docview/components
diff options
context:
space:
mode:
Diffstat (limited to 'docview/components')
-rw-r--r--docview/components/richtext/CanvasFontManager.pas8
1 files changed, 0 insertions, 8 deletions
diff --git a/docview/components/richtext/CanvasFontManager.pas b/docview/components/richtext/CanvasFontManager.pas
index 9e9114ec..fe0123d3 100644
--- a/docview/components/richtext/CanvasFontManager.pas
+++ b/docview/components/richtext/CanvasFontManager.pas
@@ -313,14 +313,6 @@ var
t: TfpgString;
begin
t := s;
- //case Settings.Encoding of
- // encUTF8: t := IPFToUTF8(t);
- // encCP437: t := CP437ToUTF8(t);
- // encCP850: t := CP850ToUTF8(t);
- // encIBMGraph: t := IBMGraphToUTF8(t);
- //else
- // t := IPFToUTF8(t);
- //end;
FCanvas.DrawString(Point.X, Point.Y, t);
Point.x := Point.X + Canvas.Font.TextWidth(t);
end;