Browse Source

* patch from mantis #27453 by Dirk Fellenberg, update fontsize to freetype
lib.

git-svn-id: trunk@29683 -

marco 10 years ago
parent
commit
6e23f3fc97
1 changed files with 1 additions and 0 deletions
  1. 1 0
      packages/fcl-image/src/freetype.pp

+ 1 - 0
packages/fcl-image/src/freetype.pp

@@ -461,6 +461,7 @@ begin
       CurSize := CreateSize (aSize,aResolution)
     else
       CurSize := PMgrSize(CurFont.FSizes[r]);
+    SetPixelSize(CurSize^.Size, CurSize^.resolution);
     CurFont.LastSize := CurSize;
     end;
 end;