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.


Chris

On 11 May 2011 13:09, Thomas RAFFIN <traf...@sirap.fr> wrote:

> This works for me:
>
> LAYER
>     NAME "credits"
>     STATUS DEFAULT
>     TRANSFORM lr
>     TYPE ANNOTATION
>     FEATURE
>         POINTS
>         -5 -5
>         END
>         TEXT 'blabla'
>     END
>     CLASS
>         LABEL
>             TYPE TRUETYPE
>             FONT "FreeSans"
>             POSITION ul
>             COLOR 0 0 0
>             SIZE 8
>             FORCE TRUE
>         END
>     END
> END
>
> The idea is to put the object on the angle you want, (here lower right,
> with 5 pixels offset in X an Y). Then put the label upper left of this
> feature. I don't know if font could change something.
>
> Le 11/05/2011 13:38, Chris Jackson a écrit :
> > Hi Thomas
> >
> > Running 4.1.1 (though there may be a slight dev flavour in there...).
> >
> > Chris
> >
> > On 11 May 2011 12:30, Thomas RAFFIN <traf...@sirap.fr
> > <mailto:traf...@sirap.fr>> wrote:
> >
> >     What is your pmapper version please ?
> >
> >     Le 11/05/2011 13:19, Chris Jackson a écrit :
> >     > Hi all
> >     >
> >     > I have a variety of layer dependent credit text in the mapfile
> >     (Thanks
> >     > Thomas for help there), which is positioned fine on the screen
> >     in pmapper,
> >     > however the PDF print output goes to town with the fonts and
> >     makes the text
> >     > huge, overlap and partially excluded from the map frame.  I am
> >     guessing this
> >     > is down to differences in rendering fonts on a screen and in
> >     print.  Are
> >     > there any rules of thumb to minimise the discrepancies and produce
> a
> >     > sensible PDF print output?
> >     >
> >     > Thanks
> >     >
> >     > Chris
> >     >
> >
> ------------------------------------------------------------------------------
> >     > 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
> >     <mailto:pmapper-users@lists.sourceforge.net>
> >     > https://lists.sourceforge.net/lists/listinfo/pmapper-users
> >     >
> >     >
> >     >
> >
> >
> ------------------------------------------------------------------------------
> >     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
> >     <mailto:pmapper-users@lists.sourceforge.net>
> >     https://lists.sourceforge.net/lists/listinfo/pmapper-users
> >
> >
>
> ------------------------------------------------------------------------------
> 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
>
------------------------------------------------------------------------------
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