Issue 90037 - eps export of vertical italic text strangely wrong
Summary: eps export of vertical italic text strangely wrong
Status: CLOSED FIXED
Alias: None
Product: Draw
Classification: Application
Component: code (show other issues)
Version: OOo 3.0 Beta
Hardware: All Linux, all
: P3 Trivial (vote)
Target Milestone: OOo 3.0
Assignee: eric.savary
QA Contact: issues@graphics
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-27 19:55 UTC by caolanm
Modified: 2008-08-05 21:35 UTC (History)
2 users (show)

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


Attachments
source document (9.40 KB, application/vnd.oasis.opendocument.graphics)
2008-05-27 19:56 UTC, caolanm
no flags Details
output eps (46.17 KB, application/postscript)
2008-05-27 19:56 UTC, caolanm
no flags Details
how it looks for me (4.89 KB, image/png)
2008-05-27 19:57 UTC, caolanm
no flags Details
patch to fix (2.76 KB, patch)
2008-06-03 13:07 UTC, caolanm
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
Description caolanm 2008-05-27 19:55:11 UTC
In the attached .odg on export to .eps (attached) I get the attached screenshot.
Most of the text appears ok, except for the italic characters which are whacked out
Comment 1 caolanm 2008-05-27 19:56:06 UTC
Created attachment 53993 [details]
source document
Comment 2 caolanm 2008-05-27 19:56:58 UTC
Created attachment 53994 [details]
output eps
Comment 3 caolanm 2008-05-27 19:57:37 UTC
Created attachment 53995 [details]
how it looks for me
Comment 4 caolanm 2008-05-31 16:11:24 UTC
.
Comment 5 caolanm 2008-06-03 13:07:54 UTC
Created attachment 54205 [details]
patch to fix
Comment 6 caolanm 2008-06-03 13:23:03 UTC
rats, cairo uses FT_Set_Transform so we'd need to ensure it's unset in a setsize
sharing fontface scenario
Comment 7 caolanm 2008-06-04 09:18:08 UTC
fixed in cmcfixes46
Comment 8 caolanm 2008-06-06 13:13:30 UTC
reassign for qa
Comment 9 eric.savary 2008-06-11 16:24:35 UTC
@cmc: I cannot reproduce the original bug (in a master!). Please give me some hints!

Using DEV300_m14 on Fedora (vncviewer session).
Loading odg into OOo
Export to eps (all options to default)
Re-importing eps -> OOo or eps2pdf and -> acrotread: the italic text is ok...
Comment 10 caolanm 2008-06-11 16:31:39 UTC
Here's how it should be reproducable
a) Load odg into OOo
b) Export to eps (all options to default)
c) Open .eps in e.g. evince or gs

Tf you are using vnc then:
> xdpyinfo | grep RENDER
must output
    RENDER
otherwise the cairo text renderer is not being used to render text, and so the
effect won't trigger. Some versions of vnc don't support RENDER and some ones
do, so that might be a factor.
Comment 11 eric.savary 2008-06-12 10:57:22 UTC
Found a local Ubuntu: fixed! :)
Comment 12 maand 2008-08-05 21:35:35 UTC
The export of the test.odg into *.eps looks correct in evince. The italic 
characters are in the right place and direction.
Verified on OpenSuSE 10.3, KDE 3.5.9. Closing.