Weird behavior with TrueType icons under MS5+AGG

thomas bonfort thomas.bonfort at GMAIL.COM
Wed Dec 5 02:52:24 EST 2007


Gregor,
this is a known bug in 5.0, and recently fixed in SVN. It'll be included in 5.2.
cheers,
thomas

On Dec 5, 2007 3:18 AM, Gregor Mosheh <gregor at hostgis.com> wrote:
> Since the switch from MS4+GD to MS5+AGG every layer being rendered with
> a true type font for an icon is being displayed with the incorrect
> character.
>
> In the TTF file we use (which is definitely Unicode), the character code
> for the nuclear symbol is: &#193; The character that is actually being
> displayed when the AGG renderer is used is the one that is mapped to the
> AMPERSAND... the deer head.
>
> Shortening the character specification seems to read only the first
> character given. I've tried taking out the ampersand and it then
> displays the truck icon which is mapped to the POUND SIGN. If I take
> that out it displays the character that is mapped to the digit ONE.
>
> The nuclear symbol is mapped to A ACUTE.  I've tried inserting that and
> it just renders the character mapped to the letter A.
>
> This same behavior occurs with other TTF files, as well, showing the
> first character in the string, as opposed to the one we intend. Has the
> behavior of TTF symbols changed in MS5, and if so could someone point
> out the new syntax to me?
>
> --
> Gregor Mosheh / Greg Allensworth
> System Administrator, HostGIS cartographic development & hosting services
> http://www.HostGIS.com/
>
> "Remember that no one cares if you can back up,
>   only if you can restore." - AMANDA
>



More information about the mapserver-users mailing list