Issue 14895 - Flash export does not show "holes" in letters
Summary: Flash export does not show "holes" in letters
Status: CLOSED FIXED
Alias: None
Product: gsl
Classification: Code
Component: code (show other issues)
Version: OOo 1.1 Beta2
Hardware: PC Linux, all
: P3 Trivial with 1 vote (vote)
Target Milestone: OOo 2.0
Assignee: wolframgarten
QA Contact: issues@graphics
URL:
Keywords:
: 18703 20096 20617 20666 22897 (view as issue list)
Depends on:
Blocks:
 
Reported: 2003-05-26 11:29 UTC by ycopin
Modified: 2004-02-11 14:43 UTC (History)
2 users (show)

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


Attachments
Screenshot of a Flash export (9.14 KB, image/png)
2003-05-26 11:30 UTC, ycopin
no flags Details
Test-case for the flash export (7.45 KB, application/octet-stream)
2003-05-26 11:34 UTC, ycopin
no flags Details
Test-case for the flash export (7.45 KB, application/octet-stream)
2003-05-26 11:35 UTC, ycopin
no flags Details
Result of the test-case export to Flash (3.39 KB, application/octet-stream)
2003-05-26 11:39 UTC, ycopin
no flags Details
OOo Impress presentation testing different font types (8.34 KB, application/octet-stream)
2003-08-20 15:38 UTC, lievbuts
no flags Details
Screenshot of fonts demo in OpenOffice (Zapf Dingbats is not OK, the rest is) (71.28 KB, image/png)
2003-08-20 15:43 UTC, lievbuts
no flags Details
Flash export of fonts demo: TrueType fonts are fine (16.30 KB, application/octet-stream)
2003-08-20 15:44 UTC, lievbuts
no flags Details
Screenshot of font demo flash export: problems with non-Truetype and Zapf Dingbats (76.23 KB, image/png)
2003-08-20 15:46 UTC, lievbuts
no flags Details
Bitstream vera works but non-TTF stuff don't (13.18 KB, application/octet-stream)
2003-08-27 09:54 UTC, byte
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description ycopin 2003-05-26 11:29:09 UTC
When exporting to Flash, the letters with "holes" (e.g. "o", "e", etc.) have
their holes filled with ink color.
Comment 1 ycopin 2003-05-26 11:30:10 UTC
Created attachment 6427 [details]
Screenshot of a Flash export
Comment 2 ycopin 2003-05-26 11:34:09 UTC
Created attachment 6428 [details]
Test-case for the flash export
Comment 3 ycopin 2003-05-26 11:35:54 UTC
Created attachment 6429 [details]
Test-case for the flash export
Comment 4 ycopin 2003-05-26 11:39:16 UTC
Created attachment 6430 [details]
Result of the test-case export to Flash
Comment 5 wolframgarten 2003-05-26 13:22:37 UTC
Reassigned to Christian.
Comment 6 christian.guenther 2003-05-27 13:09:30 UTC
set to new
Comment 7 christian.guenther 2003-05-28 11:13:54 UTC
I change the target
Comment 8 byte 2003-06-17 15:00:59 UTC
Just to make sure that this works on Solaris and the Windows 
releases. Just a bug in the Linux release. Fixing this is 
probably "urgent" as a lot of Linux users do use OOo.
Comment 9 christian.guenther 2003-06-17 15:30:17 UTC
I can't reproduce the bug.
Please have a look if you can reproduce it.
Comment 10 byte 2003-06-17 23:27:29 UTC
I have managed to succeed in reproducing the issue. OO1.1beta2 was
installed from the download package you gave, and not from source, so
maybe that's what makes the difference? I can vouch that it works on
Windows platforms, but is generally broken on a RedHat 8/9 install,
and a fresh Debian install.

