I think the font is case-sensitive so "Courier" instead of "courier"
Chris Snider Senior Software Engineer Intelligent Software Solutions, Inc. Direct (719) 452-7257 [Description: Description: Description: cid:image001.png@01CA1F1F.CBC93990] From: Jonathan Moules [mailto:jonathanmou...@warwickshire.gov.uk] Sent: Wednesday, November 06, 2013 9:02 AM To: beldar15 Cc: geoserver-users@lists.sourceforge.net Subject: Re: [Geoserver-users] Changing polygon label's font in the SDL Hi, The following works for me (this is SLD 1.1). Not sure about custom directories etc. <se:TextSymbolizer> <se:Label> <ogc:PropertyName>TEXTSTRING</ogc:PropertyName> </se:Label> <se:Font> <se:SvgParameter name="font-family">Calibri</se:SvgParameter> <se:SvgParameter name="font-size"> <ogc:Mul> <ogc:Literal>2</ogc:Literal> <ogc:Add> <ogc:Literal>3</ogc:Literal> <ogc:PropertyName>HEIGHT</ogc:PropertyName> </ogc:Add> </ogc:Mul> </se:SvgParameter> <se:SvgParameter name="font-style">normal</se:SvgParameter> <se:SvgParameter name="font-weight">normal</se:SvgParameter> </se:Font> <se:LabelPlacement> <se:LinePlacement /> </se:LabelPlacement> <se:Fill> <se:SvgParameter name="fill">#111111</se:SvgParameter> </se:Fill> </se:TextSymbolizer> On 6 November 2013 14:57, beldar15 <belda...@gmail.com<mailto:belda...@gmail.com>> wrote: Hi, I have a polygon layer that works perfectly. But I'm trying to change the font-family as it's here http://docs.geoserver.org/latest/en/user/styling/sld-reference/textsymbolizer.html#font <http://docs.geoserver.org/latest/en/user/styling/sld-reference/textsymbolizer.html#font> but it doesn't make any difference. This is a portion of my sdl doc: <http://osgeo-org.1560.x6.nabble.com/file/n5087659/Captura.png> I also want to know, if there is a directory where I can place my custom fonts or if there is some documentation about it. Thank you very much! -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Changing-polygon-label-s-font-in-the-SDL-tp5087659.html Sent from the GeoServer - User mailing list archive at Nabble.com. ------------------------------------------------------------------------------ November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk _______________________________________________ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net<mailto:Geoserver-users@lists.sourceforge.net> https://lists.sourceforge.net/lists/listinfo/geoserver-users This transmission is intended for the named addressee(s) only and may contain sensitive or protectively marked material up to RESTRICTED and should be handled accordingly. Unless you are the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this transmission in error please notify the sender immediately. All email traffic sent to or from us, including without limitation all GCSX traffic, may be subject to recording and/or monitoring in accordance with relevant legislation.
<<inline: image001.png>>
------------------------------------------------------------------------------ November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users