[Openstreetmap-dev] applet developments - interface prototype
Tom Carden
tom at tom-carden.co.uk
Fri Jul 8 10:09:42 BST 2005
Lars Aronsson wrote:
> Tom Carden wrote:
>
>>I've uploaded another test editing applet. It's still not working on OSM
>>data, but it's cute. This time you can type directly onto lines. (You can
>>guess where this is headed).
>>
>>http://www.tom-carden.co.uk/p5/osm_lines_text/applet/
>
>
> Super! But what about non-ASCII letters like åäö?
Good point.
> (Needless to
> say, you should use Unicode for this, to include Chinese etc.)
Sure. It's just Java Strings internally, and I think they're UTF-8 by
default.
> Is it a charset problem or a font problem?
>
Almost certainly a font problem. Processing handles fonts in a funny way
(as little bitmaps - fast but clumsy).
I'm probably planning on implementing this in Java2d when I'm done
experimenting, so the font rendering should be a bit sharper (and
exporting to vector formats like SVG will be free).
Thanks for trying it.
Tom.
More information about the dev
mailing list