Răsfoiți Sursa

- [ZenFont]fixed generating font without Pack checked

git-svn-id: http://zengl.googlecode.com/svn/branches/0.3.x@1941 6573c10b-8653-0410-9706-d32479e959fb
dr.andru 12 ani în urmă
părinte
comite
5758beb606
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  1. 2 2
      tools/ZenFont(LCL)/zgl_font_gen.pas

+ 2 - 2
tools/ZenFont(LCL)/zgl_font_gen.pas

@@ -740,8 +740,8 @@ begin
         Font.MaxShiftY := 0;
         for i := 0 to Font.Count.Pages - 1 do
           begin
-            u := 1 / Font.Pages[ i ].Width;
-            v := 1 / Font.Pages[ i ].Height;
+            u := 1 / fg_PageSize;
+            v := 1 / fg_PageSize;
 
             zgl_GetMem( pData, sqr( fg_PageSize ) * 4 );
             for j := 0 to sqr( fg_PageChars ) - 1 do