Knut Arne Bjørndal wrote:
The other would be to use SVG fonts, see this trac ticket for some thoughts on the subject: http://trac.openstreetmap.org/ticket/1228
Sounds like a good idea.I did a test with batik and unifont. Looks fine, maybe a bit pixelated. Not sure, maybe unifont is a bitmap font. java -jar batik-ttf2svg.jar unifont-5.1.20080907.ttf -l 3584 -h 3711 -id MyThaiSVG -o myThaiSVG.svg -testcard
I then replaced the text of the testcard with this: ; font-size:36;fill:black"><text x="20" y="60"> ฀กขฃคฅฆงจฉชซฌญฎฏ</text> <text x="20" y="120">ฐฑฒณดตถทธนบปผฝพฟ</text> <text x="20" y="180">ภมยรฤลฦวศษสหฬอฮฯ</text> <text x="20" y="240">ะัาำิีึืฺุู฻฼฽฾฿</text> <text x="20" y="300">เแโใไๅๆ็่้๊๋์ํ๎๏</text> <text x="20" y="360">๐๑๒๓๔๕๖๗๘๙๚๛๜๝๞๟</text> <text x="20" y="420">๠๡๢๣๤๥๦๧๨๩๪๫๬๭๮๯</text> <text x="20" y="480">๰๱๲๳๴๵๶๷๸๹๺๻๼๽๾๿</text>
and rasterized: java -jar batik-rasterizer.jar -h 800 -w 600 myThaiSVG.svg The result is attached. Stephan
<<inline: myThaiSVG.png>>
_______________________________________________ Tilesathome mailing list [email protected] http://lists.openstreetmap.org/listinfo/tilesathome
