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> 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.
> >
> >
> > Chris
> >
> > On 11 May 2011 13:09, Thomas RAFFIN <traf...@sirap.fr
> > <mailto: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>
> >     > <mailto: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>
> >     > <mailto: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>
> >     > <mailto: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