Opened 20 years ago

Last modified 13 years ago

#817 closed defect

Use of hex value with CHARACTER keyword — at Version 2

Reported by: dmorissette Owned by: sdlime
Priority: high Milestone: 5.6 release
Component: MapServer C Library Version: 4.3
Severity: normal Keywords:
Cc:

Description (last modified by hobu)

It has been reported that when defining a symbol using a truetype font, it is
possible to use either the character (such as CHARACTER "?") or the number (such
as CHARACTER "?"), but it's not possible to use a hex value for the number.

We could use the form "?" for that, as described in the HTML 4.01 spec:
http://www.w3.org/TR/html401/charset.html#entities

Would it be much work to add that to the parser?

Change History (2)

comment:1 by sdlime, 20 years ago

This seems like an issue with Freetype and/or the GD interface. That's where 
the special representations are recognized. Are you suggesting that we convert 
the hex to a number before handing to GD? If so that wouldn't be too hard. Just 
a bit of code added to mapsymbol.c to check for a hex value and do the 
conversion.

Steve

comment:2 by hobu, 17 years ago

Description: modified (diff)

Has this one been fixed?

Note: See TracTickets for help on using tickets.