
On Di, 2004-12-14 at 06:37 -0400, bulia byak wrote:
Thanks, that will be great. However, taking it just a bit further :-). Scaling the text varies the height/width/both. The font size refers to the height. Do you propose also indicating the width changes also? I can see that this might be tricky since for any size change the resultant width could be greater/lesser than the uniformly scaled text width. On the other hand none of the other drawing programs seems to do this and it might be a small feather in our cap or perhaps a barb.
No. Any transform will be factored into two compenents: uniform scale and everything else. The uniform scale will be achieved by scaling the font size, everything else will still be applied as transform= attribute as before. The visible result will be the same.
Starting out reading this thread I right away was aware of the problem with non-uniform scaling. However, I actually would introduce a "Font Width" spinbutton for fonts. This is done in InDesign and it's a great tool (e.g. to fake small caps). Since I'd allow changed font widths within flow text, I'm not sure, the transformation will work, nor if there are other means of specifying the width. concerning the scaling in height, I do suggest to _not_ show the new size but also have spinbutton for this showing the percentage of the original height. A button "set as 100%" for height and width will then adjust the font-size according to the skewed/streched width or the height respectively. I think this way all needs are served ;)
Just my 0.02 €
David