View previous topic :: View next topic |
Author |
Message |
pluby The Architect
Joined: Jun 16, 2003 Posts: 11949
|
Posted: Thu Nov 02, 2006 10:59 am Post subject: Lastest Apple X11 update breaks OOo X11 |
|
Seems Apple decided to change their X11 server's font handling without even bothering to test a big font using application like OOo X11 and OOo X11 will not run if you install the latest Apple update.
In my quick look at this, I believe that this clearly an Apple bug. From the OOo X11 team's initial evaluation. The problem seems to be that Apple's update cannot handle its own Vera fonts. But since Apple is unlikely to fix their bug quickly and I know that some people are using OOo X11, I have found the following workaround.
Open the /Applications/Utilties/Terminal application and execute the following two commands. Note that you will be asked for your password as these commands require administrative privileges:
Code: | sudo mkdir -p /usr/X11R6/lib/X11/fonts/TTF.bad |
Code: | sudo mv /usr/X11R6/lib/X11/fonts/TTF/Vera*.ttf /usr/X11R6/lib/X11/fonts/TTF.bad |
Patrick |
|
Back to top |
|
|
Pavel Janik Guest
|
Posted: Thu Nov 02, 2006 11:31 am Post subject: Apple bug or not? |
|
Hi,
unfortunately I do not think it is only Apple bug Several facts:
1. Apple modified BitStream vera fonts.
Q: can Apple do it or no? Bitstream Vera fonts license contains this:
The Font Software may be modified, altered, or added to, and in particular the designs of glyphs or characters in the Fonts may be modified and additional glyphs or characters may be added to the Fonts, only if the fonts are renamed to names not containing either the words “Bitstream†or the word “Veraâ€.
A: No, you can't modify Vera fonts...
2. OOo crashes with some (potentially corrupted) input.
This is clearly OOo bug.
Pavel |
|
Back to top |
|
|
pluby The Architect
Joined: Jun 16, 2003 Posts: 11949
|
Posted: Thu Nov 02, 2006 11:41 am Post subject: Re: Apple bug or not? |
|
Pavel Janik wrote: | 1. Apple modified BitStream vera fonts. |
Don't know if this is relevant. But I open the Font Book application and tried adding the X11 Vera*.ttf fonts. Font Book tried to validate all of the fonts and none of the fonts were added by Font Book because all of the fonts had a "Serious problems were found. Do not use this font." for its validation result.
Maybe Apple put in corrupt fonts in their update?
Patrick |
|
Back to top |
|
|
Pavel Janik Guest
|
Posted: Thu Nov 02, 2006 12:46 pm Post subject: |
|
Yes, it looks so.
I hope OOo font experts will analyze the font files tomorrow and will post results. |
|
Back to top |
|
|
Samwise Captain Naiobi
Joined: Apr 25, 2006 Posts: 2315 Location: Montpellier, France
|
Posted: Thu Nov 02, 2006 1:02 pm Post subject: |
|
I installed the update on my PowerPC-based Mac, and OpenOffice.org/X11 launches and seems to work as usual (didn't test it extensively, but I was able to type some text - font : Bitstream Vera Sans - and saved a document).
Someone suggested the issue only affects Intel-based Macs in this thread (Apple Discussions). Note that the second poster, acermac, claims that his financial application ("moneyplex") seems to be affected by the update as well.
P.S. Patrick : I posted your workaround without citing your name. If you want me to do so, just ask me. |
|
Back to top |
|
|
pluby The Architect
Joined: Jun 16, 2003 Posts: 11949
|
Posted: Thu Nov 02, 2006 1:37 pm Post subject: |
|
Samwise wrote: | P.S. Patrick : I posted your workaround without citing your name. If you want me to do so, just ask me. |
No need to cite my name. I only wrote some shell commands for the workaround. Pavel and others identified the real cause of the problem in OOo bug 71096.
Patrick |
|
Back to top |
|
|
Samwise Captain Naiobi
Joined: Apr 25, 2006 Posts: 2315 Location: Montpellier, France
|
Posted: Thu Nov 02, 2006 3:16 pm Post subject: |
|
That's what I thought, but I decided to ask you anyway.
Edit : I am now unable to access the OOo IssueTracker (Internal Server Error). Probably temporary though. |
|
Back to top |
|
|
Archangel81 Guest
|
Posted: Fri Nov 03, 2006 4:01 pm Post subject: Thank you! |
|
Those font commands entered into the terminal fixed my problem as well. Thanks! |
|
Back to top |
|
|
CiGG Guest
|
Posted: Sat Nov 04, 2006 12:27 am Post subject: Re: Lastest Apple X11 update breaks OOo X11 |
|
pluby wrote: | Seems Apple decided to change their X11 server's font handling without even bothering to test a big font using application like OOo X11 and OOo X11 will not run if you install the latest Apple update.
In my quick look at this, I believe that this clearly an Apple bug. From the OOo X11 team's initial evaluation. The problem seems to be that Apple's update cannot handle its own Vera fonts. But since Apple is unlikely to fix their bug quickly and I know that some people are using OOo X11, I have found the following workaround.
Open the /Applications/Utilties/Terminal application and execute the following two commands. Note that you will be asked for your password as these commands require administrative privileges:
Code: | sudo mkdir -p /usr/X11R6/lib/X11/fonts/TTF.bad |
Code: | sudo mv /usr/X11R6/lib/X11/fonts/TTF/Vera*.ttf /usr/X11R6/lib/X11/fonts/TTF.bad |
Patrick |
Thank You Very Much!
Saved my Head getting ripped off, because i install that update
without asking =).
WorX
Danke.
CiGG |
|
Back to top |
|
|
bigfood Guest
|
Posted: Mon Nov 13, 2006 7:08 am Post subject: THANK YOU |
|
I´ll thank you very much for these commands..
Take care.. |
|
Back to top |
|
|
Iznobad Guest
|
Posted: Tue Nov 14, 2006 6:26 am Post subject: |
|
Thanks a lot for giving short but minute explanations. You saved me a lotta time ! |
|
Back to top |
|
|
yoxi Cipher
Joined: Sep 07, 2004 Posts: 1799 Location: Dawlish, Devon
|
Posted: Tue Nov 14, 2006 7:42 am Post subject: |
|
Does the latest X11 1.1.3 release fix this font bug they introduced in 1.1.2?
- padmavyuha |
|
Back to top |
|
|
Guest
|
Posted: Tue Nov 14, 2006 11:57 am Post subject: |
|
Yes it does... So the next question is: how to undo it? |
|
Back to top |
|
|
pluby The Architect
Joined: Jun 16, 2003 Posts: 11949
|
Posted: Tue Nov 14, 2006 12:01 pm Post subject: |
|
Anonymous wrote: | Yes it does... So the next question is: how to undo it? |
You don't need to undo anything. The latest X11.app update will overwrite all of the bad font files with good font files.
Patrick |
|
Back to top |
|
|
Guest
|
Posted: Tue Nov 14, 2006 12:11 pm Post subject: |
|
1. Sorry for Double-Post
2. You just have to delete the TTF.bad folder because the broken VERTA-fonts just have been moved there and the Update installs them again, hey? |
|
Back to top |
|
|
|