[Ubuntu] [hardy] font hinting does not work with libfreetype6 v. 2.2.1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openoffice.org (Debian) |
Fix Released
|
Unknown
|
|||
openoffice.org (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Hardy |
Fix Released
|
High
|
Unassigned |
Bug Description
Binary package hint: openoffice.org
NOTE: Make sure this works in Kubuntu as well before closing.
Fonts are looking terrible in Openoffice.org after upgrade to Edgy. Searching debian bugs, I found this report (same title as this report).
http://
In the report is a patch attached, here is the link:
http://
Related branches
John Dong (jdong) wrote : | #1 |
Changed in openoffice.org: | |
status: | Unconfirmed → Confirmed |
John Dong (jdong) wrote : | #2 |
- Screenshot of Openoffice Edit (52.0 KiB, image/png)
Here's a screenshot of what Openoffice looks like on my Edgy box. Note the blurriness of menu items.
John Dong (jdong) wrote : | #3 |
Gert Kulyk (gkulyk) wrote : | #4 |
Bug still there in 2.0.4~rc2. I'm no longer sure, if the above patch would fix the issue, since at least parts of it (I haven'n compared it line by line) are included in the version upstream.
A temporary workaround would be, to copy the libfreetype from the dapper-package as libfreetype.so.6 into the /usr/lib/
There are patches in Fedora-cvs which are trying to include full fontconfig-support (the lack for it is another annoying issue) for ooo, maybe at least parts of them would be helpfull for this issue, too. I would try it on my own, but there is no reasonable way for doing so, since the compile-time for building this monster on my Celeron 500 with 256 MB ram would be eternal.
Gert Kulyk (gkulyk) wrote : | #5 |
After some investigation and reading Comments on Debian-Bug-Report http://
Turning on autohinter in ~/.fonts.conf causes, that GNOME-Apps and OOo are looking the same when using new freetype (but worse as if bytecode-
So it seems like old freetype-lib in combination with openoffice uses bytecode-
Gert Kulyk (gkulyk) wrote : | #6 |
I found these patches in Fedora-CVS, which are dealing with two upstream-issues which are related to this bug (I've chosen Fedora ones, because the patches attached to the issues may be out of date):
Patch to honor cairo-font-
http://
Patch to honor fontconfig-hinting (issue 64508 upstream)
http://
Changed in openoffice.org: | |
status: | Unknown → Confirmed |
Matthias Klose (doko) wrote : | #7 |
Please check the test build announced on ubuntu-devel and ubuntu-users.
Changed in openoffice.org: | |
status: | Confirmed → Needs Info |
John Dong (jdong) wrote : | #8 |
Looks good for me :)
Gert Kulyk (gkulyk) wrote : | #9 |
- Screenshot of ooo-2.0.4~rc3 and gedit Edit (133.3 KiB, image/png)
Unfortunately not for me (although it seems to look better) - screenshot attached. Here you can see the most obious thing, that menu fonts still does not fit in gnome-environment.
Gert Kulyk (gkulyk) wrote : | #10 |
Additionally, the workaround using libfreetype from dapper now does not work as expected. Fonts are still better with it, but are a bit bolder than in other apps (I guess medium instead of strong hinting, which is default on my machine). In the changelog is no specific hint what exactly was changed. Did you apply the patch, Bernd Schubert proposed in debian-bug-report?
Xavier (chantry-xavier) wrote : | #11 |
- fontconfig settings to use as ~/.fonts.conf Edit (191 bytes, text/html)
I just find out something that doesn't make any sense from an user POV.
I created a .fonts.conf file which enables subpixel rendering, and now openoffice menu looks much better to me.
But it gives the same result as using "Best Contrast" in gnome, which is Grayscale antialiasing with full hinting. There is no subpixel rendering. If I try to only enable antialiasing and full hinting in fonts.conf, it doesn't work. Subpixel needs to be enabled (rgba sets to rgb), and it's enough.
So to sum up, for openoffice to look better, you need to enable an option that isn't used by openoffice.
So there are several issues:
- openoffice behaves weirdly to fontconfig settings (other apps work fine with just the Xft resources, and the fonts rendering match the settings)
- no subpixel rendering? (didn't manage to enable it)
- still no native hinting? (I believe it's still using autohinting, but I'm less positive on this one)
Xavier (chantry-xavier) wrote : | #12 |
just to be safe, since I just got caught myself, the .fonts.conf file is a xml file, so its contents won't be displayed directly in firefox. just save the file, or view the source.
Jacob Winski (winski) wrote : | #13 |
- ooo screenshot showing font problem Edit (120.3 KiB, image/png)
Confirmed bug. Please see the horrible font problem in the preference/options window attachment provided. Some letters are not even shown, others have strange bendings (r looks line n with shadow).
Jacob Winski (winski) wrote : | #14 |
- gedit screenshot showing lack of font problem Edit (47.2 KiB, image/png)
gedit with the same text without font problem for comparison.
Xavier (chantry-xavier) wrote : | #15 |
That's a totally different bug.
This one may be closer :
https:/
Jacob Winski (winski) wrote : | #16 |
Thank you Xavier.
Pascal de Bruijn (pmjdebruijn) wrote : | #17 |
I'm suffering from this issue too...
Firefox/Epiphany might also be affected:
https:/
rubinstein (rubinstein) wrote : | #18 |
I want to ask if this bug will be fixed before Edgy will be released.
It is a clear regression from Dapper Drake if OpenOffice.org is shipped with fuzzy fonts in the menu and inside as the default configuration.
Lee.Tambiah (flossgeek) wrote : | #19 |
- Screenshot of font rendering in openofficeorg Edit (212.2 KiB, image/png)
- Using verdana fonts from msttcorefonts
- Font Rendering is set to Monochrome
- Smoothing set to none
- Hinting set to Full
- OpenOffice Tools>Options>View I tick the "Use system font for user interface" and uncheck "Screen font antialiasing".
Please note the above settings I have always used in previous versions of Ubuntu and all fonts in all packages displayed fine. It is only openoffice that is affected.
The attached screenshot shows openoffice.org writer and gedit using the same font being Verdana, notice the difference.
Pascal de Bruijn (pmjdebruijn) wrote : | #20 |
Yep, still looks like crap...
hanswurst (chipmunky) wrote : | #21 |
- ugly fonts in OO Edit (132.8 KiB, image/jpeg)
I also upgraded my kubuntu box from dapper to edgy a few days ago. I am using true type fonts for QT, GTK1, GTK2 apps - all worked fine with dapper. Though, after the upgrade, all fonts in openoffice (menu+text) look terrible.
see attached screenshot showing the openoffice fonts compared to whats available to KDE's Kcontrol....
I would be very unhappy if this bug would not be fixed...
Matthias Klose (doko) wrote : | #22 |
> see attached screenshot showing the openoffice fonts compared to whats available to KDE's Kcontrol....
I don't see a difference in these; is anti-aliasing turned off by default for KDE?
Matthias Klose (doko) wrote : | #23 |
comment 9:
>Unfortunately not for me (although it seems to look better) - screenshot attached. Here you can see the most obious thing, that menu fonts still does not fit in gnome-environment.
does this change for you when using subpixel-rendering (in the advanced gnome font settings)
Xavier (chantry-xavier) wrote : | #24 |
>I don't see a difference in these; is anti-aliasing turned off by default for KDE?
No it isn't, but does it matter?
And you really don't see the difference? It's the difference between ugly and beautiful fonts.
Though, you're right, this screenshot is different than the others. First, there is no antialiasing in openoffice and kde. Second hinting seems enabled for openoffice fonts.
The problem here is it isn't the same hinting. Openoffice fonts use autohinting, but every other apps use native hinting.
Anyway, openoffice should use all fontconfig settings (in /etc/fonts/ , ~/.fonts.conf and Xft resources) and use them, instead of ignoring them all.
Gert Kulyk (gkulyk) wrote : | #25 |
comment 23:
>does this change for you when using subpixel-rendering (in the
>advanced gnome font settings)
No, it does not. You still did not tell if you applied Bernd Schuberts patch, or not. If so, please revert it, it is worse for me than it was.
rubinstein (rubinstein) wrote : | #26 |
- Screenshot Edit (8.6 KiB, image/png)
I tried the edgy eft daily live cd from today 20061024 on my desktop (Athlon 64, nvidia) and on my Dell Intel laptop (ATI graphics) and on both the problem persists.
Screenshot attached: 300% zoom, first menu is OpenOffice.org, second menu is gedit.
rubinstein (rubinstein) wrote : | #27 |
- Screenshot 2 Edit (36.7 KiB, image/png)
When I use subpixel smoothing and full hinting, the menu fonts get better, but text inside renders very strange.
In the screenshot, you see that the word "text" in OOo renders very bad - parts of the letter "t" are not shown and "e" and "x" are positioned too far away. (I changed the fonts in gedit to use the Bitstream Vera Serif one.)
Xavier (chantry-xavier) wrote : Re: [Bug 54776] Re: [Edgy] font hinting does not work with libfreetype6 v. 2.2.1 | #28 |
2006/10/24, Oskar Rubinstein <email address hidden>:
> When I use subpixel smoothing and full hinting, the menu fonts get
> better, but text inside renders very strange.
>
> In the screenshot, you see that the word "text" in OOo renders very bad
> - parts of the letter "t" are not shown and "e" and "x" are positioned
> too far away. (I changed the fonts in gedit to use the Bitstream Vera
> Serif one.)
>
> ** Attachment added: "Screenshot 2"
> http://
>
> --
> [Edgy] font hinting does not work with libfreetype6 v. 2.2.1
> https:/
>
Xavier (chantry-xavier) wrote : Re: [Edgy] font hinting does not work with libfreetype6 v. 2.2.1 | #29 |
That's probably the difference of autohinting vs native hinting. Could you try "sudo dpkg-reconfigure fontconfig-config", use autohinting, and compare again.
rubinstein (rubinstein) wrote : | #30 |
> That's probably the difference of autohinting
> vs native hinting. Could you try
> "sudo dpkg-reconfigure fontconfig-config",
> use autohinting, and compare again.
Unfortunately it makes no difference.
hanswurst (chipmunky) wrote : | #31 |
hanswurst (chipmunky) wrote : | #32 |
Matthias Klose (doko) wrote : Re: [Bug 54776] Re: [Edgy] font hinting does not work with libfreetype6 v. 2.2.1 | #33 |
hanswurst schrieb:
> here are two more screenshots...
>
> I use ms truetype fonts. the quality apparently gets worse when I use
> autohinting. so, why should I use autohinting instead of native?
>
> the quality of OO is bad in both cases...
the two screenshots are not OOo, but KDE. Jonathan, I do have absolutely
better font quality on my recent Kubuntu installations (and on the live
DVD); hanswurst, please get a screenshot from the current live CD / DVD.
Xavier (chantry-xavier) wrote : Re: [Edgy] font hinting does not work with libfreetype6 v. 2.2.1 | #34 |
On debian, the workaround of enabling subpixel rendering in ~/.fonts.conf didn't work, maybe because it doesn't apply the patches from fedora cvs pasted above. (It's maybe better that way, because it didn't make any sense).
As Bernd Schubert said in the bug report, light hinting (=slow=medium) is hardcoded in openoffice.
Hardcoding normal hinting (=full) works fine.
I installed his packages from there:
http://
I'm nearly sure he just applied his patch from there:
http://
Though, a confirmation is required.
Anyway, his packages result in nice fonts for me, both with or without antialiasing.
That said, having font settings hardcoded isn't acceptable, because users have very different font preferences.
Gert Kulyk (gkulyk) wrote : | #35 |
AFAIK, the fedora-patches (which should provide fontconfig-support) aren't applied in ubuntu. Simply hardcoding other settings wouldn't fix the issue. Only full fontconfig-support would be a solution for every setup possible.
Matthias Klose (doko) wrote : Re: [Bug 54776] Re: [Edgy] font hinting does not work with libfreetype6 v. 2.2.1 | #36 |
Gert Kulyk schrieb:
> AFAIK, the fedora-patches (which should provide fontconfig-support)
> aren't applied in ubuntu.
Gert, please don't speculate; the patches are applied.
apt-get source openoffice.org
dpkg-source -x openoffice.org_*dsc
cd openoffice.
apt-get install build-dep openoffice.org
debian/rules build
you can stop building when all the tarballs are unpacked and the patches
are applied.
Matthias Klose (doko) wrote : | #37 |
Xavier schrieb:
> As Bernd Schubert said in the bug report, light hinting (=slow=medium) is hardcoded in openoffice.
> Hardcoding normal hinting (=full) works fine.
>
> I installed his packages from there:
> http://
I don't see the .diff.gz/.dsc on this site, do you know where these are
available?
> I'm nearly sure he just applied his patch from there:
> http://
> Though, a confirmation is required.
AFAICS the patch doesn't apply anymore; a similiar patch has been applied.
Gert Kulyk (gkulyk) wrote : Re: [Edgy] font hinting does not work with libfreetype6 v. 2.2.1 | #38 |
Matthias Klose schrieb:
>> AFAIK, the fedora-patches (which should provide
>> fontconfig-support) aren't applied in ubuntu.
> Gert, please don't speculate; the patches are applied.
I did not mean the fontconfig-stuff that is fixing issue 54603 (these patches are applied, I know), I meant the fontconfig-hinting stuff that is fixing issue 64508 (at least the changelogs and the apply files I've seen do not indicate, that fixes for this issue are applied). But I may be wrong . At the moment I'm downloading the latest sources, so I'll have a look on them.
Gert Kulyk (gkulyk) wrote : | #39 |
To Matthias:
The latest source does indeed apply the patches - sorry for the traffic.
Xavier (chantry-xavier) wrote : | #40 |
I was also surprised when I learned these patches were applied.
They apparently don't work as expected.
hanswurst (chipmunky) wrote : | #41 |
- OO autohinting Edit (113.7 KiB, image/jpeg)
Matthias: yes, you are right - my recent screenshots show KDE's kcontrol. Though, I wanted to show that the Xavier's suggestio "... try "sudo dpkg-reconfigure fontconfig-config", use autohinting, and compare again..." causes the fonts to get unacceptable for KDE. I forgot to mention - switching from native to autohinting and turning on subpixel rendering (via dpkg-reconfigure fontconfig-config) did not make a difference for OO either...
Why should I try the live cd? I made an upgrade from dapper to edgy and I strive to solve to problem of the distro installed.
Thanks so far, Joerg
hanswurst (chipmunky) wrote : | #42 |
I wonder if it might be a configuration problem. Other (gtk1/2) apps such as firefox, audacity, xmms, Blender look fine. After trying out a lot of edgy apps, only ardour and OO show crappy fonts. Btw, I am using clearlooks...
Pascal de Bruijn (pmjdebruijn) wrote : | #43 |
To be honest, because this is so very broken, I honestly think this _should_ delay Edgy's release.
Pascal de Bruijn (pmjdebruijn) wrote : | #44 |
I think I found a workaround (thus not a solution) for GNOME/OOO:
System -> Preferences -> Font -> Subpixel Smoothing (LCDs)
or
... -> Font -> Details
Smoothing: Subpixel (LCDs)
Hinting: Full
Subpixel Order: RGB
(I'm using 98dpi at the moment).
hanswurst (chipmunky) wrote : | #45 |
Pascal: your workaround does not solve the font problem on my machine.
I wonder why I see a bunch of error messages when I start oowriter:
(process:23067): GLib-GObject-
(process:23067): Gdk-CRITICAL **: gdk_screen_
(process:23067): GLib-GObject-
(process:23067): Gdk-CRITICAL **: gdk_screen_
(process:23067): GLib-GObject-
(process:23067): Gdk-CRITICAL **: gdk_screen_
(process:23067): GLib-GObject-
(process:23067): Gdk-CRITICAL **: gdk_screen_
rubinstein (rubinstein) wrote : | #46 |
Pascal wrote:
> I think I found a workaround (thus not a solution) for GNOME/OOO:
I also thought that exactly this font configuration solved the problem, but if you load a text inside OOo, you'll notice that the font spacing will get worse and letters will begin to look deformed.
Matthias Klose (doko) wrote : | #47 |
please check the packages at
deb http://
if those don't show any change, please check
rubinstein (rubinstein) wrote : | #48 |
ooo-2.0.
Matthias, may I also note that the screenshot at http://
rubinstein (rubinstein) wrote : | #49 |
And with ooo-2.0.
Xavier (chantry-xavier) wrote : | #50 |
I saw this patch: ooo-build/
If I understand correctly, it isn't applied when it's in the test directory.
Anyway, I googled for it and found this:
http://
Gert Kulyk (gkulyk) wrote : | #51 |
ooo-2.0.
Bernd Schubert (aakef) wrote : | #52 |
>> I'm nearly sure he just applied his patch from there:
>> >>http://
>> Though, a confirmation is required.
Yes, I applied my own patch ;)
>AFAICS the patch doesn't apply anymore; a similiar patch has been applied.
First, why did nobody try to contact me directly? I mean I'm mainly a debian user (Depper is on my laptop, though) and don't regularily check ubuntu bug reports.
I didn't upload any .diff.gz/.dsc because the packages were maily for my own testing purpose (I build the packages in the institute (build time is incredible, even on dual opteron system) and downloading them myself at home).
Creating my own patch is a bit difficult with Openoffice.org source packages - everything is first in .bz2.uu files and I havn't figured out yet how to extract it without starting the build process. I asked René for help, but he seems too busy to answer those questions. So I didn't have the time and ambition to do it with the very recent Sid packages.
Cheers,
Bernd
Gert Kulyk (gkulyk) wrote : | #53 |
After playing around with some more settings, I tried to compile a new libfreetype using cvs version. After compilation I found out, that at least the issues concerning spacing and breakage of some characters with lcd-sub-pixel rendering enabled vanished.
OOo still uses only autohinter, but autohinter seems to be broken for setups using lcd-sub-pixel rendering with ubuntu libfreetype. The cvs-version of libfreetype obviously fixes this.
The fonts in ooo are still a bit blurry with new libfreetype, but they are rendered correctly using Edgy ooo(not new packages from people.ubuntu.com, these I have still to test with new freetype).
That indicates that libfreetype in ubuntu is buggy, apart from troubles with ooo. Can anyone confirm this? If so, we need to fix libfreetype first before the ooo-thing may be fixed.
Xavier (chantry-xavier) wrote : Re: [Bug 54776] Re: [Edgy] font hinting does not work with libfreetype6 v. 2.2.1 | #54 |
but is it actually using subpixel rendering now, and not just basic
grayscale antialiasing like with ubuntu libfreetype? Do you have a
screenshot?
Josh (jdoneway) wrote : Re: [Edgy] font hinting does not work with libfreetype6 v. 2.2.1 | #55 |
- Screenshot of Abiword/Word/OO.o Edit (213.8 KiB, image/png)
Just another screenshot showing rendering - Abiword vs. Word vs. OO.o. IMO, this is a rather serious issue/regression. Good luck.
Gert Kulyk (gkulyk) wrote : | #56 |
To Xavier:
The new libfreetype does not enhance font rendering in a whole (the fonts still are blurry), but fixes some issues related to broken charakters when using subpixel rendering and autohinter (this does not only affect OOo). That means e.g. that 'ö' has now two dots, the 'A' or 'x' is not bolder than the rest etc.. Since openoffice is always using autohinter, it is for now unusable having subpixel-rendering enabled.
There is, like now, a difference using the grayscale and the subpixel setting.
What I meant in my comment: OOo needs to respect "native" and "autohinter" setting (bug #34544), if this is not trivial, libfreetype has to be fixed for getting a better autohinter using subpixel-rendering (what it should anyway). If neither of the issues is fixed, any change Matthias applies to the sources can't be rated good or bad, because other issues are causing that the rendering at a whole is not ideal.
Fabio Marzocca (thesaltydog) wrote : | #57 |
I realized this bug only after upgrading...:-(
On my OOo I don't have too much problems but one is enough. All my books are written with Times New Roman, and the new OOo's font is lightly different, so that all the book are now very badly formatted... It is a matter of few millimeters, but in a long document they are enough to let pages jump badly.
hanswurst (chipmunky) wrote : | #58 |
Matthias: neither the 2.0.4-2ubuntu0.2 nor the 2.0.4-2ubuntu0.3 debs fix my font issues... is anybody working on a solution?
hanswurst (chipmunky) wrote : | #59 |
Alright, I have found a nice workaround...
1. recursively copy Dapper's /usr/lib/
2. copy Dapper's libfreetype.
3. export LD_PRELOAD=
4. start OO: /usr/local/
be happy and enjoy the fonts ...
one thing though, I've quickly tested OOwriter - I am not sure if copying /usr/lib/
cheers, joerg
Michael Milligan (milli) wrote : | #60 |
Well, same problem here. Fonts are fine in all other apps except OO. They looked really terrible in OO after first upgrading from dapper to edgy.
After reading all the comments here, I grabbed libfreetype6 from dapper (2.1.10-
So, this is mainly something to do with how OO is rendering fonts in 2.0.4.
golfbuf (golfbuf) wrote : | #62 |
debbug 385798 indicates a fix for debian etch. Is anyone planning to patch this into edgy, or do we have to wait for 7.04 for a fix?
regards,
rubinstein (rubinstein) wrote : | #63 |
Tested the OOo on the Feisty Fawn Herd 1 Live CD - still the same fuzzy fonts.
Stefan Glasenhardt (glasen) wrote : | #64 |
Hi there,
The whole problem with the font-rendering in OO.o2 only seems to be related to the new version of Freetype2. I'm using StarOffice8 PP4 under Edgy and it shows exactly the same problems as the Ubuntu version of OO.o2. Even the new version (2.1) of OO.o2 shows the same problem.
The PRELOAD-fix with the Dapper-Freetype-Lib solved the problem for me, for both programs and the fonts are looking as they should do.
The only problem i have is, that both programs completely ignore all font-settings made in the GNOME font-settings dialog. But this is fine to me, because i get no longer eye cancer, when i'm writing a letter in StarOffice8.
disabled.user (disabled.user-deactivatedaccount) wrote : | #65 |
Since none of the proposed workarounds here seem to work for me, I went a somewhat different path. This is for Kubuntu Edgy x86-64 (amd64) and involves some serious package-juggling, but is otherwise quite simple.
First, let's get rid of Ubuntu's OOo with the apt-frontend of your choice (I am an aptitude-user). This will also break the corresponding "language-
Next, install ia32-libs. The minimally required packages seem to be "ia32-libs" and
"ia32-libs-
Next, pick up the actual vanilla-debs, for example the German OOo from here:
http://
Untar the file to a convenient location, and install the debs via "dpkg --force-
That's it for now, OOo should integrate in K-Menu and work fine from here. No fiddling with any libfreetypes or LD_Preloads necessary. The vanilla-OOo starts up much faster than Ubuntu's version, and fonts look nice, but the UI looks very much Win98-like.
The final glue for a nice KDE-integration is, funny enough, "ia32-libs-gtk", like it has been for Breezy and Dapper (both shipped the 32 Bit version of OOo with amd64). After installation of "ia32-libs-gtk", OOo will respect the settings of KDE's "GTK styles and fonts". In OOo, check Extras -> Options -> View, check "use system fonts for user interface" (hope that's it, I translated back from German...), and set the font-anti-
If you ever wondered why OOo in Ubuntu starts up more slowly than for example OOo in Arch Linux, it's the gtk/kde-theming. After installation of "ia32-libs-gtk", it took a bit longer to launch OOo than before, but the desktop-inegration is much better.
disabled.user (disabled.user-deactivatedaccount) wrote : | #66 |
- Screenshot OOo UI and some MS-Fonts Edit (113.5 KiB, image/png)
Btw, I forgot to mention, vanilla OOo installs to /opt/.
On 32 Bit systems (i386, x86, ...), installation should be the same like presented above, but without the need for the ia32-libs, and I can't tell you how OOo's UI will look like.
Attached is a screenshot from my OOo installed like described in my previous comment, with anti-aliasing turned completely off. Fonts might look not excactly as good as in Dapper, but much better than in Edgy's OOo.
Changed in openoffice.org: | |
status: | Confirmed → Fix Released |
disabled.user (disabled.user-deactivatedaccount) wrote : | #67 |
- OOo Writer, Debian Etch (amd64), msttcorefonts, UGLY! Edit (97.8 KiB, image/png)
Can't really tell why this has been marked as fixed for Debian. Today I did a netinstall of Etch/amd64 and applied the same visual settings to Debian's OOo like before (vanilla OOo-32 on Ubuntu Edgy-64), resulting in the attached screenshot.
Just plain damn ugly font rendering.
Should definetly be a blocking error for Etch's relase.
Stefan Glasenhardt (glasen) wrote : | #68 |
The bug is only fixed for openoffice.org 2.1, which is in experimental. I hope that somebody will backport the fix for openoffice.org 2.0.4 or edgy.
openoffice.org (2.1-1) experimental; urgency=low
* OpenOffice.org 2.1 final
* ooo-build:
- update
+ add patch from Fedora to honour fontconfig font hinting
(closes: #385798)
+ src/:
- update GSIs from ftp.linux.cz
[...]
-- Rene Engelhard <email address hidden> Thu, 14 Dec 2006 09:28:43 +0100
scananza (scananza) wrote : | #69 |
for what I've seen this bug is definitely worse for people who don't use antialiasing (like me), it seems that antialiasing smooth it someway out...
Michael Milligan (milli) wrote : | #70 |
The fontconfig patch from Fedora still doesn't fix the problem. I tried that. It seems that somehow, even with the bytecode interpreter turned on in libfreetype6 (as it is in Debian/Ubuntu), OO doesn't use it. I had looked at this in some depth but the water went over my head and I gave up the hunt, just wasn't proving worth the time. So...
I punted and just force-downgraded all the OO packages to 2.0.2-2ubuntu12 (from Dapper) and also pulled libfreetype6_
The fonts are now rendered EXACTLY the same as in gedit, nautilus, mozilla, etc. They just look perfectly beautiful again.
This problem sure behaves like an interaction problem between the new 2.2.1 freetype2 library and how OO uses it. Seems like the bytecode interpreter is /never/ used, and I just couldn't spend the time to figure it out.
PS: I do not use anti-aliasing, I really hate the way that makes clean fonts (like Arial) look fuzzy.
Michael Milligan (milli) wrote : | #71 |
Oh, and I tried taking the latest 2.0.4-0ubuntu4, noticed it has a patch that's a subset of the Fedora hinting patch... Didn't fix the problem for me. Perhaps because I have anti-aliasing turned off.
Gert Kulyk (gkulyk) wrote : | #72 |
The issue with the bytecode-
This macro is used in upstream and patched sources, preventing native hinting even if available in system libfreetype - why this macro is used and how to replace it in a safe way, I don't know. Libfreetype prior to 2.2 ignored it in some cases (e.g. upstream build of ooo, not the ubuntu one with patches), which was a bug. New libfreetype therefore really forces autohinting - which is broken in 2.2.1 for setups with rgb-subpixel-
markusl (markus-mnslaker) wrote : | #73 |
- Screenshot of OpenOffice.org Writer Edit (103.4 KiB, image/png)
OpenOffice.org 2.1 has now been formally released. I upgraded this morning, and now my fonts look beautiful -- see the screenshot. If you want to do the same, please read to the end of this message before starting work, or you'll lose the icons in your K menu (if you use KDE) and, I imagine, the equivalent menu in Gnome.
1) In Synaptic, I purged every package that had 'openoffice.org' in its name, including those with 'openoffice.org2'.
2) I went to the openoffice.org Web site and downloaded the Linux installer. I downloaded the long installation guide for 2.0 (which is a PDF) and found the section on Ubuntu. I checked that my version of alien was newer than 8.50. (A fully updated Edgy has v8.64.). I followed the rest of the instructions. One wrinkle: there are no *menu*.deb packages to delete. (The installation guide hasn't yet been updated for 2.1.)
3) At this point, OpenOffice.org was installed, but there were no menu entries for it and no programs in the path. One little catch is that the programs installed by the vanilla installer are called 'swriter' (etc.) rather than 'oowriter' (etc.). This made them a little harder to find. I brought the programs into my path like this:
msl@edward:~$ cd /usr/bin
msl@edward:
msl@edward:
Password:
msl@edward:
msl@edward:
msl@edward:
msl@edward:
msl@edward:
msl@edward:
msl@edward:
4) I tried to use kmenuedit to add entries for the various programs to my K menu. I found that, in uninstalling all the Kubuntu openoffice.org packages, I'd deleted the icons I needed. I fixed that by copying
/usr/share/
/usr/share/
/usr/share/
from another Edgy machine. Then I restarted kmenuedit, and it found the icons. If you have only one machine, of course, you can copy the necessary files to a safe place before starting work.
5) My file associations were also gone: if I clicked on a .ods file in Konqueror, for example, I'd be asked which program I wanted to open. Konqueror makes it easy to set up file associations on the fly: just select the right program, click 'remember', and you're done.
Marco Trevisan (Treviño) (3v1n0) wrote : | #74 |
I've tried to build the debian experimental version in my Ubuntu edgy and I got it...
Results, and (maybe) packages here: http://
Btw as you can see on the shot (http://
Marco Trevisan (Treviño) (3v1n0) wrote : | #75 |
I've tried to enable also the ooo59127.
Michael Milligan (milli) wrote : | #76 |
This is fixed for me in Feisty... OO 2.1. But, I'm only using (full) hinting... no "smoothing" / anti-aliasing in the Feisty version. Sure looks like it's using the full byte code interpreter in libfreetype properly again.
scananza (scananza) wrote : | #77 |
if so a backport do Edgy would be really appreciated ;^)
RichardNeill (ubuntu-richardneill) wrote : | #78 |
I already made a request for a backport to Edgy, but unfortunately, it's been refused:
https:/
*Please* can we have a bugfix for this - it really doesn't give a very good impression of Ubuntu if such things aren't fixed. Speaking personally, I installed Edgy for 3 different friends; they are all about to go back to WinXP because of this issue: the single major tool that they use on a computer is profoundly unpleasant to work with.
JonM (jon-mechling) wrote : RE: [Bug 54776] Re: [Edgy] font hinting does not work with libfreetype6v. 2.2.1 | #79 |
Yes the backport was rejected. I found OOo 2.1 in the .deb format here:
This installed perfectly in my Edgy, giving me the fix to the fonts issue
(turn off antialiasing inside OOo), as well as OOo's Quickstarter
application (running up by the clock) which speeds the launch of the OOo
apps.
I am using this till Feisty is out and stable.
----Original Message Follows----
From: RichardNeill <email address hidden>
Reply-To: Bug 54776 <email address hidden>
To: <email address hidden>
Subject: [Bug 54776] Re: [Edgy] font hinting does not work with
libfreetype6v. 2.2.1
Date: Sat, 13 Jan 2007 02:15:36 -0000
I already made a request for a backport to Edgy, but unfortunately, it's
been refused:
https:/
*Please* can we have a bugfix for this - it really doesn't give a very
good impression of Ubuntu if such things aren't fixed. Speaking
personally, I installed Edgy for 3 different friends; they are all about
to go back to WinXP because of this issue: the single major tool that
they use on a computer is profoundly unpleasant to work with.
--
[Edgy] font hinting does not work with libfreetype6 v. 2.2.1
https:/
Emmanuel Touzery (emmanuel-touzery) wrote : Re: [Edgy] font hinting does not work with libfreetype6 v. 2.2.1 | #80 |
- screenshot of OOo2.1 menus in feisty Edit (33.8 KiB, image/png)
well, i was hoping that this problem of bad font rendering inside OOo would be fixed with feisty (which has OOo2.1), i've just upgraded and... it's much much worse than in edgy! i attach a screenshot. Look at the "r" in the screenshot. all of them have some sort of gray vertical bar on the right. I've actually first read "Autoconnect" instead of "Autocorrect"... it really looks bad. i tried renaming my ~/.openoffice and ~/.openoffice.org2 and it didn't help. i have set up GNOME to use best contrast/greyscale smoothing/full hinting/RGB pixel order.
this is openoffice 2.1-4ubuntu1 from the feisty repos.
Emmanuel Touzery (emmanuel-touzery) wrote : | #81 |
removing need info, all questions asked have been answered as far as i can see.
Changed in openoffice.org: | |
status: | Needs Info → Confirmed |
Changed in openoffice.org: | |
importance: | Undecided → Low |
Emmanuel Touzery (emmanuel-touzery) wrote : Re: font hinting does not work with libfreetype6 v. 2.2.1 | #82 |
OK, for feisty the problem is fixed for me.
I went from my horrible fonts from two comments ago to beautiful fonts using that trick:
http://
I really wish that trick of changing font substitution was on by default in openoffice in feisty.
I'm not the only one for whom it helped, see:
http://
http://
Daniel Elstner (daniel-elstner) wrote : | #83 |
Fonts in OpenOffice look fine again in Feisty; at least for me.
VF (vfiend) wrote : | #84 |
OOo seems to use greyscale and not subpixel hinting like everything else in latest feisty, I suppose that's because of this bug.
Slight Slightly (slight--deactivatedaccount) wrote : | #85 |
Confirm this is still present in Feisty (herd5 + all updates to 19 Mar) for me. Looks really really ugly, see attached screenshot comparing Firefox 'File' menu with that of OO.o Writer.
Full subpixel hinting.
Slight Slightly (slight--deactivatedaccount) wrote : | #86 |
disabled.user (disabled.user-deactivatedaccount) wrote : | #87 |
- Screenshot OOoW 2.2.0 Edit (63.7 KiB, image/png)
Font rendering seems okay to me with OpenOffice 2.2.0. The UI is clean and sharp again. See Screenshot.
disabled.user (disabled.user-deactivatedaccount) wrote : | #88 |
Slight Slightly (slight--deactivatedaccount) wrote : | #89 |
The fonts in that screenshot aren't anti-aliased at all.
disabled.user (disabled.user-deactivatedaccount) wrote : | #90 |
No, they aren't. That's because I really can't stand anti-aliased fonts, those blurry looks give me a headache after a while. I prefer clear, sharp fonts and turn on anti-aliasing only for larger fonts, if at all.
OOo in Edgy makes disabling AA a no-go, because the fonts become almost unreadable; for me, the rendering in Feisty's OOo 2.2.0 is fine.
disabled.user (disabled.user-deactivatedaccount) wrote : | #91 |
- OOo Writer 2.0.4 Edgy Edit (89.9 KiB, image/png)
Here's a screenshot from a machine running current Edgy, anti-aliasing turned off. Notice the ugly small fonts and the UI?
zerny (zerny) wrote : | #92 |
I can confirm that the problem still exists on Feisty.
Substituting ``DejaVu Sans Condensed'' with ``Sans'' as proposed in thread: http://
James (chiisu81) wrote : | #93 |
Problem still exists in final Fesity release. Also seems to affect AbiWord and many other apps, so OOo may not be alone...
Slight Slightly (slight--deactivatedaccount) wrote : | #94 |
Do you have, or have you had, KDE installed? It messes with Gnome's font settings in ~/.fonts (iirc). If you have that file could you try removing it and restarting Gnome? The problem is gone on my Feisty install, including with Abiword.
However, although its a separate issue, I really think this problem with KDE messing up Gnome's fonts needs fixing.
VF (vfiend) wrote : | #95 |
Er, no, the Deja Vu Sans Condensed issue was fixed, but it still always uses grayscale hinting
Slight Slightly (slight--deactivatedaccount) wrote : | #96 |
James (chiisu81) wrote : | #97 |
Tolan:
No KDE apps installed, it is a plain vanilla Ubuntu install.
VF (vfiend) wrote : | #98 |
Erm, Tolan? That looks like a screenshot of Abiword, this bug's about OpenOffice.org
Slight Slightly (slight--deactivatedaccount) wrote : | #99 |
VF, please see jclemon's earlier comment about Abiword.
Jclemon, ok, just a suggestion, as removing the file KDE had created fixed this for most things, then an update to OO.o fixed it for that for me, so I thought you could have received the fix but still been suffering from the ~/.fonts issue.
VF (vfiend) wrote : | #100 |
Fair enough, but that's a different bug so it probably shouldn't be discussed here
James (chiisu81) wrote : | #101 |
This issue no longer seems to affect Abiword or OpenOffice, I don't know if any fixes were released since my last comment were regards to this. I see a fix has been implemented in Debian at least.
VF (vfiend) wrote : | #102 |
OO.org still uses grayscale hinting, not subpixel when selected on Gutsy
Mehul J. Rajput (mehulrajput) wrote : | #103 |
- Font rendering problem in open office. Edit (190.7 KiB, image/png)
the bug is still there in gutsy. I am pasting my screen shot for firefox and open office. Open office does not honour the subpixel smoothing. I have mine set to slight and it works perfectly for all apps only open office does not use it.
Also, this bug is in there for almost a year now. Not sure what fixes are being done on this bug. Though there is some improvement it is not fully fixed.
The difference is clearly visible in the menu text. Please zoom to image to 100% then it would be easy for you.
Raul Acuña (reacuna) wrote : | #104 |
- screenshot OOo and gThumb.png Edit (24.0 KiB, image/png)
Yes, I can confirm this on released Gutsy. And that the workaround posted by zermy (in reference to a forum post) no longer works. The attached screenshot uses Liberation fonts.
hasi (whynot-nurfuerspam) wrote : | #105 |
This is pretty annoying here (Kubuntu Gutsy/ OOo 2.3, too!)
I found another thread covering this topic:
https:/
I am back to wine/MS Office until it's fixed. I just realized it bothers me quite a bit!
--hasi.
Piotr Gawrysiak (pgawrysiak) wrote : | #106 |
Hasi, but does it mean that you have been able to get subpixel renedering in MS Office on Wine? If so - I would be interested in details...
hasi (whynot-nurfuerspam) wrote : Sorry, guys... | #107 |
- Screenshot showing font rendering Edit (156.0 KiB, image/png)
Sorry for the confusion, guys. I have been quite heavily using OOo and MS Word 2003 in parallel for a few weeks now (for several reasons). I could have sworn that the fonts look nicer in Word. When I was trying to prove it doing some snapshots, I found they practically look the same (see screenshot)!
Now I am puzzled why that is. I actually am shocked facing the possibility that I may be positively biased for MS product...
One difference may be that on my current settings, I have the minimal size for the AA in OOo to "1", whereas the AA seems to be switched off in my wine/MS Word settings for the smaller fonts. That may have caused my impression. Similarly, in my snapshot, the menus in Word are not AA'ed at all, whereas OOo does its not-so-perfect AA. I actually prefer no AA at all in that case!
--hasi.
Piotr Gawrysiak (pgawrysiak) wrote : Re: font hinting does not work with libfreetype6 v. 2.2.1 | #108 |
- subpixel-hardy.png Edit (18.1 KiB, image/png)
Still present in Hardy Alpha 2 :( See screenshot - global subpixel is on (as seen in e.g. Gnome top panel menu), in OOo only grayscale hinting is used (and - but this is another issue - default document font looks terrble) :(
Gert Kulyk (gkulyk) wrote : | #109 |
Seems like Caolan McNamara is working on the subpixel-rendering issue, making use of cairo for text-rendering.
Have a look at http://
http://
Gert Kulyk (gkulyk) wrote : | #110 |
- Screenshot of an upstream ooo-build on gutsy with cairotext-patch attached Edit (140.6 KiB, image/png)
Here a screenshot how it will look like, when above mentioned patch will be integrated upstream. Upstream-packaged version (en-US-packages only, but a current upstream-
Gert Kulyk (gkulyk) wrote : | #111 |
- ooo-2.3-gutsy.png Edit (128.6 KiB, image/png)
For comparsion, a shot of the gutsy-package, displaying the same content.
Piotr Gawrysiak (pgawrysiak) wrote : | #112 |
Gert - any hints on how to get it running in Gutsy? For "the rest of us" :-)
Gert Kulyk (gkulyk) wrote : | #113 |
First, you'll need to download all rpm-files from the given location (the desktop-
"for PKG in *.rpm ; do rpm2cpio ${PKG} | cpio -i -d ; done"
This will unpack the rpm-files. You can start the app by issuing the following command:
PATH_TO_
Please do not try to make a system-wide-install and do not use them for production - e.g. word-import sometimes is unreliable in this build (but this seems not to be related to the cairotext-patch).
The main reason for this post was to mention the upstream-efforts in coping with this annoying issue, unfortunately it seems like it will not be included in upstream-
So I hope the members of the openoffice.
Colin Watson (cjwatson) wrote : | #114 |
Here's the URL for Fedora's cairotext patch:
http://
Changed in openoffice.org: | |
status: | Confirmed → In Progress |
The Punisher (melprinsi) wrote : | #115 |
We need this patch applied to Hardy 8.04 before official release.
Too many years are passed with those crappy fonts on OO.
Changed in openoffice.org: | |
importance: | Low → High |
Nicholas Gee (nicholas-gee) wrote : | #116 |
I agree, this is ridiculous. This is the sort of thing that doesn't affect functionality but is profoundly upsetting for people.
It's been over a year now and this is quite an indictment of Ubuntu's bug-squashing abilities...
Mehul J. Rajput (mehulrajput) wrote : | #117 |
I am using Hardy and seems this has been fixed. I see that fonts are consistent with firefox or any gtk app and open office.
VF (vfiend) wrote : | #118 |
This is not fixed in Hardy yet, as indicated. Enable Subpixel Smoothing in Appearence prefs-> fonts and then compare openoffice's menu bar to firefox or any other gtk apps and the difference is immediately apparent.
Chris Cheney (ccheney) wrote : | #119 |
Yep this isn't fixed in Hardy, yet. However, I believe that this will be fixed in the next upload, I have a patch that I still need to try out that should fix the problem. Of course if it 'improves' it to Firefox's level of support then I will likely get a lot of bugs about it crashing. As soon as I changed the font setting in Gnome it caused Firefox to crash on my machine.
description: | updated |
Changed in openoffice.org: | |
status: | In Progress → Fix Committed |
Launchpad Janitor (janitor) wrote : | #120 |
This bug was fixed in the package openoffice.org - 1:2.4.0-3ubuntu1
---------------
openoffice.org (1:2.4.0-3ubuntu1) hardy; urgency=low
[ Chris Cheney ]
* Resynchronise with Debian (r1044). Remaining changes:
- debian/
. Change diversions to ubuntu bitmap filenames.
- debian/
. Change diversions to ubuntu bitmap filenames.
- debian/control.in:
. Change maintainer line.
. Use imagemagick instead of graphicsmagick.
. Change bzr repo location.
. Add package openoffice.
. Add replaces openoffice.org-gtk (<< 2.0.3-1) for openoffice.
dapper upgrade.
- debian/
. Add file for Ubuntu.
- debian/
. Add L10N_COMMON to Depends.
- debian/
. Add Xb-Npp-xxx tags according to "firefox distro add-on suport" spec.
- debian/
. Add file for Ubuntu.
- debian/
. Add file for Ubuntu.
- debian/
. Add file for Ubuntu.
- debian/
. Various Ubuntu specific changes to ooo-build.
- debian/
. Update and sort mime-types.
- debian/
. Update and sort mime-types.
- debian/
. Update and sort mime-types.
- debian/
. Update and sort mime-types.
- debian/
. Update and sort mime-types.
- debian/
. Update and sort mime-types.
- debian/
. Update and sort mime-types.
- debian/rules:
. Add BUILD_SPARC option.
. Add USE_COMMON_DOCDIR option.
. Add USE_LZMA_COMPRESS option.
. Add support to build on lpia.
. Add support to build l10n as a separate source.
. Add support to chmod +x programs in debian dir.
. Add support to uuencode binary files in ubuntu dir.
. Add support for Ubuntu specific bitmaps.
. Add support for openoffice.
. Add support for launchpad translations.
. Update location of aotcompile.py file.
. Use imagemagick instead of graphicsmagick.
. Use openjdk-6-jre instead of icedtea-java7-jre. Closes LP: #203636
. Various Ubuntu specific changes.
- debian/
. Add file for Ubuntu.
- debian/
. Use imagemagick instead of graphicsmagick.
- debian/
. Add file for Ubuntu.
- debian/
. Add file for Ubuntu.
- debian/
. Add NoDisplay=true.
* Resynchronise with ooo-build (r12081).
- Closes LP: #54776, #62256, #105906, #113358, #131272, #137469, #138252
Closes LP: #148552, #154940, #160988, #175983, #194759, #197451, #197622
* ubuntu/*:
- Update splash screen for OOo 2.4. Closes LP: #199193
- Various Ubuntu specific changes.
[ Matthias Klose ]
* ubuntu/lpi2gsi: Add templates and conversion scripts to generate
...
Changed in openoffice.org: | |
status: | Fix Committed → Fix Released |
Munchkinguy (10068660) wrote : | #121 |
Intrepid has a similar problem on my computer. Can anyone verify?
Munchkinguy (10068660) wrote : | #122 |
- office.png Edit (30.5 KiB, image/png)
Here's a comparison screenshot of Openoffice (top) and Gedit (bottom) in Intrepid.
Gert Kulyk (gkulyk) wrote : | #123 |
@Munchkinguy:
This time it is cairo, not freetype. Somewhere on launchpad is a report against OOo in intrepid. Until it is fixed (people are working on it), you can take from the hardy-packages the libraries libcairo.so.2 and libpangocairo-
Confirmed here; fonts do look absolutely terrible in Edgy's OOo.