From 0c81d98bef31f6a9e96f7af8c3e9e3db7173487d Mon Sep 17 00:00:00 2001 From: Graeme Geldenhuys Date: Mon, 12 Mar 2012 19:31:36 +0200 Subject: agg: TextHint will now update the font engine. Before, you had to set TextHints() *before* you loaded a font. Now you can set the TextHint at any time. --- src/corelib/render/software/Agg2D.pas | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/corelib/render') diff --git a/src/corelib/render/software/Agg2D.pas b/src/corelib/render/software/Agg2D.pas index b10f5d81..be71dd13 100644 --- a/src/corelib/render/software/Agg2D.pas +++ b/src/corelib/render/software/Agg2D.pas @@ -2568,7 +2568,9 @@ end; procedure TAgg2D.TextHints(hints : boolean ); begin m_textHints:=hints; - + {$IFNDEF AGG2D_NO_FONT} + m_fontEngine.hinting_(m_textHints ); + {$ENDIF} end; { TEXTWIDTH } -- cgit v1.2.3-70-g09d2