http://bytebot.net/bugs/Impress-Linux-1.1Beta2.swf <-- my example of
the broken
bit.
Comment 11 clippka 2003-06-27 10:20:44 UTC
will have a look
Comment 12 lievbuts 2003-08-19 16:12:26 UTC
I can confirm this problem in OOo 1.1 RC3 on Gentoo Linux. 
Additionally, some letters are smaller than others. 
Comment 13 lievbuts 2003-08-20 15:38:08 UTC
Created attachment 8603 [details]
OOo Impress presentation testing different font types
Comment 14 lievbuts 2003-08-20 15:41:55 UTC
I have attached a presentation file testing different fonts. 
It was made with OOo 1.1 RC3 on Gentoo Linux. 
It appears that the "filling-in problem" only occurs with 
non-TrueType fonts (lower part of the slide). 
The presentation I was looking at earlier had most of its text 
in "Times New Roman" (TrueType), but because this font was  
not available in OpenOffice, it was substituted by "Times" (not 
TrueType). 
 
Comment 15 lievbuts 2003-08-20 15:43:31 UTC
Created attachment 8604 [details]
Screenshot of fonts demo in OpenOffice (Zapf Dingbats is not OK, the rest is)
Comment 16 lievbuts 2003-08-20 15:44:10 UTC
Created attachment 8605 [details]
Flash export of fonts demo: TrueType fonts are fine
Comment 17 lievbuts 2003-08-20 15:46:45 UTC
Created attachment 8606 [details]
Screenshot of font demo flash export: problems with non-Truetype and Zapf Dingbats
Comment 18 lievbuts 2003-08-20 15:49:29 UTC
This explains why the problem does not occur in Windows. I  
don't know anyone who still uses anything but TrueType on 
Windows. 
 
Comment 19 byte 2003-08-23 06:50:39 UTC
If we don't figure this out before 1.1 final, its going to look awful
when people try it out. Or how do you propose we give a guide stating
that "this is how you install TTF's on Linux"? It has an effect on RC3
which I'm using on Linux as well.
Comment 20 byte 2003-08-27 09:54:10 UTC
Created attachment 8797 [details]
Bitstream vera works but non-TTF stuff don't
Comment 21 byte 2003-08-27 09:54:35 UTC
Confirm it to be with regards to a TrueType Font versus a non-TTF
issue. The title is a TTF, whereas the other one isn't. I've used the
Bitstream Vera TTF one, as a test. Bitstream vera sans (ttf) for the
title, and Thorndale (non-TTF) for the remaining text.
Comment 22 plarjani 2003-08-29 17:20:19 UTC
Will this bug be fixed by 1.1 final release?

We have converted all of our systems to Linux, but we still have to
have one Windows machine running to convert the PowerPoint
Presentations to Flash for us, and that seems to really bother the
executives here to have to keep one server running Windows.
Comment 23 dcarrera 2003-09-01 01:17:51 UTC
*** Issue 18703 has been marked as a duplicate of this issue. ***
Comment 24 mintslice 2003-09-01 02:07:19 UTC
In response to comments that this needs to be figured out before
OOo-1.1, I agree.

I filed a duplicate on this where I had problems in Linux, but not in
Windows.  The original power-point file was created on Windows using
Times New Roman, but as this doesn't exist, OpenOffice is replacing it
with Times even though I have Times New Roman install on my system and
OOo recognises it.

Surely if OOo is going to do this sort of font replacement then it
should be required to handle it appropriately.
Comment 25 clippka 2003-09-01 10:39:53 UTC
Set target to OOo 1.1.1 since its much to late for 1.1.

Herbert, whats the difference with the broken fonts on linux? I think
OutputDevice::GetTextOutline should always return the same kind of
PolyPolygons
Comment 26 hdu@apache.org 2003-09-01 14:28:29 UTC
Probably the direction required by the "winding rule" is wrong for Type1's 
glyph outlines. I'm setting the status to accepted and will analyze it later... 
Comment 27 rblackeagle 2003-09-01 15:26:43 UTC
I really think the font substitution issue is different.  To fix it,
make sure you do not have OOo running (shutdown quickstarter if you
have it).  Run Printer Administration (or, from a terminal, run
spadmin) and, on the printer Properties button, look for the Font
Substitution list and remove substitutions for fonts you have.
Comment 28 hdu@apache.org 2003-09-30 10:22:03 UTC
HDU->KA: Only the fonts where Bitmap::Vectorize() is used show the
problem. Vectorize() has called because these fonts are only available
as bitmaps and we need their outlines. When returning the PolyPolygon
from the call please have the polygons conform to the winding rules
"right winding -> filled" and "left winding -> open".

