The only thing you can do at the moment is add an svg tag to the way.  This gets passed by Osmarender to svg and affects the rendered result.  So <code>svg:font-size=0.5 </code>would make the caption smaller (see <a href="http://wiki.openstreetmap.org/index.php/Osmarender/Tips">
http://wiki.openstreetmap.org/index.php/Osmarender/Tips</a>).  This is not an especially elegant thing to do so I'm not recommending it, just pointing out that it is there.<br><br>I did start looking at a couple of other ways of achieving this by modifying Osmarender.  One approach would be to create an artificial, transparent, extension to the path in the same direction as the last segment of the path.  The caption would then render along that path.
<br><br>Another approach I was looking at was to calculate the length of the path and then compare this to the length of the caption and then either not render the caption, or render it at a reduced size.<br><br>I don't have time to re-visit either of these ideas for some weeks, so if anyone is inspired then they are welcome to have a go.  
<br><br>80n<br><br><div><span class="gmail_quote">On 1/23/07, <b class="gmail_sendername">David Earl</b> <<a href="mailto:david@frankieandshadow.com">david@frankieandshadow.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Is there any way of persuading osmarender (by changing the osm-map-features<br>file) not to clip the names of short streets? I'd much rather the name<br>protruded off the ends than be incomplete.<br><br>David<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></blockquote></div><br>