Issue 15437 - Distorted Text in Palatino Linotype Text
Summary: Distorted Text in Palatino Linotype Text
Status: CLOSED FIXED
Alias: None
Product: Draw
Classification: Application
Component: code (show other issues)
Version: OOo 1.1 RC
Hardware: PC Windows XP
: P3 Trivial with 2 votes (vote)
Target Milestone: OOo 1.1.1
Assignee: wolframgarten
QA Contact: issues@graphics
URL:
Keywords:
: 15643 19357 20859 22607 22895 24877 (view as issue list)
Depends on:
Blocks:
 
Reported: 2003-06-09 17:40 UTC by squirrel
Modified: 2005-02-15 09:07 UTC (History)
2 users (show)

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


Attachments
Two example files which show the problem in OO Beta 2. (18.20 KB, application/octet-stream)
2003-06-10 09:40 UTC, squirrel
no flags Details
Screenshot at 622% mag. The 3pt font in the background is scratched. (57.04 KB, application/octet-stream)
2003-06-10 12:05 UTC, squirrel
no flags Details
French text document using the Palatino Linotype font (6.49 KB, application/vnd.sun.xml.writer)
2005-02-15 09:07 UTC, goa103
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description squirrel 2003-06-09 17:40:09 UTC
It looks like the quality of the pdf export has dropped badly in the beta 2,
comparing it to beta 1 (which has an overwhelming PDF export, indeed!). The loss
of quality becomes increasingly apparent when using small fonts. It is already
significant with a 9pt font, but with a 3pt font (yes, really I use that
sometimes) it is obvious.

This effect is always reproducable. Create an empty drawing and place some text
in it and export it to PDF. 
It seems to me that this problem always occurs.
Comment 1 wolframgarten 2003-06-10 08:34:35 UTC
This is not reproduceable here. Please attach a sxd file and the
exported pdf file where the defect is visible. Which font do you use?
Thanks in advance.
Comment 2 squirrel 2003-06-10 09:40:11 UTC
Created attachment 6764 [details]
Two example files which show the problem in OO Beta 2.
Comment 3 squirrel 2003-06-10 09:44:55 UTC
Sorry, I cannot attach the cracked PDFs as I already uninstalled OO
Beta 2 and erased them. My fault, but the problem should occur when
you export the example files provided to PDF. 
I use the Font "Palatino Linotype". It comes with OO, I suppose.
Comment 4 squirrel 2003-06-10 11:24:59 UTC
I recall that the Text already looked distorted in Draw's Window
before exporting the graphic. Perhaps this issue is not related to the
PDF export at all.
Comment 5 wolframgarten 2003-06-10 11:31:45 UTC
Could you please attach a screenshot of the exact text parts that look
distorted? Thanks.
Comment 6 squirrel 2003-06-10 12:05:14 UTC
Created attachment 6771 [details]
Screenshot at 622% mag. The 3pt font in the background is scratched.
Comment 7 wolframgarten 2003-06-10 12:56:36 UTC
Do you mean with "scratched" that the distance between the characters
is different? I can see nothing else that seems to be wrong. Thansk
for your  help.
Comment 8 squirrel 2003-06-10 13:07:11 UTC
Sorry for being unspecific. Yes, I mean:
1. The distance between the characters is wrong.
2. The position of the text as a whole is wrong. It should be within
the bounds of the rectangles.

With OO Beta 1, both of the above problems disappear.
Comment 9 wolframgarten 2003-06-10 13:24:28 UTC
Ok, now I see. Change the Summary line.
Comment 10 wolframgarten 2003-06-10 13:25:59 UTC
This looks wrong in a current internal version, too. Reassigned to Malte.
Comment 11 dankegel 2003-06-11 05:58:17 UTC
If Wolfram repeated it, us external triage folks don't need to, I think,
so I'm marking this NEW...
Comment 12 malte_timmermann 2003-06-19 16:46:52 UTC
P1? A little bit crazy, changing to P3...

MT->FL: Problem occours since we format for screen instead of for 
printer. Screen has much less DPI than Printer/PDF.
This is more a general descission for your team: We could reformat 
for the PDF, but then you might have other line breaks, same like 
changing the printer.
There are several options you can discus:
1) Should we always format for PDF instead of for Window, if you 
don't use printer metrics?
2) Reformat for PDF-Export, and don't care if line breaks differ?
3) Offer to add PDF-Export as a printer, and the user can 
use 'Printer Setttings...' for choosing this. If he doesn't use 
that 'printer' and starts PDF export, you can give a message that 
line breaks can differ, and suggest to choose PDF-Export-Printer for 
WYSIWYE (E=Export). 
Comment 13 squirrel 2003-07-24 17:09:16 UTC
I do not understand these suggestions. In my opinion, a document must
be as accurate as the targeted device can be. Increasing the accuracy
only for the PDF export is not sufficient since on the screen still a
deviation would be noticable. In a WYSIWIG environment all devices
should show the same. This was the case for OO 1.1 beta 1, why not
reestablish this behaviour?

I still think it is a P1 issue since it is present in all Draw
documents with text on the screen and in the printouts. 
Comment 14 squirrel 2003-07-24 17:10:59 UTC
I should have mentioned that this issue is still present in OOo 1.1 RC.
Comment 15 frank.loehmann 2003-07-29 16:28:25 UTC
FL->CJ: What do you think about this issue (sorry havn't seen this one
in my intray before).
Comment 16 frank.loehmann 2003-07-29 16:49:23 UTC
Reassigned
Comment 17 christian.jansen 2003-08-04 09:28:17 UTC
Here are my thoughts.
...
Reformat for PDF-Export, and don't care if line breaks differ?
...
Why should there be any dufferent line breaks? Currently I have no
clue, but from a users point of view would I expect to see exacly that
what I have on my screen. Do Corel, Illustrator or  MS with a PDF
Export do have the same problems? I think not. We should give the
reformat a try, but when differences occour, we have to think about an
other soulution. Frank do you agree?
Comment 18 frank.loehmann 2003-10-20 13:56:14 UTC
FL->WG: We have already changed the algorithm for SO 7 PP1. We now use
2400 DPI instead of 600 DPI for the virtual device for formatting our
documents. Please have a look if this problem still occurs in a
current build. Thank you!
Comment 19 wolframgarten 2003-10-20 14:17:33 UTC
Having a closer look at doc UmlDiSVG.sxd you can see that the font
already looks distorted before exporting to pdf, so this has nothing
to do with PDF (like Jens Fransson suggested 2003-06-10 03:24 PDT).
Please have a look at it with a 6.0. Maybe this is connected to
internal bug #112335?? Please take a look. Reassigned to Andre.
Comment 20 squirrel 2003-10-21 11:22:34 UTC
Issue is still present in release 1.1.0. Looks like I have to stick
with 1.1 beta 1...
Comment 21 wolframgarten 2003-10-27 09:23:50 UTC
Set to Office later by demand of AF.
Comment 22 wolframgarten 2003-10-27 10:08:08 UTC
Changed to target 1.1.1 again. That was a mistake, sorry.
Comment 23 groucho266 2003-10-27 10:18:59 UTC
Setting the target to Office later and back again was my fault.  I'm
sorry about that.

We are now using the VirtualDevice::SetReferenceDevice() method to
increase the resolution used for screen formatting from 96 DPI to 600
DPI.  The resulting text formatting is much better. 
Comment 24 squirrel 2003-10-28 09:32:16 UTC
I am pleased to hear that! Is there any way (other than building from
cvs) for me to get an OO version where this issue is fixed? Or do I
have to wait for the next official release?
Comment 25 groucho266 2003-10-28 10:17:48 UTC
Please check.
Comment 26 wolframgarten 2003-10-31 13:21:55 UTC
The fix is not as good as the 6.0 was. Back to you. Please have a look
at the normal, not exported file.
Comment 27 wolframgarten 2003-10-31 13:46:27 UTC
Back to me, my fault ;-)
Set to fixed.
Comment 28 wolframgarten 2003-10-31 13:47:00 UTC
Back to me.
Comment 29 wolframgarten 2003-10-31 13:47:22 UTC
Fixed.
Comment 30 wolframgarten 2003-10-31 13:47:41 UTC
Verified in CWS.
Comment 31 christian.guenther 2003-11-06 11:50:38 UTC
*** Issue 20859 has been marked as a duplicate of this issue. ***
Comment 32 christian.guenther 2003-11-06 11:53:45 UTC
*** Issue 19357 has been marked as a duplicate of this issue. ***
Comment 33 wolframgarten 2003-11-26 14:56:06 UTC
*** Issue 22895 has been marked as a duplicate of this issue. ***
Comment 34 christian.guenther 2003-12-08 12:32:47 UTC
*** Issue 22607 has been marked as a duplicate of this issue. ***
Comment 35 wolframgarten 2003-12-09 10:26:47 UTC
Tested in master. Closed.
Comment 36 christian.guenther 2004-02-02 12:28:31 UTC
*** Issue 24877 has been marked as a duplicate of this issue. ***
Comment 37 christian.guenther 2004-02-27 13:08:58 UTC
*** Issue 15643 has been marked as a duplicate of this issue. ***
Comment 38 goa103 2005-02-15 09:07:31 UTC
Created attachment 22635
Comment 39 goa103 2005-02-15 09:07:43 UTC
Created attachment 22636 [details]
French text document using the Palatino Linotype font