Hello list,
Would it make sens to include text scale information via Edit->Paste Style? I am talking about XML editor attribute: transform scale(X,Y)
I understand that most objects shouldn't have scale information contained in their style information (so that it doesn't automatically scale the objects that will have this style applied), but isn't text different? How else can I have my text look like other text in the document? Isn't this what most people would need/expect?
Karol
Karol Krenski wrote:
I understand that most objects shouldn't have scale information contained in their style information (so that it doesn't automatically scale the objects that will have this style applied), but isn't text different? How else can I have my text look like other text in the document? Isn't this what most people would need/expect?
That depends. It's related to the line-width problem: Let's say, I create a line with a width of 0.2inch.
Now I create a complex object out of those.
And then I scale that. When I reduce the size and the line width isn't scaled along, eventually, the widths will be larger than the object.
If I scale that up, the lines will soon vanish (with respect to the dimensions of the object).
User B, OTOH, creates a complex drawing and needs some line to have a certain width (a ruler, for example).
After he finished, he finds that the drawing doesn't fit the available space on the printout, so he scales the whole thing down. If the line widths would scale along, his rulers would be messed up. So user B would become quite desperate if there was no way to prevent this.
I guess that calls for an option in the style dialog which says if text height/text spacing/line width/etc. should scale or not.
It should be possible to specify those with CSS styles, so I can control this from a central point.
On 10/31/05, Karol Krenski <pldmimooh@...954...> wrote:
Hello list,
Would it make sens to include text scale information via Edit->Paste Style? I am talking about XML editor attribute: transform scale(X,Y)
By default, scale component of transform for text is optimized into the font size of the text, and therefore becomes part of its style that can be copy/pasted. This does not work only if you have an old version of Inkscape (before 0.41 I think) or if you switched "Store transforms" in prefs from "optimize" to "preserve".
So the answer to your question is: Yes, it's already done this way, though you can switch it off if you prefer.
-- bulia byak Inkscape. Draw Freely. http://www.inkscape.org
participants (3)
-
Aaron Digulla
-
bulia byak
-
Karol Krenski