<html><head/><body><html><head><meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" /></head><body bgcolor="#FFFFFF" text="#000000">I have increased the font size on <a href="http://thaimap.osm-tools.org">thaimap.osm-tools.org</a> as well. I did this by replacing the font sizes by xml entities and adjusting these. <br>
<br>
As it seems to be useful for others as well I could submit it to svn. <br>
<br>
If nobody disagrees I can submit it on Sunday. <br>
<br>
Stephan <br><br><div class="gmail_quote"><br>
<br>
"Lynn W. Deffenbaugh (Mr)" <ldeffenb@homeside.to> schrieb:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
I'm running my own Tile Server (mod_tile/renderd created from
packages as described at
<a class="moz-txt-link-freetext" href="http://switch2osm.org/serving-tiles/building-a-tile-server-from-packages/">http://switch2osm.org/serving-tiles/building-a-tile-server-from-packages/</a>
and would like to serve up a new set of tiles with larger font sizes
for higher resolution displays.<br />
<br />
I read
<a class="moz-txt-link-freetext" href="https://help.openstreetmap.org/questions/8467/font-size-and-adding-scale-to-map">https://help.openstreetmap.org/questions/8467/font-size-and-adding-scale-to-map</a>
which describes the textsymbolizer element in osm.xml, to whit:<br />
<br />
<blockquote type="cite">
<table style="width:100%;"><tbody><tr><td style="width:30px;vertical-align:top">
<div class="vote-buttons"> <a id="post-8472-upvote" title="This post is useful (click again to undo)" class="ajax-command post-vote up " href="https://help.openstreetmap.org/vote/8472/up/" rel="nofollow"> </a>
<div id="post-8472-score" class="post-score" title="current number of votes"> 3
</div>
<a id="post-8472-downvote" title="This post is not
useful (click again to undo)" class="ajax-command
post-vote down" href="https://help.openstreetmap.org/vote/8472/down/" rel="nofollow"> </a> </div>
</td><td>
<div class="item-right">
<div class="answer-body">
<p>The font size comes from the style file <em>osm.xml</em>.
This includes several lines on the form "<em><code><textsymbolizer
name="name" fontset_name="bold-fonts"
size="11"/></code></em>". You can edit the <em>size</em>
parameter in the wanted areas to generate a new
style with other font sizes.</p>
</div>
</div>
</td></tr></tbody></table>
</blockquote>
<br />
But there's a TON of textsymbolizer's that would need to be edited.
Cloudmade's tile servers support an embedded doubler in their tile
URL as described at
<a class="moz-txt-link-freetext" href="http://developers.cloudmade.com/projects/tiles/documents">http://developers.cloudmade.com/projects/tiles/documents</a><br />
<br />
<blockquote type="cite">To get double resolution tiles use <strong>@2x</strong>
suffix: 997@2x - this will improve map look for iPhone 4, Motorola
Milestone, etc.</blockquote>
<br />
Does anyone know how they do that? Is there a way to replace the
textsymbolizer element size attributes with a variable (say Size11,
Size8, SizeN) so that I can simply clone the style and edit all of
the sizes in a single place? Then I could do a 1.5, 2, 4, or
whatever by simply editing the sizes where the variables are
declared instead of every single textsymbolizer element.<br />
<br />
Any/all help would be appreciated to accomplish label font scaling
in the rendering chain with minimal manual editing work for each
scale that I support.<br />
<br />
Lynn (D) - KJ4ERJ - Author of APRSISCE for Windows Mobile and Win32<br />
<br />
<p style="margin-top: 2.5em; margin-bottom: 1em; border-bottom: 1px solid #000"></p><pre style="white-space: pre-wrap; word-wrap:break-word; font-family: monospace; margin-top: 0px"><hr /><br />dev mailing list<br />dev@openstreetmap.org<br /><a href="http://lists.openstreetmap.org/listinfo/dev">http://lists.openstreetmap.org/listinfo/dev</a><br /></pre></blockquote></div></body></html></body></html>