Hello,

Okay ! Thank you.
I get it a little better now.
I was working on Belgian map, which is close France.
The "wrap_character" attributes works only with trunk rev, so that why my
trials (in 0.6.1) where fruitless.
I will have a look at it.
Still having only one breaking char is short as depending on the country
standards are changing but I think we can handle a part of this problem with
filters (depending on the data source and info we have we could for instance
defines different symbols filtering on countries).

I'll keep investigate around ratio and of course share if anything comes
out.

Regards,

Nicolas



Warren Vick wrote:
> 
> Hello Nicolas,
> 
> I believe wrap_width is in pixels as I usually work with values of around
> 30-40.
> 
> I'd love to see better text wrapping with *multiple* wrap characters. I
> was generating maps for France recently which is a country which
> hyphenates town names a lot (e.g. "very-long-town-name"). So, in this case
> I'd like to break on spaces and "-". There was some good progress in label
> control in (http://trac.mapnik.org/changeset/1254) but I think it fell
> short of multiple character breaks. I guess there may be cases where there
> needs to be an expression of "break before" or "break after" (as current).
> 
> Previously discussed, I'd also like to see a hard break, perhaps with a
> C-style "\n". This would be very helpful when a label really needs to be
> split for some reason. e.g. 
> 
> ROMA
> (ROME)
> 
> text_ratio sounds intriguing but I've never tried it as it's documented
> with "?". If you find out what it does, please share!
> 
> Regards,
> Warren
> _______________________________________________
> Mapnik-users mailing list
> [email protected]
> https://lists.berlios.de/mailman/listinfo/mapnik-users
> 
> 

-- 
View this message in context: 
http://www.nabble.com/long-text-wrap.-tp25471485p25491946.html
Sent from the Mapnik - Users mailing list archive at Nabble.com.

_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to