A manual solution for the the OOo bug is described in the following mail:

-------- Original Message --------
Subject: Re: culmus/openoffice issue - partial summary
Date: Sun, 5 Sep 2004 12:09:40 +0300 (IDT)
From: Alan Yaniger <[EMAIL PROTECTED]>
Reply-To: Ivrix Discussions <[EMAIL PROTECTED]>
To: Ivrix Discussions <[EMAIL PROTECTED]>
CC: hebrew@openoffice.org.il, "'Baruch Even'" <[EMAIL PROTECTED]>, "'Itai Seggev'" <[EMAIL PROTECTED]>, "'Yuval Tanny'" <[EMAIL PROTECTED]>


Hi Baruch, Maxim, Itai, Yuval, et al,

The problem seems to be what Maxim suggested - namely, that the new Culmus
fonts have different names than the old ones. OpenOffice is now unable to
find the font that was once the UI font, since the font name has changed.
To get around this, you can change the UI font that OOo uses. There is a
file in the OpenOffice registry, VCL.xcu, which tells OpenOffice which
font to use for its UI font. If you set the UI font to be one of the new
fonts, including the CLM suffix, the empty squares should disappear.

Itai, perhaps you could try this and see if it helps:

1. open  /usr/lib/openoffice/share/registry/data/org/openoffice/VCL.xcu in
a editor

2. search for the following section:

<node oor:name="he" oor:op="replace">
   <prop oor:name="UI_SANS" oor:op="replace" oor:type="xs:string">

3. in the <value> section immediately following, make the first value the
name of the font you want to use as your UI font. For example, I
added Miriam Mono CLM to the list. I changed:

<node oor:name="he" oor:op="replace">
   <prop oor:name="UI_SANS" oor:op="replace" oor:type="xs:string">
    <value>Tahoma;Raanana;Lucidasans;Lucida
Sans;Supplement;Andale Sans UI;Arial Unicode MS;Lucida Sans
Unicode;Interface User;WarpSans;Geneva;MS Sans
Serif;Helv;Dialog;Albany;Lucida;Helvetica;Charcoal;Chicago;Arial;Helmet;Interface
System;Sans Serif</value>
   </prop>

 to:

<node oor:name="he" oor:op="replace">
   <prop oor:name="UI_SANS" oor:op="replace" oor:type="xs:string">
    <value>Miriam Mono CLM;Tahoma;Raanana;Lucidasans;Lucida
Sans;Supplement;Andale Sans UI;Arial Unicode MS;Lucida Sans
Unicode;Interface User;WarpSans;Geneva;MS Sans
Serif;Helv;Dialog;Albany;Lucida;Helvetica;Charcoal;Chicago;Arial;Helmet;Interface
System;Sans Serif</value>
   </prop>

and the UI font became Miriam Mono CLM.

Also, if there is a file openoffice/user/registry/org.openoffice.VCL.dat,
it should be deleted.

You need to restart OOo for the changes to take effect.

Baruch (Even), maybe you could get the debian openoffice guys to patch the
VCL.xcu file so that it looks for a new Culmus font name.

Maxim, It's true that the font-choosing heuristics in OOo need work, but
this could take care of the problem being discussed.


-- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Reply via email to