Issue 98344 - incorrect font size in charts
Summary: incorrect font size in charts
Status: CLOSED FIXED
Alias: None
Product: General
Classification: Code
Component: chart (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: PC Windows XP
: P3 Trivial (vote)
Target Milestone: ---
Assignee: wolframgarten
QA Contact: issues@graphics
URL:
Keywords: oooqa, regression
Depends on:
Blocks:
 
Reported: 2009-01-22 09:20 UTC by iwatson
Modified: 2013-02-24 21:20 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Base ODT file (minus one linked image) (68.15 KB, application/vnd.oasis.opendocument.text)
2009-01-22 09:22 UTC, iwatson
no flags Details
PDF with correct font size produced by OOo 2.4 (491.46 KB, application/pdf)
2009-01-22 09:23 UTC, iwatson
no flags Details
PDF with incorrect font size produced by OOo 3.0 (490.50 KB, application/postscript)
2009-01-22 09:24 UTC, iwatson
no flags Details
corrected version without font scaling (53.88 KB, application/vnd.oasis.opendocument.text)
2009-01-27 12:25 UTC, IngridvdM
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description iwatson 2009-01-22 09:20:25 UTC
Certain Writer documents that export correctly to PDF in 2.4 do not export
correctly to PDF in 3.0. Specifically, these documents contains charts which
were inserted into the document as OLE objects. The font size on the chart
labels in the PDF export made by 3.0 is significantly reduced for no apparent
reason and results in unacceptable output.

Current workaround is to use 2.4 for these PDF exports but this is not
sustainable in the long run.

A Writer file as well as PDFs produced from it with 2.4 and 3.0 are attached.
Comment 1 iwatson 2009-01-22 09:22:08 UTC
Created attachment 59580 [details]
Base ODT file (minus one linked image)
Comment 2 iwatson 2009-01-22 09:23:16 UTC
Created attachment 59581 [details]
PDF with correct font size produced by OOo 2.4
Comment 3 iwatson 2009-01-22 09:24:26 UTC
Created attachment 59582 [details]
PDF with incorrect font size produced by OOo 3.0
Comment 4 Rainer Bielefeld 2009-01-26 17:23:04 UTC
I checked with "Ooo 3.0.0 (DE) Multilingual version German UI WIN XP: [OOO300m9
(Build9358)]" and can confirm the reported effect for "Kolfinna final.odt", but
not with my own test documents (may be I do something wrong?). No problem with
"2.4.1  Multilingual version English UI WIN XP: [680m17(Build9310)]".

@iwatson:
Can you please contribute a more detailed step-by-step instruction hard to
create a sample document with 2.4?
Comment 5 IngridvdM 2009-01-27 12:24:14 UTC
I can confirm the problem. it is nothing special about the PDF export, it also
occurs when you simply double click on the charts so they are rendered freshly.
There is a problem in the files themselves. They contain style:text-position="0%
58%" which is a instruction  to scale the font size down to 58% of its regular size.
It would be interesting how these charts were created. Have they been migrated
from Microsoft Charts in the past?
The bad thing is that the wrong text scaling cannot be switched off in the user
interface so far. But I will attach a corrected file that does not have the
problem anymore.

Comment 6 IngridvdM 2009-01-27 12:25:23 UTC
Created attachment 59698 [details]
corrected version without font scaling
Comment 7 iwatson 2009-01-29 10:40:34 UTC
Many thanks for diagnosing the problem and for the corrected document. The chart
was originally created in Microsoft Excel and then copied into Microsoft Word,
and then the document was opened and edited in Writer. However I think I later,
while trying to fix the problem, copied it in again from Excel, either directly
from an open Excel window or by opening the Excel document with Chart -- I am
not sure. It would have been great to be able to diagnose the problem within
OpenOffice and thanks for any efforts in that direction.
Comment 8 IngridvdM 2009-01-29 13:20:28 UTC
Thanks for the info! Indeed the wrong information in the file is created during
import from excel. I fixed this now in that way that the wrong property is
ignored during rendering. Thus when the fix gets integrated all the documents
you created should display the font size again that is set in the user interface.
The creation of wrong files will be fixed within the separate issue 91800.

Fixed in CWS aw063.
Comment 9 Armin Le Grand 2009-01-30 11:05:26 UTC
AW->WG: This is a chart fix, please forward to chart testing, maybe ask IHA.
Comment 10 IngridvdM 2009-01-30 11:47:57 UTC
IHA->WG/KLA: To verify, load the attached document "Kolfinna final.odt" and
double click on any chart. The font size should not reduced by 58% anymore when
the chart is rendered freshly. Thanks!
Comment 11 wolframgarten 2009-01-30 12:57:56 UTC
Verified in CWS.
Comment 12 wolframgarten 2009-02-26 10:21:45 UTC
Tested in OOO310_m3. Closed.