Issue 33265 - GlyphFallback on PDF export with hebrew glyphs from Type1 fonts not working. WAS:[Reversed parethesis when exporting Hebrew documents with Type1 fonts to PDF]
Summary: GlyphFallback on PDF export with hebrew glyphs from Type1 fonts not working. ...
Status: CLOSED FIXED
Alias: None
Product: gsl
Classification: Code
Component: code (show other issues)
Version: OOo 1.1.2
Hardware: All Linux, all
: P3 Trivial with 1 vote (vote)
Target Milestone: OOo 2.0
Assignee: ulf.stroehler
QA Contact: issues@gsl
URL:
Keywords: oooqa, regression
: 33264 (view as issue list)
Depends on:
Blocks:
 
Reported: 2004-08-20 21:37 UTC by dotan
Modified: 2005-03-01 11:35 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description dotan 2004-08-20 21:37:14 UTC
Reversed parethesis when exporting Hebrew documents with Type1 fonts to PDF (the
exporting works fine with ttf fonts)

This a regression from the reported fixed issue #23202
http://www.openoffice.org/issues/show_bug.cgi?id=23202

You may find example on -
http://planet.nana.co.il/kamberd/OOo1.pdf
Comment 1 sforbes 2004-08-21 00:19:20 UTC
Confirnmed with 1.1.2 (1.1.1 was still ok)
Comment 2 eyalbens 2004-08-21 09:29:23 UTC
Oh no... This problem also comes with the Cut problem. 
 
Under KGhostView 3.2.2 (Ghostview 0.20) the sentence is cut in the 2 word. 
http://zcn.cdedicated.com/oo/bug1.png 
Comment 3 eyalbens 2004-08-21 09:41:42 UTC
Additions checking: 
Checked under OO 1.1.2 : 
http://zcn.cdedicated.com/oo/check.pdf 
 
Results (weiird): 
- Under KGhostView 3.2.2 (Ghostview 0.20): 
  http://zcn.cdedicated.com/oo/bug2a.png 
Seems to be perfect isn't it? 
 
- Under Kpdf 0.3 (Kde 3.2.2) : 
  http://zcn.cdedicated.com/oo/bul2b.png 
Here's the bug.. All reversed... 
Comment 4 dotan 2004-08-21 11:05:53 UTC
Should be noted-  
All my tests were performed using Xpdf and the Culmus fonts  
Comment 5 pavel 2004-08-21 14:02:01 UTC
*** Issue 33264 has been marked as a duplicate of this issue. ***
Comment 6 sforbes 2004-08-21 16:47:19 UTC
eyalbens: I am not sure I understand how the issues you see are related to this
report.