Please note that the same effect also happens on Win32 when hollow
glyphs from bitmap only fonts such as "Script" or "Modern" are
converted to outlines.
Comment 29 hdu@apache.org 2003-10-07 11:44:22 UTC
*** Issue 20666 has been marked as a duplicate of this issue. ***
Comment 30 Armin Le Grand 2003-10-08 16:50:49 UTC
AW: HDU asked me to comment here and explain how to apply the winding
rule on a PolyPolygon.
The base problem is that the edge detector will not create winding
rule PolyPolygons, it is only tracing edges. If someone needs to rely
on that rule, he has to correct the PolyPolygons coming from VCL
before using them (this is done from the 3d engine, too, e.g.).
The problem now is that the VCL PolyPolygon as a data type does not
have that functionality. Thus, this either needs to be done by whoever
needs it, or (yes, tere is an alternative) the PolyPolygon3D needs to
be used which has the disadvantage to be in svx and is specialized for
3d coordinates.
There is a method called SetDirections() in two versions, one takes
the normal of the PolyPolygon to know for which plane orientation to
correct the PolyPolygon, the other calculates that normal itself.
Maybe the best way is to take the implementation of
PolyPolygon3D::SetDirections(...) and to simplify it for a VCL
PolyPolygon.
Just my 2 cents...
Comment 31 hdu@apache.org 2003-10-09 15:50:04 UTC
*** Issue 20617 has been marked as a duplicate of this issue. ***
Comment 32 hdu@apache.org 2003-10-14 16:01:07 UTC
*** Issue 20096 has been marked as a duplicate of this issue. ***
Comment 33 ooo 2003-10-14 16:25:12 UTC
accepted
Comment 34 ooo 2003-12-05 15:38:06 UTC
KA: Bug has been fixed, bugfix has been reviewed by THB
Comment 35 ooo 2003-12-05 15:40:54 UTC
KA: bug has been fixed in CWS DRAW23
Comment 36 hdu@apache.org 2004-01-05 10:21:15 UTC
*** Issue 22897 has been marked as a duplicate of this issue. ***
Comment 37 wolframgarten 2004-01-05 12:08:52 UTC
*** Issue 22897 has been marked as a duplicate of this issue. ***
Comment 38 wolframgarten 2004-01-05 12:12:07 UTC
Closed.
Comment 39 wolframgarten 2004-01-08 15:06:30 UTC
Issue was closed by mistake. Reopened.
Comment 40 wolframgarten 2004-01-08 15:07:32 UTC
Reassigned to me for verification.
Comment 41 wolframgarten 2004-01-08 15:20:39 UTC
Set to fixed.
Comment 42 wolframgarten 2004-01-08 15:31:56 UTC
Verified in CWS.
Comment 43 wolframgarten 2004-01-27 14:13:55 UTC
Tested in internal master. Issue closed. Thanks again for your help.
Comment 44 groucho266 2004-01-30 13:36:07 UTC
Reopened to integrate fix into SRC680 MWS.
Comment 45 groucho266 2004-01-30 14:00:17 UTC
Reassigned to person who fixed this bug.
Comment 46 pavel 2004-02-06 20:57:16 UTC
Can we set the target to 2.0 now to get rid of this fixed issue in 1.1.1 when
querying for 1.1.1 bugs to solve?
Comment 47 ooo 2004-02-09 09:07:37 UTC
Changed target milestone to OOo 2.0. Fix has been integrated to OOo 1.1.1 already.
Comment 48 ooo 2004-02-09 15:38:45 UTC
KA: verified in CWS draw23master
Comment 49 ooo 2004-02-09 15:39:53 UTC
fixed
Comment 50 wolframgarten 2004-02-09 15:43:42 UTC
Closed.
Comment 51 christian.guenther 2004-02-11 14:43:41 UTC
CGU: Cloned the task for integration in OOo2.0
Id of the cloned task is issue 25370
I close the issue