Hi,

As far as I'm concerned, with the parameters I've sended ("TRANSFORM lr" 
and "POSITION ul") it works for text at the lower right corner, because 
the label increase function doesn't change the point position, and the 
text is written (bigger or not) on the left.

Thomas


Le 11/05/2011 21:42, Chris Jackson a écrit :
> Armin
>
> Trick works well - thanks.  Tried your other suggestion quickly but it 
> plays havoc with my graticule etc, so settling for the quick fix for now!
>
> Cheers
> Chris
>
> On 11 May 2011 17:40, Armin Burger <armin.bur...@gmx.net 
> <mailto:armin.bur...@gmx.net>> wrote:
>
>     Hi all
>
>     the map creation for PDF increases the size of TTF labels since
>     the map is requested with a higher resolution and is then stuffed
>     into a lower width/height as it actually is. This was to improve
>     the print quality, especially of fine structures. But it requires
>     higher original text sizes because they're shrinked with the map
>     image.
>
>     If you define a lower resolution for the PDF output in the config
>     xml then also the labels are not or less increased:
>
>     <print>
>     <pdfres>2</pdfres>
>
>     Setting it to 1 should not change the label sizes any more.
>
>     Since MS 5.6 they introduced a new mechanism that could probably
>     make this workaround obsolete, see
>     http://mapserver.org/development/rfc/ms-rfc-55.html
>
>     I have not had any look at it, though.
>
>     armin
>
>
>
>
>     On 11/05/2011 15:54, Chris Jackson wrote:
>
>         Thomas
>
>         I have played with both methods, the most success I have had
>         is with size 7
>         and aligning to the bottom right (just about stays out of the
>         way of the
>         scalebar on the left).  If if don't define a font size it is
>         barely legible
>         on the screen, but good for the PDF (equivalent to defining
>         'small').
>
>         Chris
>
>
>         On 11 May 2011 14:37, Thomas RAFFIN<traf...@sirap.fr
>         <mailto:traf...@sirap.fr>>  wrote:
>
>             I've got an idea... Are you using size in text ("small",
>             "big", ...) or
>             numerical (10, 12, ...)? With the default font given in
>             example?
>
>             For me with numerical values it works.
>
>             And you are right, the label are increased (else the
>             labels for real
>             objects are too small, due to pdf resolution). Maybe there
>             is an issue
>             with pdf resolution parameter...
>
>             Le 11/05/2011 15:07, Chris Jackson a écrit :
>
>                 Thomas
>
>                 This moves the location of the text around, but
>                 doesn't stop it being
>                 rendered in the PDF as jumbo text, I wondered whether
>                 there was some
>                 handle on the text size at PDF rendering time?
>
>                 Otherwise if I switch the font size to small in the
>                 map file, then the
>                 PDF looks much better, but on screen version is
>                 unreadable without a
>                 magnifying glass!
>
>                 I have used the label position which helps align two
>                 lines of text
>                 (one uses ll the other ul) - saves offsetting the
>                 points.  I may have
>                 to spread the lines apart so when they are rendered
>                 larger they don't
>                 overlap.
>
>
------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to