Changes between Initial Version and Version 1 of Ticket #2313


Ignore:
Timestamp:
Sep 13, 2007, 8:45:51 AM (17 years ago)
Author:
tbonfort
Comment:

closing as wontfix as there's a simple workaround on this: use a truetype font.

the problem is once again due to the alpha channel. gd is setting it to 0 where it's written some text (which means opaque for itself) whereas it's writing to an image where 0 means completely transparent.

I probably should have dropped pixmap font support completely for agg, but as it works in non-RGBA mode I left it in instead of bailing out with an error message.

I think it's safe to consider that pixmap font support with agg is deprecated and is likely to be completely removed in future releases.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2313

    • Property Status newclosed
    • Property Resolutionwontfix
  • Ticket #2313 – Description

    initial v1  
    11When using AGG/PNG w/RGBA, labels of type BITMAP are rendered transparent or semi-transparent.
    22
    3 {{{  TRANSPARENT TRUE }}}
    4 {{{  OUTPUTFORMAT }}}
    5 {{{     NAME 'AGGA' }}}
    6 {{{     DRIVER AGG/PNG }}}
    7 {{{     IMAGEMODE RGBA }}}
    8 {{{  END }}}
    9 {{{  IMAGETYPE AGGA }}}
     3{{{
     4TRANSPARENT TRUE
     5OUTPUTFORMAT
     6  NAME 'AGGA'
     7  DRIVER AGG/PNG
     8  IMAGEMODE RGBA
     9END
     10IMAGETYPE AGGA
     11}}}
    1012
    1113The output is as expected if rendered with GD or the labels are switched to use a Truetype font.