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.
|