They sound more like a dup of issue #21271
Comment 7 christof.pintaske 2004-08-23 10:51:18 UTC
cp->hdu: the pdf looks fine in acroread. I have no idea about the "split in two
words" thing. Please have a look
Comment 8 dotan 2004-08-23 11:12:16 UTC
Please check again with the original PDF (on
http://planet.nana.co.il/kamberd/OOo1.pdf) since this is the only PDF here that
was written with type1 fonts (eyalbens's file was written with a ttf font).
Comment 9 dotan 2004-08-23 13:19:21 UTC
Checked again, the bug is there (Acrobat Reader on Windows XP)
Comment 10 sforbes 2004-08-23 14:59:36 UTC
Dotan- for the 2nd time: the issue that you are talking about is NOT the same
issue that this report is about.

Remember- one report, one issue. This report is about parentasis from type1
fonts getting reversed on export to PDF. other PDF export problems belong in
their own report, NOT HERE, where they are confusing everybody.
Comment 11 hdu@apache.org 2004-08-23 15:11:18 UTC
The problem on the unix platform is a duplicate to issue 23202 which has been
fixed in CWS vcl7pp1r4 for target OOo1.1.3. The problem on the Win32 platform is
probably related to issue 10218, but I'm not too sure. I cannot reproduce the
problem on Win32 with a recent SRC680 build?
Comment 12 dotan 2004-08-23 15:50:06 UTC
Sforbes- Thaks for the valuable lesson and please raed your mail for additional
comments in this regard.
Comment 13 eyalbens 2004-08-23 15:52:30 UTC
OK, I've used different fonts than Dotan, so my bug isn't related to this 
subject, sorry ... 
Comment 14 dotan 2004-09-26 12:45:06 UTC
Checked it on OOo 1.1.3 (under linux) and the bug is yet there (now it is masked
on first attemp with a bug regarding OOo using English font for puncuation in
Hebrew text)
To reproduce
1. Type an RTL hebrew text that includes parenthesis
2. Choose "Select All" (or Ctrl+A)
3. Set the fonts to TYPE I (eg. Nachlieli from Culmus)
4. Export to PDF.

My language settings- http://planet.nana.co.il/kamberd/OOo113.png
when setting the document to Naclieli-
http://planet.nana.co.il/kamberd/OOo113%2D2nd.pdf
When setting the font to Lucidasans-
http://planet.nana.co.il/kamberd/OOo113%2D3rd.pdf
Comment 15 hdu@apache.org 2004-09-29 12:45:57 UTC
Ooops. I found it. Fixed in CWS fontlists04.
Comment 16 hdu@apache.org 2004-10-13 15:38:22 UTC
reopening for reassingment
Comment 17 hdu@apache.org 2004-10-13 15:38:49 UTC
reassigning
Comment 18 hdu@apache.org 2004-10-13 15:39:24 UTC
HDU->US: please verify in CWS fontlists04
Comment 19 ulf.stroehler 2004-10-28 15:52:16 UTC
It doesn't seem to work for me. Worse, glyph fallback seems to be broken. 
us->hdu: pls .contact me. Thx.
Comment 20 ulf.stroehler 2004-10-28 15:53:05 UTC
.
Comment 21 ulf.stroehler 2004-10-29 09:51:21 UTC
If I understood well from debugging into this, we fall back to "Times New Roman"
with glyph fallback, which isn't too bad. Unfortunately "Times New Roman" is
only an alias to "Nimbus Roman No9 L" on JDS, which doesn't contain any hebrew
glyphs. Thus my bugdoc almost displays anything.

This reveals that a font on the glyph fallback list is chosen which is
considered to have a lot of glyphs, but without actually checking if this font
provides any of the required glyphs.

Either this is simply too expensive in terms of performance or it is forgotten(?).

US->HDU: pls. explain. Thx.
Comment 22 hdu@apache.org 2004-11-02 09:55:31 UTC
Other than from the encoding we don't know the unicode coverage of an X11
font..., so there is sometimes no glyph fallback, especially if the X11 font
claims that it covers all of iso10646-1.
Comment 23 hdu@apache.org 2004-11-02 10:00:00 UTC
HDU->US: please verify in the rebuilt of the fontlists04 CWS
I already submitted the followup issue 36490
Comment 24 hdu@apache.org 2004-11-02 10:00:58 UTC
.
Comment 25 ulf.stroehler 2004-11-03 17:29:11 UTC
US: the additionally encountered glyph fallback issue is fixed in the new
release of 'fontlists04' cws. But the original problem -reversed brackets- is
still visible. Sorry.
Comment 26 ulf.stroehler 2004-11-03 17:29:34 UTC
.
Comment 27 hdu@apache.org 2004-11-04 11:31:06 UTC
HDU->US: Since the CWS fontlists04 is too important for Beta and the GF problems
that were fixed for this issue are very important too, we shouldn't remove the
task from the CWS. I suggest to submit another followup issue.
Comment 28 hdu@apache.org 2004-11-04 11:31:31 UTC
.
Comment 29 ulf.stroehler 2004-11-04 17:00:56 UTC
Filed follow-up (clone) task (issue 36691) for this issue as the original
problem with reversed brackets with Type1 fonts on PDF export remains under
certain conditions.

Verifying this one though, as we'd like to integrate some crucial fixes
regarding glyphfallback on PDF export done with this issue.
Comment 30 ulf.stroehler 2005-02-16 11:02:09 UTC
Verified on MWS m78.8875.
Comment 31 dotan 2005-02-28 15:01:52 UTC
Bug remain in m79

Regards
Dotan
Comment 32 shlomif 2005-02-28 15:06:35 UTC
I can reproduce the bug: OOo 1.9.79, Mandrake 10.1. 
Comment 33 ulf.stroehler 2005-03-01 10:39:55 UTC
@dotan, shlomif: pls. read. This issue experienced a shift. 
In this task we fixed some requirements (glyphfallback on PDF export with Type1
fonts).

The original problem remains (see my comment from Nov. 4) and is now issue 36691.

PLEASE KEEP THIS "FIXED/VERIFIED" ISSUE CLOSED! 

Otherwise you keep on blocking OO.o 2.0.

Explanation: 

OO.o 2.0 (as well as the beforehand released ReleaseCandidates) can only ship
with a certain amount of open issues on the corresponding target. The directive
is to ship a release with zero bugs. Hence everyone is asked to limit the amount
of issues with target OO.o 2.0 which are assigned to him. And of course this is
controlled. 

Thus reopening this issue without need surely delays the release and forces me
to take some extra time and action on it which I simply don't have at the moment.
Comment 34 ulf.stroehler 2005-03-01 10:51:57 UTC
Closing Fixed/Verified issue again.
Comment 35 ulf.stroehler 2005-03-01 11:35:59 UTC
Adjusting Summary to reflect the changed subject of the issue.