Bug 59758 - Text not scaled when scaling a group of object
Summary: Text not scaled when scaling a group of object
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
3.6.4.3 release
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 100277 (view as bug list)
Depends on:
Blocks: DTP
  Show dependency treegraph
 
Reported: 2013-01-23 11:55 UTC by ZioTibia81
Modified: 2019-04-01 16:50 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Example of text not scaled (10.71 KB, application/vnd.oasis.opendocument.graphics)
2013-01-23 11:55 UTC, ZioTibia81
Details
Behavior of a Vector Graphics Editor (text scaled and "distorted" if necessary) (16.91 KB, application/pdf)
2013-01-23 11:57 UTC, ZioTibia81
Details
Example of text not scaled (10.71 KB, application/vnd.oasis.opendocument.graphics)
2013-01-23 11:59 UTC, ZioTibia81
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ZioTibia81 2013-01-23 11:55:34 UTC
Created attachment 73518 [details]
Example of text not scaled

Scenario A)

- Draw a circle
- Put some text inside this circle
- Group together circle and text
- Scale the group (halve dimensions of group)

You can see that all was scaled but not the font size.

Scenario B)

- Same as A but on text fame enable "adjust to frame"
(I don't know if it is the exact translation. In Italian locale is
"Adatta il testo alla cornice")

- Scale the group (halve dimensions of group)

Text was reduced but not scaled proportionally as others elements.

Scenario C)

- Same as B
- Scale the group (double dimensions)

All elements are doubled except of text size (text frame size yes but not font size)


--------

This behavior is correct in a text editor, but in a vector graphics editor when I scale a text frame I expect that also text inside was scaled.
Comment 1 ZioTibia81 2013-01-23 11:57:48 UTC
Created attachment 73519 [details]
Behavior of a Vector Graphics Editor (text scaled and "distorted" if necessary)
Comment 2 ZioTibia81 2013-01-23 11:59:22 UTC
Created attachment 73520 [details]
Example of text not scaled
Comment 3 Robinson Tryon (qubit) 2013-12-25 02:25:15 UTC
Although text will be scaled in a vector graphics editor, LibreOffice does have non-vector graphics capabilities. As such, it's unclear to me whether this is a bug or expected behavior.

Joel - Thoughts?
Comment 4 Joel Madero 2013-12-25 02:32:27 UTC
Indeed - I would agree but say that this is a fine enhancement request. Marking as such

Marking as 
New
Enhancement
Low - while it might be faster, you can change the size of the text normally still so it's not something preventing solid work - just slowing it down a tiny bit in specific situations.
Comment 5 ZioTibia81 2013-12-27 19:34:30 UTC
I noticed that this "bug" introduce problems on plugin for PDF to odg conversion. If the PDF contain a group of objects with text that was scaled, the result imported is a group scaled with text at the wrong size and position. Maybe that the plugin try to create a group in full size and set the scale.
Comment 6 Heiko Tietze 2016-05-30 13:12:08 UTC
The text box has the property "Fit to frame", enabled when the other 'fit to' options are disabled. According LibO help it "Resizes the text to fit the entire area of the drawing or text object." (but that doesn't work, neither in Draw nor in Writer). This option is always disabled for shapes.
Despite the fact that the text dialog is not easy to find (you have to go into text edit mode) and that the feature is not working I'd say this flag can be reused here. However, we would need a function to reset the object size to get back the original font size, or the actual font size doesn't change with resizing the parent and is restored when the "fit to frame" option is disabled.
Comment 7 Heiko Tietze 2016-06-09 07:07:38 UTC
*** Bug 100277 has been marked as a duplicate of this bug. ***
Comment 8 kolAflash 2016-06-09 18:40:06 UTC
(In reply to Heiko Tietze from comment #7)
> *** Bug 100277 has been marked as a duplicate of this bug. ***

Please also consider, that line widths also don't resize with the rest of the graphic. (described in my duplicate bug 100277)

Have a look at the attached ODT file.

http://bugs.documentfoundation.org/attachment.cgi?id=125556
(from bug 100277)


I also proposed, that font and line width scaling should be an optional behavior, which you can switch on or off.

Sometimes you need fonts and line widths to stay constant.
And sometimes you like to resize an ODG graphic from Draw like an imported SVG or raster graphic.

And it's a pity and work-time consuming, if you need to export an ODG to SVG and reimport it into LibreOffice. Instead of just copy-pasting from Draw to Writer.


--

Big thanks for the for!
LibreOffice is doing great for writing my bachelor thesis!
Comment 9 paulystefan 2019-04-01 16:50:26 UTC
work around in v 6.1.5.2 x64 and v 6.2.1.1 in win 10 x64

grouped object: 

convert -> in Metafile

then all deformation works scaled, but you can not change the text.

After breaking of group the text deforms to a normal type fashion.