Andrea Aime ha scritto:
> Debasish Sahu ha scritto:
>> Hi,
>>
>> I would like to render a point layer using TTF Fonts . It seems Andrea 
>> has done some work on the Dynamic SLD Graphic proposal
>> but the svn trunk does not seem to have the following 
>> WellKnownNameMarkFactory ,SVGExternalGraphicFactory  source code etc.
>>
>> Has the code been committed to the svn trunk ?
> 
> Sorry no, I still haven't. I keep on getting blocked by more urgent
> (and usually paid) work and the result is that most of the above
> is still uncoded or un-finished.

Hi Debasish, I committed the first batch of changes for the
dynamic style symbolizer. It's not complete, but you can
try to build you own map with TTF symbols already.
Use them as Mark objects, stating in the well known name of
the symbol as "ttf://fontName#charCode", for example as
ttf://Wingdings#0xF053

If you're using the Windows CharMap to pick up the font codes, beware 
that the reported code for symbol fonts are most of the time incomplete, 
for example,the filled drop symbol in Wingdings is reported as having 
code 0x53 whilst the real code is 0xF053(as a ruleof thumb, try 
prefixing the reported code with F0).

This happens for dingbats like characters, I would love to find an
automatic way to detect if a font is of dingbat type.
Btw, here is some resource for free digbat type fonts:
http://webmasterinrete.wordpress.com/tag/dingbats/

Do you know of more font sources?
Cheers
Andrea



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to