[OSM-talk] Language rendering query

ビカス ヤダワ (vikas yadav) mevikas at gmail.com
Thu Jan 22 09:06:50 GMT 2009


Mapnik has updated north india tiles.
It sure has hindi font but rendered it all wrongly.
http://www.openstreetmap.org/?lat=27.61&lon=78.72&zoom=8&layers=B000FTF

If its the DejaVu font, i think it worked flawlessly on my self-generated
TAH tiles.
Any suggestions?

2009/1/19 ビカス ヤダワ (vikas yadav) <mevikas at gmail.com>

> We could give other devnagri/other language alternatives even on that css
> definition.
>
> To temporarily test/solve my language rendering problem, I have recently
> ran tilesGen xy with the tiles im interested in.
> So now, New Delhi and a lot of the Nation Capital Region has a nice (Hindi)
> names.
> Now I wonder, would mapnik be hindi-ready this Wednesday.
>
> 2009/1/16 Ed Loach <ed at loach.me.uk>
>
> D Tucny wrote:
>>
>> > The T at H installation instructions tell you to install
>> > the DejaVu font, a free font, however, it's coverage,
>> <snip>
>> > is missing some pretty large chunks that would likely
>> > take significantly more effort than has so far gone into
>> > the font to fill... as such, to render any of the missing
>> > languages (listed below) alternative fonts are needed...
>>
>> <snip>
>>
>> What I don't understand is even if you install alternative fonts, the
>> osmarender stylesheets have entries such as this from caption-z11.xml:
>>
>>            /* Places - generic styles */
>>            .caption-casing {
>>                                        fill: white;
>>                stroke: white;
>>                font-family: "DejaVu Sans";
>>                font-weight: normal;
>>                text-anchor: middle;
>>                stroke-miterlimit: 1.5;
>>            }
>>
>>            .caption-core {
>>                stroke: white;
>>                stroke-width: 0px;
>>                font-family: "DejaVu Sans";
>>                font-weight: normal;
>>                text-anchor: middle;
>>                stroke-miterlimit: 1.5;
>>            }
>>
>> How would it know to use a font other than DejaVu Sans even if they were
>> installed? And in case it is relevant I'm using Windows?
>>
>> Ed
>>
>>
>>
>> _______________________________________________
>> talk mailing list
>> talk at openstreetmap.org
>> http://lists.openstreetmap.org/listinfo/talk
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20090122/65e838df/attachment.html>


More information about the talk mailing list