<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Mapnik supports an optional `scale_factor` argument for rendering that enables the 2x scale up (or any variable size) without any modifications to your stylesheet.<div><br></div><div>See documentation at <a href="https://github.com/mapnik/mapnik/wiki/Scale-factor">https://github.com/mapnik/mapnik/wiki/Scale-factor</a></div><div><br></div><div>Dane</div><div><br></div><div> </div><div><div><div>On May 31, 2013, at 8:12 AM, Lynn W. Deffenbaugh (Mr) <<a href="mailto:ldeffenb@homeside.to">ldeffenb@homeside.to</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">
  

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  
  <div bgcolor="#FFFFFF" text="#000000">
    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>
  </div>

_______________________________________________<br>dev mailing list<br><a href="mailto:dev@openstreetmap.org">dev@openstreetmap.org</a><br>http://lists.openstreetmap.org/listinfo/dev<br></blockquote></div><br></div></body></html>