Bug 133741 - [kde] openoffice.org does not render chars properly in KDE
Summary: [kde] openoffice.org does not render chars properly in KDE
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: openoffice.org
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Caolan McNamara
QA Contact:
URL:
Whiteboard:
: 150432 (view as bug list)
Depends On:
Blocks: FC3Target FC4Target
TreeView+ depends on / blocked
 
Reported: 2004-09-27 04:17 UTC by Leon Ho
Modified: 2007-11-30 22:10 UTC (History)
5 users (show)

Fixed In Version: 1.9.88-5
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-04-02 09:22:28 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
ooffice in kde (52.84 KB, image/png)
2004-09-27 04:18 UTC, Leon Ho
no flags Details
ooffice in gnome (49.77 KB, image/png)
2004-09-27 04:18 UTC, Leon Ho
no flags Details
1.1.2 screenshot on zh_CN (115.40 KB, image/png)
2004-10-04 05:05 UTC, Leon Ho
no flags Details

Description Leon Ho 2004-09-27 04:17:17 UTC
Description of problem:
When openoffice.org is ran in gnome (with --enable-gtk), everything
looks well. However when it is ran in kde (with --enable-kde), it does
not show all the characters in some of the lanauges (i.e. CJK)

Version-Release number of selected component (if applicable):
1.1.2-6

How reproducible:
everytime

Steps to Reproduce:
1. log into KDE
2a. LANG=ja_JP.UTF-8 ooffice
or
2b. LANG=zh_CN.UTF-8 ooffice
..

Actual results:
does not show all the characters

Expected results:
show all the characters

Additional info:
Other than this bug. should we unify to use gtk widget by default only
even if it is in kde desktop, as our default desktop and toolkit is
gtk2. More problems may arise basically kde/Qt widgets/layers get less
QA/testing.

Comment 1 Leon Ho 2004-09-27 04:18:19 UTC
Created attachment 104344 [details]
ooffice in kde

Comment 2 Leon Ho 2004-09-27 04:18:51 UTC
Created attachment 104345 [details]
ooffice in gnome

Comment 3 Dan Williams 2004-09-27 15:49:24 UTC
Verified.  That really looks like ass, doesn't it? :)

Comment 4 Dan Williams 2004-10-01 14:42:10 UTC
Appears to be fixed with 1.1.2-7

Comment 5 Leon Ho 2004-10-04 05:05:22 UTC
Created attachment 104702 [details]
1.1.2 screenshot on zh_CN

Dan, tested with latest -7 and the problem is still there.

Comment 6 Dan Williams 2004-10-04 13:57:41 UTC
Do you by chance NOT have ttfonts-zh_CN and ttfonts-zh_TW installed? 
You'll need those.  Remember that OOo will NOT use bitmapped X fonts,
it will only use TrueType and Type1 PostScript fonts, and if you don't
have either of these, you're kind of out of luck.  I was able to get
no menu text when I removed both of these.

So, the question becomes, should openoffice.org-i18n Require:
ttfonts-zh_CN/ttfonts-zh_TW/ttfonts-ja/etc?

Comment 7 Rex Dieter 2004-10-04 14:06:57 UTC
> should openoffice.org-i18n Require:
> tfonts-zh_CN/ttfonts-zh_TW/ttfonts-ja/etc?

IMO, yes.  Some users may grumble about being forced to install fonts
they'll never use, but at least it will guarantee a working ooo for
everybody.

Of course, the grumbling will go away if/once the i18n bits get split
up... (-:

Comment 8 Rex Dieter 2004-10-04 14:11:47 UTC
> Do you by chance NOT have ttfonts-zh_CN and ttfonts-zh_TW installed? 
> You'll need those.  Remember that OOo will NOT use bitmapped X fonts,

He *did* say it worked under gtk, so if your statements hold true
there, then the answer is probably yes.

Comment 9 Dan Williams 2004-10-04 14:54:14 UTC
Ok, I lied, its also horribly busted under GTK if you don't have these
ttfonts-* packages installed.

The problem with requiring the ttfonts-* packages for the i18n package
is that they are huge, ttfonts-ko is 18MB itself.  However, OOo ain't
gonna work in either of these locales unless you have these packages,
so...

Comment 10 Rex Dieter 2004-10-04 15:00:10 UTC
Considering the -i18n subpkg is already many, many MB in size, an
additional 18MB is a drop in the bucket... 

Comment 11 Leon Ho 2004-10-05 00:06:08 UTC
I have all ttfonts-* installed. If you look at the screenshot, the
kde's konsole menu rendered correctly with ttf.

What is your step of reproduce and is it a fresh installation (i.e.
without any config)? Does it works for you if you followed my steps?

For the question on requires ttfonts-* or not - I would say it may
piss a bunch of people if doing so. Also from the logic if OOo
requires ttfonts-*, i think gnome and kde would need to do so as well.

Comment 12 Dan Williams 2004-10-05 14:37:07 UTC
Ok, I'm getting this with a clean rawhide install even when the
ttfonts-* are loaded.  Debugging

Comment 13 Dan Williams 2004-10-05 15:28:23 UTC
Ok,  the problem really is that you probably don't have
openoffice.org-kde package installed, right Leon?

I'm not quite sure how to handle this.  We probably should install the
-kde package if you install KDE stuff in Anaconda.  I'll have to talk
to Jeremy about that.

Comment 14 Leon Ho 2004-10-06 06:38:58 UTC
You are quite right. -kde has to be installed manually as seems comps
does not include it. It maybe have some screwing dep. if it is
included to be installed by default. If it is installed with KDE group
then probably it openoffice.org-kde will require openoffice.org isn't it?

Are there any way to fallback to use gtk+ in kde if module is not
available?



Comment 16 Dan Williams 2004-10-18 16:26:18 UTC
Technically, the KDE VCLplug needs to get fixed in OOo to use font
fallback like the GTK VCLplug does.

Comment 18 Caolan McNamara 2005-03-29 11:05:25 UTC
*** Bug 150432 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.