On 9/24/07, <b class="gmail_sendername">Alex Mauer</b> <<a href="mailto:hawke@hawkesnest.net">hawke@hawkesnest.net</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
80n wrote:<br>> the way. The obvious solution is to limit this recursion to, say, 20<br>> segments, and just assume that names will fit if the way has more<br>> segments than this.<br><br>Of course, this might not be true. Is it possible to, rather than
<br>finding the length of the entire way and checking if the name will fit<br>within that, instead find the largest desired length of the name, and<br>recurse until either the way is longer than that (meaning it fits) or<br>
the complete way is found (meaning it will not fit and the text must be<br>shrunk or truncated or whatever).</blockquote><div><br>Yes, that is absolutely a much better way to deal with this. I should think before I write.
<br> </div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">-Alex Mauer "hawke"<br><br><br>_______________________________________________
<br>talk mailing list<br><a href="mailto:talk@openstreetmap.org">talk@openstreetmap.org</a><br><a href="http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk">http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk
</a><br><br><br></blockquote></div><br>