Opened 13 years ago
Closed 13 years ago
#3896 closed defect (fixed)
Impossible to turn off character/text anti-aliasing for gif (GD)
Reported by: | havatv | Owned by: | tbonfort |
---|---|---|---|
Priority: | normal | Milestone: | 6.2 release |
Component: | Renderer API | Version: | 6.0 |
Severity: | normal | Keywords: | text, anti-aliasing, antialias, font |
Cc: | havatv |
Description
With 6.0.0, it is not possible to turn off text anti-aliasing for gif (GD) using "ANTIALIAS false". It is neither for truetype symbols nor for labels. This was possible in 5.6.6.
Here is a map file that can be used to demonstrate the bug (FONTSET will probably have to be modified). I attach the resulting images generated using 5.6.6 and 6.0.0.
MAP SIZE 100 100 EXTENT 0 0 100 100 UNITS meters IMAGECOLOR 255 255 0 IMAGETYPE gif FONTSET /usr/share/fonts/truetype/font.list SYMBOL NAME "circle" TYPE ellipse FILLED true POINTS 1 1 END END SYMBOL NAME "I" TYPE truetype FONT times CHARACTER "I" ANTIALIAS false END LAYER NAME "test" SIZEUNITS pixels STATUS DEFAULT TYPE POINT FEATURE POINTS 50 50 END TEXT 'a-a' END CLASS # STYLE # truetype SYMBOL 'I' COLOR 0 0 0 SIZE 50 END # style STYLE # centre point SYMBOL 'circle' COLOR 255 255 255 SIZE 3 END # style LABEL COLOR 0 163 221 # PMS299 TYPE truetype ANTIALIAS false FONT arial-italic POSITION UR SIZE 10 END END # class END # layer END # Map file
Attachments (2)
Change History (3)
by , 13 years ago
Attachment: | font-anti-alias6.gif added |
---|
comment:1 by , 13 years ago
Milestone: | 6.0.1 release → 6.2 release |
---|---|
Resolution: | → fixed |
Status: | new → closed |
fixed in r11964
Note:
See TracTickets
for help on using tickets.
Generated using Mapserver 6.0.0 - buggy