Ticket #2 (closed defect: wontfix)

Opened 11 years ago

Last modified 6 years ago

Non-antialiasing with FreeType 2 corrupts images.

Reported by: sdlime Owned by: sdlime
Priority: normal Milestone:
Component: MapServer C Library Version: 3.5
Severity: normal Keywords:
Cc:

Description

Not using antialiasing with TrueType fonts and FreeType 2 causes corruption of 
GD image output. Most likely a GD/FreeType problem, but I told John that I 
would patch both versions of the GD/FreeType code to fix font rendering with 
non-antialiased fonts. With FreeType 1 there is an error in his code that 
always requests grayscale pixmaps even with no antialiasing. It should request 
a bitmap instead. Fix is to add a key to his caching code and this was already 
written for versions 3.4 and earlier. I suspect the same problem exists with 
FreeType 2 since it uses the same caching code, however since not setting the 
antialias flag corrupts the image I can't tell. Will have to fix that first.

Workaround is to use antialiasing with TrueType fonts.

Change History

Changed 11 years ago by sdlime

  • status changed from new to assigned

Changed 11 years ago by sdlime

  • status changed from assigned to closed
  • resolution set to fixed

Changed 11 years ago by sdlime

  • status changed from closed to reopened
  • resolution fixed deleted

Changed 6 years ago by sdlime

  • status changed from reopened to closed
  • resolution set to wontfix
We've come a long way since this bug was written. Closing...

Steve
Note: See TracTickets for help on using tickets.