Commit 03ad3091 authored by Martin Schreiber's avatar Martin Schreiber

* Add 'freetype.dll' to freetypelib.

* "twoexp32" constant is flo64, fixes "single" overflow problems on 64 bit.
parent 14dd9407
......@@ -33,7 +33,8 @@ const
{$endif}
{$ifdef mswindows}
freetypelib: array[0..1] of filenamety = ('libfreetype-6.dll','freetype6.dll');
freetypelib: array[0..2] of filenamety =
('libfreetype-6.dll','freetype6.dll','freetype.dll');
{$else}
freetypelib: array[0..1] of filenamety = ('libfreetype.so.6','libfreetype.so');
{$endif}
......
......@@ -18,7 +18,7 @@ uses
type
bitnumty = 0..32;
const
twoexp32 = 4294967296.0;
twoexp32 = flo64(4294967296.0);
bytebits: array[0..8] of byte = ($01,$02,$04,$08,$10,$20,$40,$80,$00);
bytemask: array[0..8] of byte = ($00,$01,$03,$07,$0f,$1f,$3f,$7f,$ff);
bytebitsreverse: array[0..8] of byte = ($80,$40,$20,$10,$08,$04,$02,$01,$00);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment