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

Daniel Morissette dmorissette at mapgears.com
Wed Jan 28 13:24:42 EST 2009


+1 from here as well.

Daniel


Steve Lime wrote:
> I'm cool with it as well. The attribute binding will also need a tweak to use the double
> conversion routine instead of the int.
> 
> Steve
> 
>>>> On 1/28/2009 at 11:42 AM, in message
> <d2b988930901280942r7292a863gf885ed17d903f459 at mail.gmail.com>, thomas bonfort
> <thomas.bonfort at gmail.com> wrote:
>> 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
>>>
>>>
>>>
>>>


More information about the mapserver-dev mailing list