[mapserver-dev] Fractional label sizes (post RFC49 comments)

Tamas Szekeres szekerest at gmail.com
Fri Jan 30 19:09:32 EST 2009


I've implemented this one in trunk, let me know if anyone find any issues.

It must be noted that there are a couple of "double to int" warnings
possibly because of the style size changes that should also be reviewed.

Best regards,

Tamas



2009/1/28 thomas bonfort <thomas.bonfort at gmail.com>

> Tamas,
> I have no objection for this change
> For pixmap fonts, the size will have to be MS_NINT'd so as to fall
> back to one of the gd predefined constants. You might also want to
> look into the label's min/max size and see if they need to be adjusted
> and/or transformed to doubles also.
>
> best regards,
> thomas
>
> On Tue, Jan 27, 2009 at 22:27, Tamas Szekeres <szekerest at gmail.com> wrote:
> > Hi Folks,
> >
> > It would be reasonable to add fractional label size support as per RFC49
> > before the next release. (I thought it has already been addressed by this
> > RFC but unfortunately not). I guess however it wouldn't be a big deal
> since
> > either GD or AGG use label sizes of data type double internally when
> > rendering truetype labels. By adding this option I guess we could easily
> > configure scale dependent labels either with the SIZEUNITS=DD settings.
> > Another reason I've come up with this feature is to get better support of
> > setting the label sizes for OGR and using the STYLEITEM=AUTO option and
> > having the label sizes in map ground units in the mapinfo layer.
> >
> > I'd volunteer to support this change within RFC49 if no one will object
> to
> > this.
> >
> > Best regards,
> >
> > Tamas
> >
> >
> >
> >
> > _______________________________________________
> > mapserver-dev mailing list
> > mapserver-dev at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/mapserver-dev
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-dev/attachments/20090131/f6619043/attachment.html


More information about the mapserver-dev mailing list