<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Can you save me a bunch of research and
just post an example of your entity declarations (not necessarily
all of them) and one or two textsymbolizer instances that use
them?<br>
<br>
Lynn (D) - KJ4ERJ - Author of APRSISCE for Windows Mobile and
Win32<br>
<br>
On 5/31/2013 12:12 PM, Stephan Knauss wrote:<br>
</div>
<blockquote
cite="mid:daac8a1f-9b79-4e0a-878d-3a9f5895a527@email.android.com"
type="cite">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
I have increased the font size on <a moz-do-not-send="true"
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)" <a class="moz-txt-link-rfc2396E" href="mailto:ldeffenb@homeside.to"><ldeffenb@homeside.to></a> 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
moz-do-not-send="true" 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 moz-do-not-send="true"
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
moz-do-not-send="true" 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 moz-do-not-send="true" 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 moz-do-not-send="true"
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>
<pre style="white-space: pre-wrap; word-wrap:break-word; font-family: monospace; margin-top: 0px"><hr>
dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:dev@openstreetmap.org">dev@openstreetmap.org</a>
<a moz-do-not-send="true" href="http://lists.openstreetmap.org/listinfo/dev">http://lists.openstreetmap.org/listinfo/dev</a>
</pre>
</blockquote>
</div>
</blockquote>
<br>
</body>
</html>