Ticket #652 (closed defect: duplicate)

Opened 16 months ago

Last modified 16 months ago

Font glyphs clipped on Mac OS X

Reported by: anonymous Owned by: jorrit
Priority: major Milestone:
Component: general Version: V1.9
Keywords: Cc:

Description

Freetype2 font glyphs can be seen to be clipped in g2dtest. I'm running Mac OS X 10.5 with a Nvidia Geforce 8600M GT card.

I've stepped through the g2dtest code using the OpenGL profiler putting breakpoints on glTexSubImage2D code and it seems that the driver on Mac OS X rounds up the width and height in the subimage to a multiple of 4, this results in new glyphs overlapping old glyphs. I've attached the texture views outputted by the profiler. This may be related to an old OS X bug:  http://lists.apple.com/archives/mac-opengl/2002/Jul/msg00116.html

After changing the code in libs/csplugincommon/opengl/glfontcache.cpp to make glyph allocations rounded up to a multiple of 4 the problem no longer seems to happen.

Attachments

Change History

Changed 16 months ago by sunshine

  • status changed from new to closed
  • resolution set to duplicate

Duplicate of #656.

Add/Change #652 (Font glyphs clipped on Mac OS X)

Author


E-mail address and user name can be saved in the Preferences.


Action
as closed
 
Note: See TracTickets for help on using tickets.