Unusual Fonts (resend, image too big)
Neil Fincham
neil at ASDF.CO.NZ
Sun Jan 6 14:12:36 PST 2008
Hi Ed,
Thanks for the quick reply, a picture says 1000 words so I have done a
screen dump out of ArcVIEW for you.
I have tried a few different fonts and a few different string fields
from the SDE and get the same result with the string's, the integers and
<Null>'s render fine and using a shape file exported directly out of the
SDE also works fine.
Very puzzling
Neil
Ed McNierney wrote:
> Neil -
>
> Could you give an example of the text in one of the SpeciesLabel fields? What alphabet, character set, and language is the SpeciesLabel field stored in? If you switch to a different FONT does the output change?
>
> At first glance you appear to have code points in the label that are not representable in the selected font. That might not be the problem, but it's worth eliminating - hence my questions above.
>
> - Ed
>
> Ed McNierney
> Chief Mapmaker
> Demand Media / TopoZone.com
> 73 Princeton Street, Suite 305
> North Chelmsford, MA 01863
> Phone: 978-251-4242, Fax: 978-251-1396
> ed at topozone.com
>
> -----Original Message-----
> From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On Behalf Of Neil Fincham
> Sent: Sunday, January 06, 2008 3:37 PM
> To: MAPSERVER-USERS at LISTS.UMN.EDU
> Subject: [UMN_MAPSERVER-USERS] Unusual Fonts
>
> Hi all,
>
> I am really enjoying my first delve into mapping and like to say thanks for the great software.
>
> I am havering a bit of a problem and I am sure it is something easy, I am getting unusual fonts rendering using SDE. It works fine with the shape files but with SDE the text parts come out wrong. I have attached a sample.
>
> Here are some bits from my mapfile;-
>
> OUTPUTFORMAT
> NAME 'AGG'
> DRIVER AGG/PNG
> IMAGEMODE RGB
> END
>
> LAYER
> NAME LandUnit
> METADATA
> "DESCRIPTION" "Land Unit"
> "RESULT_FIELDS" "ForestCode Description"
> END
> TYPE POLYGON
> STATUS ON
> CONNECTIONTYPE PLUGIN
> PLUGIN "/ms4w/Apache/specialplugins/msplugin_sde_92.dll"
> CONNECTION "palustris,port:5155,d,ms_user,p4ss\/\/ord"
> DATA "d.DBO.LandUnit,SHAPE,SDE.DEFAULT"
> TOLERANCE 5
> TEMPLATE "ttt_query.html"
> CLASS
> SYMBOL 0
> COLOR 255 255 255
> OUTLINECOLOR 0 0 0
> TEXT ([SpeciesLabel] [YOE] [AreaHA]ha)
> LABEL
> FONT "vera"
> TYPE truetype
> SIZE 8
> BUFFER 1
> COLOR 0 0 0
> BACKGROUNDCOLOR 255 255 255
> WRAP " "
> ENCODING UTF-16
> END
> END
> END # Layer
>
> The [SpeciesLabel] is the one with the problem, the "[YOE] [AreaHA]ha"
> are numbers and render correctly. I have tried various ENCODING types to no avail.
>
> Thanks for your time
>
> Neil
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fonts.jpg
Type: image/jpeg
Size: 47131 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20080107/64b09788/attachment.jpg>
More information about the MapServer-users
mailing list