Re: MacOSX and Japanese (maybe others as well) fonts, Tofu again

Etsushi Kato <[email protected]> Tue, 13 Sep 2005 17:36:37 +0900
Newsgroups gmane.comp.openoffice.devel.porting
Message-ID <[email protected]>
On 2005/09/13, at 15:09, Laurent Godard wrote:

>> How do we proceed? o Can we use them via freetype?
>> o Just adding Hiragino fonts for VCL.xcu is enought?
>> Any infomation is very appreciated.
>
> You said IPA fonts were not freely distribuable
> Nevertheless, wa can add them as a font set inside FontOOo
> If we can mirror them, it is better but FontOOo as been designed to  
> retreive fonts directly from a web site. The question remains the  
> reliability of it
>
> So if you're interrested in adding Japanese fonts in FontOOo  
> repository, just tell me

I have created a personal patch to solve the problem at the time of OOo  
1.1.2 using Osaka font.

My change for OOo installer is as follows (This is the same patch sent  
to Eric a few days ago).

1. Put fondu to /Applications/OpenOffice.org1.1.5/program/ in order to  
extract Mac OS X's fonts with post install script.
    Note that binary version of fondu (040925) has a bug, so need to use  
the one from source (041222).

2. Apply patch to  
/Applications/OpenOffice.org1.1.5/share/registry/data/org/openoffice/ 
VCL.xcu to use Osaka font for ja-jp.

3. Apply patch to custom.css in  
/Applications/OpenOffice.org1.1.5/help/ja

4. Apply patch for  
/Applications/OpenOffice.org1.1.5/OOo_Admin.app/Contents/Resources/ 
Scripts/main.scpt to extract Mac OS X fonts using fondu into   
/Applications/OpenOffice.org1.1.5/share/fonts/truetype.

I just added the issue #54535.  This should solve the installer's  
Mojibake, and enable to use relatively high quality font for Japanese  
editing.

Cheers,
-- 
Etsushi Kato
[email protected]