Bug 55581 - FILEOPEN .CDR: too big character size mangles text contents, general wrong text size problems
Summary: FILEOPEN .CDR: too big character size mangles text contents, general wrong te...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Drawing (show other bugs)
Version: 4.0.0.0.alpha0+ Master
Hardware: Other Windows (All)
: medium normal
Assignee: Not Assigned
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-03 14:54 UTC by Rainer Bielefeld Retired
Modified: 2013-11-09 12:13 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:


Attachments
Test Kit with Screenshot (1.44 MB, application/zip)
2012-10-03 14:54 UTC, Rainer Bielefeld Retired
Details
Sample 2 with too big characters (1.33 MB, application/vnd.corel-draw)
2012-10-04 14:14 UTC, Rainer Bielefeld Retired
Details
Sample 3 With too small Characters (1.34 MB, application/vnd.corel-draw)
2012-10-04 14:15 UTC, Rainer Bielefeld Retired
Details

Description Rainer Bielefeld Retired 2012-10-03 14:54:03 UTC
Created attachment 68042 [details]
Test Kit with Screenshot

Steps how to reproduce with parallel installation of Master "LOdev  3.7.0.0.alpha0+   -  ENGLISH UI / German Locale  [Build ID: c7e559]"  {tinderbox: @16, pull time 2012-10-03 05:46:26} on German WIN7 Home Premium (64bit):

1. open .cdr from attached test kit
   Expected: should look similar to this here
             <http://www.bielefeldundbuss.de/bilder/logo500T.gif>
   Actual: Completely mangled 

The problem is not the different front (spomething different from "Pump Triline", but the linefeed(s) in the text. The reason is the too small page size A4. If you resize to A0 and increase Element size proportional by clicking a control point at the right drag it with pushed mouse button to the right you will get a more or less normal view.

"LOGO0 (2).CDR" is a very old CorelDRAW 7 document, "LOGO0Times.cdr" has been created with CorelDRAW X6 from the old document, I replaced "Pump Triline" font by "Times New Roman". Strange, but something different:  "LOGO0Times.cdr" continues showing "Pump Triline" in LibO7, but CorelDRAW correctly shows TNR.
Comment 1 Rainer Bielefeld Retired 2012-10-04 14:12:25 UTC
May be my first analysis was a little too quick, I also see that mangled Test in a New samples document with sufficient page size.
Comment 2 Rainer Bielefeld Retired 2012-10-04 14:14:17 UTC
Created attachment 68082 [details]
Sample 2 with too big characters

In this Sample documents the big letters in the Logo have text size 78 when opened with LibO (instead of 58 in DorelDRAW
Comment 3 Rainer Bielefeld Retired 2012-10-04 14:15:57 UTC
Created attachment 68083 [details]
Sample 3 With too small Characters

Text in Text Boxes shows character size 12pt instead of 48
Comment 4 Fridrich Strba 2012-10-05 06:41:01 UTC
This document is a Corel Draw x6 document, where the new way of keeping character properties started: in a string that looks a bit xml-ish. We are not yet supporting that way of keeping them :(
So, more of a feature request then a bug, a workaround could be to save in some version like x3 file-format and there the sizes should be read right.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.