Okay, I built libfreetype from their git repo, installed it to
/usr/local and reran my test:
$ LD_LIBRARY_PATH=/usr/local/lib/ 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:
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~
This does indeed show what Sam observed: the two versions of
FreeMono.ttf show different advances for some characters. So the weird
behaviour only materializes with a recent version of FreeType and a
specific version of FreeMono.ttf. Does that help us figure out what's
happening and whether there's actually a bug somewhere?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1001033
Title:
Monospaced font is not monospaced
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ttf-freefont/+bug/1001033/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs