[mapserver-users] Rendering of Static Text is different using gd or AGG ?
Stephen Woodbridge
woodbri at swoodbridge.com
Tue May 6 08:19:39 PDT 2008
Jeff,
This is a good work around, but I think we need to ask the questions:
What is the expected behavior?
Is this a bug, should it be a bug?
Should this behavior be documented?
Should this be bugged for 5.2 freeze?
Clearly some code is translating the © for the GD renderer.
Adding cc: mapserver-dev, let me know If you want to to generate a bug
based on this and assign it to 5.2
-Steve W
Jeff McKenna wrote:
> What about using your operating system's character set? For example on
> windows pressing ALT-0169 gives the copyright sign, and on MAC pressing
> OPTION-G. So your mapfile snippet is: TEXT "©"
>
> -jeff
>
>
>
>
> On 6-May-08, at 9:32 AM, Schönhammer, Herbert wrote:
>
>> Hi list,
>>
>> Using* gd* the declaration "©"renders the "copyright"-Sign:
>>
>> LAYER
>> NAME "copyright"
>> REQUIRES ..
>> ...
>>
>> FEATURE
>> POINTS
>> 3 10
>> END
>> END
>>
>> ...
>>
>> CLASS
>> * TEXT "© xxx" *
>> LABEL
>> TYPE TRUETYPE
>> FONT 'arial'
>> SIZE 9
>> POSITION cr
>> COLOR 0 0 0
>> OUTLINECOLOR 255 255 254
>> END
>> END
>>
>> END # LAYER
>>
>>
>>
>> But using agg, the text ""© xxx" is rendered in the map.
>>
>> Please lokk at the examples !
>>
>> Does anybody know,
>> how to render the html-code like done in gd ?
>>
>> Does anybody know another way to render signs like "copyright" with gd ?
>>
>> Thanks very much
>>
>> greetings
>> Herbert
>>
>> <<gd-rendering.gif>> <<agg-rendering.gif>>
>>
>> <gd-rendering.gif><agg-rendering.gif>_______________________________________________
>> mapserver-users mailing list
>> mapserver-users at lists.osgeo.org <mailto:mapserver-users at lists.osgeo.org>
>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
More information about the MapServer-users
mailing list