Issue 50633 - PDF-export: softhyphens taken from different font when U+00AD is not in original font
Summary: PDF-export: softhyphens taken from different font when U+00AD is not in origi...
Status: CLOSED FIXED
Alias: None
Product: gsl
Classification: Code
Component: code (show other issues)
Version: OOo 2.0 Beta
Hardware: All All
: P3 Trivial (vote)
Target Milestone: OOo 2.0.1
Assignee: h.ilter
QA Contact: issues@gsl
URL:
Keywords: oooqa
: 50634 56309 59742 (view as issue list)
Depends on:
Blocks:
 
Reported: 2005-06-12 14:39 UTC by timi_openoffice
Modified: 2007-01-15 00:32 UTC (History)
3 users (show)

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


Attachments
Document producing the bug (6.27 KB, application/vnd.oasis.opendocument.text)
2005-06-12 14:39 UTC, timi_openoffice
no flags Details
result of the first export try (121.16 KB, application/pdf)
2005-06-12 14:40 UTC, timi_openoffice
no flags Details
result of the second export try (113.20 KB, application/pdf)
2005-06-12 14:41 UTC, timi_openoffice
no flags Details
desprition: see bug report (113.27 KB, application/pdf)
2005-06-12 14:41 UTC, timi_openoffice
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description timi_openoffice 2005-06-12 14:39:04 UTC
Steps to reproduce: (I was working with 1.9.104 on linux)

Open the attached document test.odt and export it to test1.pdf. The export of
the hyphens works, but the automatic hyphen and the manual hyphen looks a little
bit different. Then close OOo, reopen OOo and reopen the document und export to
test2.pdf: The automatic hyphen is very bad adjusted and too large! (Is he
replaced by OpenSymbol? When yes, why isn't he adjusted properly)

Maybe this has something to do with the pspfontcache (at least this is similar
to the problem I reportet as bug50341), because when I close OOo, open it
anotherway with another document, close it another way and repeat the steps to
export test1.pdf and test2.pdf, the results are invers.

This behavior I remember to occure casualy also with Arial and some other fonts
on 1.1.1 on windows.

Further, in test1.pdf, "Times New Roman" is also exportet, I'll report this as
an own issue. The hyphen seems nothing to have to do with this, because before
installing "Times New Roman", I've made the same experience with the hyphen
(test-before.pdf made from a similar odt I don't have no more). After
uninstalling "Times New Roman", he always produced the bad large hyphen.
Comment 1 timi_openoffice 2005-06-12 14:39:47 UTC
Created attachment 27108 [details]
Document producing the bug
Comment 2 timi_openoffice 2005-06-12 14:40:27 UTC
Created attachment 27109 [details]
result of the first export try
Comment 3 timi_openoffice 2005-06-12 14:41:10 UTC
Created attachment 27110 [details]
result of the second export try
Comment 4 timi_openoffice 2005-06-12 14:41:51 UTC
Created attachment 27111 [details]
desprition: see bug report
Comment 5 timi_openoffice 2005-06-12 14:46:18 UTC
The "Times New Roman"-bug is reported as bug50634.
Comment 6 michael.ruess 2005-06-14 07:52:49 UTC
Reassigned to HI.
Comment 7 sputnik1 2005-07-09 10:23:42 UTC
Confirmed different hyphen appearance (109 on Linux). Certainly a different
character being used for the two different hyphen sources. This is not an issue
in print or print preview.
Comment 8 lohmaier 2005-07-11 00:22:41 UTC
original summary: "Bad export of automatic hyphens to PDF"

confirming the problem. When using type1-fonts the symbol for soft-hyphen is
taken from a different font.

Since the soft-hyphen is not a printable character anyway, it should not cause
font-fallback to another font.
Comment 9 lohmaier 2005-07-11 00:25:32 UTC
*** Issue 50634 has been marked as a duplicate of this issue. ***
Comment 10 philipp.lohmann 2005-07-11 09:07:23 UTC
pl->hdu: seems to be a font matching issue ?
Comment 11 hdu@apache.org 2005-07-11 09:59:23 UTC
HDU->FME: on the display and on the printer the soft-hyphen U+00AD you replace
by the hyphen symbol U+002D. This should also happen when exporting to PDF...
Comment 12 hdu@apache.org 2005-07-11 10:07:21 UTC
This should have been
HDU->FME: on the display and on the printer you replace the soft-hyphen U+00AD
by the hyphen symbol U+002D. This should also be done when exporting to PDF...
Comment 13 frank.meies 2005-07-12 10:33:36 UTC
FME: Setting target to 'OOo 2.0.1'.
Comment 14 frank.meies 2005-07-27 11:10:03 UTC
FME: Fixed in cws swqbf36:

/cvs/sw/sw/source/core/text/EnhancedPDFExportHelper.cxx,v  <--  EnhancedPDFExp
new revision: 1.9.2.1; previous revision: 1.9
/cvs/sw/sw/source/core/text/txthyph.cxx,v  <--  txthyph.cxx
new revision: 1.17.108.1; previous revision: 1.17
/cvs/sw/sw/inc/EnhancedPDFExportHelper.hxx,v  <--  EnhancedPDFExportHelper.hxx
new revision: 1.5.4.1; previous revision: 1.5
Comment 15 frank.meies 2005-08-22 08:41:11 UTC
FME: Ready for QA.

re-open issue and reassign to hi@openoffice.org
Comment 16 frank.meies 2005-08-22 08:41:16 UTC
reassign to hi@openoffice.org
Comment 17 frank.meies 2005-08-22 08:41:21 UTC
reset resolution to FIXED
Comment 18 h.ilter 2005-09-05 16:33:49 UTC
Verified with cws swqbf35 = ok
Comment 19 h.ilter 2005-10-17 12:22:26 UTC
Still ok im master 680m134_8969
Comment 20 lohmaier 2005-10-21 01:13:21 UTC
*** Issue 56309 has been marked as a duplicate of this issue. ***
Comment 21 hdu@apache.org 2005-11-11 14:02:47 UTC
*** Issue 56309 has been marked as a duplicate of this issue. ***
Comment 22 lohmaier 2005-12-28 12:19:02 UTC
*** Issue 59742 has been marked as a duplicate of this issue. ***
Comment 23 lohmaier 2007-01-15 00:32:05 UTC
*** Issue 72992 has been marked as a duplicate of this issue. ***