Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

visual bug with rotation #3

Closed
dtamburr opened this issue Feb 19, 2013 · 1 comment
Closed

visual bug with rotation #3

dtamburr opened this issue Feb 19, 2013 · 1 comment
Assignees

Comments

@dtamburr
Copy link

When you do a glRotate the font is rendered with a thin outline corresponding to the bounding box.
Try doing glRotated(2, 0, 0, 1) before calling font.draw() to see the problem.
It sometimes also happens if you do a glTranslate.
letter_outline

@akrinke
Copy link
Owner

akrinke commented Feb 21, 2013

Thank you for the report. I can reproduce the issue following these steps:

  • load truetype font
  • load bitmap font
  • render rotated text using truetype font

Texture filtering mode seems to have an influence as well.

I think the problem is that textures of bitmap fonts are stored in the same list as the textures for truetype glyphs. I will look into it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants