Re: [Rd] Automatic shortening of text to fit into area

2009-01-25 Thread Paul Murrell
Hi Prof Brian Ripley wrote: > Almost all devices do support clipping, so this is rather a minority > interest. As a measure of the rarity, I wrote that code almost 10 years ago and this is the first mention of this problem (though perhaps there are millions out there suffering in silence ...)

Re: [Rd] Automatic shortening of text to fit into area

2009-01-24 Thread Prof Brian Ripley
Almost all devices do support clipping, so this is rather a minority interest. The person who AFAIK worte that comment and designed the clipping in the engine is Paul Murrell. He has been on summer vacation, but it looks like he has just returned. I suggest contacting him directly if he do

[Rd] Automatic shortening of text to fit into area

2009-01-24 Thread Sebastian Fischmeister
Hello, A comment in engine.c states: "/* don't draw anything; this could be made less crude :) */". The following patch makes it less crude: If the device doesn't support clipping and the text doesn't fit into the area, then remove one character after another from the text until either