Yes, it's looking more likely to be a problem with the rendering
software, but we're still unsure if this is in Pygame, SDL or something
else. We also don't know what is different about this font to cause the
bug.

You can test some code with the little script below. You need to 'apt-
get install python-pygame' first. It's also interesting to look at the
metrics stuff, which is even more confusing
(http://www.libsdl.org/projects/SDL_ttf/docs/SDL_ttf.html#SEC38). You
can also look at the input box in my project at
https://launchpad.net/simplegc.

import pygame
import string

pygame.font.init()

m = pygame.font.SysFont("FreeMono", 16)
#m = pygame.font.Font("/path/to/file.ttf", 16)
#print zip(m.metrics(string.letters), string.letters)
for c in string.letters:
    print "%s:%s, " % (c, m.render(c, False, (0,0,0)).get_size()[0]),

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to