[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Getting Culmus to work with OOo again



Hello,

I'm the maintainer of the Culmus package which provides Hebrew fonts.
The upstream author of Culmus had changed the font names in the last
version and they are now no longer being used in OOo for the GUI in
Hebrew. The bug is #269152.

I have added the name translation table to fontconfig but OOo doesn't
use it.

It is possible to alter the configuration files of OOo to get it to use
the Culmus fonts, but that obviously requires the work of the OOo team.

The instructions I received from one of the Hebrew OOo team are
following at the end. The font he suggests is not very good for UI, I
have used 'Ellinia CLM' with great success and everything worked for me.
I attached the resulting VCL.xcu file that I use.

Please let me know if you need any further information, I think that the
course of action is to detail this solution in the bug report and
reassign it to OOo for resolution.

Baruch

--------------------------------------------------------------------------
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.
-----------------------------------------------------------------------------------



Reply to: