Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Test results.
- 1. Windows 7, using the version of libfreetype-6.dll that came with Pygame, with md5sum:
- \b027334aa91f3c351aa6746e8e4dd906 *C:\\Python27\\Lib\\site-packages\\pygame\\libfreetype-6.dll
- Output:
- freefont-20090104-FreeMono.ttf at pixel size 16, advances:
- 9 for 23 characters: #*+;IJPSTUY[]deilmq{|}~
- 10 for 71 characters: !"$%&'(),-./0123456789:<=>?@ABCDEFGHKLMNOQRVWXZ\^_`abcfghjknoprtuvwxyz
- 11 for 1 characters: s
- freefont-20090104-FreeMono.ttf at pixel size 100, advances:
- 59 for 11 characters: $?IS^fjrsuz
- 60 for 80 characters: !"#&'()*+,-/0123456789;<=>@ABCDEFGJKLMNOPQRTUVWXYZ[\]_`abcdeghiklmnopqtvwxy{|}~
- 61 for 4 characters: %.:H
- freefont-20090104-FreeMono.ttf at pixel size 200, advances:
- 120 for 71 characters: !"%&'(),.0123456789:;<=>@ABCDEFHJMNPRTUVWXYZ[]_`abcdefhjkmopqrtuvwyz{|
- 121 for 13 characters: $*/?GIKL\^gns
- 119 for 11 characters: #+-OQSilx}~
- freefont-20090104-FreeMono.ttf at pixel size 300, advances:
- 179 for 4 characters: =]xy
- 180 for 76 characters: !"$&'()*,./0123456789:;<>?@BCDEFGIJKLMNOPQRUVWXYZ[\^_`abcdefghkmnqrstuvwz{|
- 181 for 15 characters: #%+-AHSTijlop}~
- freefont-20100919-FreeMono.ttf at pixel size 16, advances:
- 9 for 23 characters: #*+;IJPSTUY[]deilmq{|}~
- 10 for 71 characters: !"$%&'(),-./0123456789:<=>?@ABCDEFGHKLMNOQRVWXZ\^_`abcfghjknoprtuvwxyz
- 11 for 1 characters: s
- freefont-20100919-FreeMono.ttf at pixel size 100, advances:
- 59 for 11 characters: $?IS^fjrsuz
- 60 for 80 characters: !"#&'()*+,-/0123456789;<=>@ABCDEFGJKLMNOPQRTUVWXYZ[\]_`abcdeghiklmnopqtvwxy{|}~
- 61 for 4 characters: %.:H
- freefont-20100919-FreeMono.ttf at pixel size 200, advances:
- 120 for 71 characters: !"%&'(),.0123456789:;<=>@ABCDEFHJMNPRTUVWXYZ[]_`abcdefhjkmopqrtuvwyz{|
- 121 for 13 characters: $*/?GIKL\^gns
- 119 for 11 characters: #+-OQSilx}~
- freefont-20100919-FreeMono.ttf at pixel size 300, advances:
- 179 for 4 characters: =]xy
- 180 for 77 characters: !"$&'()*,./0123456789:;<>?@BCDEFGIJKLMNOPQRUVWXYZ[\^_`abcdefghkmnqrstuvwz{|}
- 181 for 14 characters: #%+-AHSTijlop~
- 2. Windows 7, after replacing libfreetype-6.dll with version 2.4.2 downloaded from here:
- http://www.gtk.org/download/win32.php
- With md5sum:
- \5155ae6efacc75084fb1a9884be552ea *C:\\Python27\\Lib\\site-packages\\pygame\\libfreetype-6.good.dll
- Output:
- freefont-20090104-FreeMono.ttf at pixel size 16, advances:
- 10 for 95 characters: !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~
- freefont-20090104-FreeMono.ttf at pixel size 100, advances:
- 60 for 95 characters: !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~
- freefont-20090104-FreeMono.ttf at pixel size 200, advances:
- 120 for 95 characters: !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~
- freefont-20090104-FreeMono.ttf at pixel size 300, advances:
- 180 for 95 characters: !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~
- freefont-20100919-FreeMono.ttf at pixel size 16, advances:
- 10 for 95 characters: !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~
- freefont-20100919-FreeMono.ttf at pixel size 100, advances:
- 60 for 95 characters: !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~
- freefont-20100919-FreeMono.ttf at pixel size 200, advances:
- 120 for 95 characters: !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~
- freefont-20100919-FreeMono.ttf at pixel size 300, advances:
- 180 for 95 characters: !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~
- 3. Ubuntu VM:
- $ dpkg -l | grep -e 'libsdl-ttf\|pygame\|libfreetype'
- ii libfreetype6 2.4.4-2ubuntu1.1 FreeType 2 font engine, shared library files
- ii libsdl-ttf2.0-0 2.0.9-1build2 ttf library for Simple DirectMedia Layer with FreeType 2 support
- ii python-pygame 1.9.1release-0ubuntu4 SDL bindings for games development in Python
- $ uname -a
- Linux vm-oneiric32 3.0.0-14-generic #23-Ubuntu SMP Mon Nov 21 20:34:47 UTC 2011 i686 i686 i386 GNU/Linux
- $ python testcase.py
- there is no soundcard
- freefont-20090104-FreeMono.ttf at pixel size 16, advances:
- 10 for 95 characters: !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~
- freefont-20090104-FreeMono.ttf at pixel size 100, advances:
- 60 for 95 characters: !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~
- freefont-20090104-FreeMono.ttf at pixel size 200, advances:
- 120 for 95 characters: !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~
- freefont-20090104-FreeMono.ttf at pixel size 300, advances:
- 180 for 95 characters: !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~
- freefont-20100919-FreeMono.ttf at pixel size 16, advances:
- 10 for 95 characters: !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~
- freefont-20100919-FreeMono.ttf at pixel size 100, advances:
- 60 for 95 characters: !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~
- freefont-20100919-FreeMono.ttf at pixel size 200, advances:
- 120 for 95 characters: !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~
- freefont-20100919-FreeMono.ttf at pixel size 300, advances:
- 180 for 95 characters: !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~
- 4. Ubuntu laptop:
- $ dpkg -l | grep -e "pygame\|libfreetype\|libsdl-ttf"
- ii libfreetype6 2.4.4-2ubuntu1.2 FreeType 2 font engine, shared library files
- ii libfreetype6:i386 2.4.4-2ubuntu1.2 FreeType 2 font engine, shared library files
- ii libfreetype6-dev 2.4.4-2ubuntu1.2 FreeType 2 font engine, development files
- ii libsdl-ttf2.0-0 2.0.9-1build2 ttf library for Simple DirectMedia Layer with FreeType 2 support
- ii libsdl-ttf2.0-dev 2.0.9-1build2 development files for SDL ttf library (version 2.0)
- ii python-pygame 1.9.1release-0ubuntu4 SDL bindings for games development in Python
- $ uname -a
- Linux dischord 3.0.0-20-generic #34-Ubuntu SMP Tue May 1 17:24:39 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
- $ python testcase.py
- freefont-20090104-FreeMono.ttf at pixel size 16, advances:
- 10 for 95 characters: !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~
- freefont-20090104-FreeMono.ttf at pixel size 100, advances:
- 60 for 95 characters: !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~
- freefont-20090104-FreeMono.ttf at pixel size 200, advances:
- 120 for 95 characters: !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~
- freefont-20090104-FreeMono.ttf at pixel size 300, advances:
- 180 for 95 characters: !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~
- freefont-20100919-FreeMono.ttf at pixel size 16, advances:
- 10 for 95 characters: !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~
- freefont-20100919-FreeMono.ttf at pixel size 100, advances:
- 60 for 95 characters: !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~
- freefont-20100919-FreeMono.ttf at pixel size 200, advances:
- 120 for 95 characters: !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~
- freefont-20100919-FreeMono.ttf at pixel size 300, advances:
- 180 for 95 characters: !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement