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

Re: Where can find Chinese Type1 fonts for abiword?



On Fri, Jan 05, 2001 at 10:32:49AM +0800, ygh@debian.org wrote:
> hi all
>    I installed abiword 0.7.12. but I found it use type1 fonts to display
> chinese. :( I dont remember there is any chinese type1 font in Debian. 
> 							saka

No, it does not. It use X's font for display and type1 for printing.
It actually uses ttf for CJK printing thanks to hj's work on this part.

To display Chinese, you have to:
1) put a fonts.dir in your ${abisuite}/fonts/locale-spec/
 Where locale-spec is 
   lang-territory.encoding or
   lang-territory or
   encoding

   Please note it uses '-' instead of underscore '_'.
   Debian's ${abisuite} is /usr/share/abisuite.

2) set your LANG environment to your preferred locale.
   If you want English menu, you can set LC_MESSAGES to C.
   This can be set manually or done inside your 'abiword' 
   script which will call the actual binary.

3) site back and enjoy.

The fonts.dir format is just like native X fonts.dir except
it has trailing numbers for font ascend, descend and width.

This is my GB2312/fonts.dir
==== cut ====
8
Song-Medium-GBK-H, -default-song-medium-r-normal--0-0-0-0-c-0-gb2312.1980-0, 880, 120, 1000
Song-Medium-GBK-H, -default-song-bold-r-normal--0-0-0-0-c-0-gb2312.1980-0, 880, 120, 1000
Song-Medium-GBK-H, -default-song-medium-i-normal--0-0-0-0-c-0-gb2312.1980-0, 880, 120, 1000
Song-Medium-GBK-H, -default-song-bold-i-normal--0-0-0-0-c-0-gb2312.1980-0, 880, 120, 1000
Kai-Medium, -default-kai-medium-r-normal--0-0-0-0-c-0-gb2312.1980-0, 880, 120, 1000
Kai-Medium, -default-kai-bold-r-normal--0-0-0-0-c-0-gb2312.1980-0, 880, 120, 1000
Kai-Medium, -default-kai-medium-i-normal--0-0-0-0-c-0-gb2312.1980-0, 880, 120, 1000
Kai-Medium, -default-kai-bold-i-normal--0-0-0-0-c-0-gb2312.1980-0, 880, 120, 1000
==== cut ====

This is my Big5/fonts.dir
==== cut ====
8
Ming-Medium-GBK-H, -default-ming-medium-r-normal--0-0-0-0-c-0-big5-0, 880, 120, 1000
Ming-Medium-GBK-H, -default-ming-bold-r-normal--0-0-0-0-c-0-big5-0, 880, 120, 1000
Ming-Medium-GBK-H, -default-ming-medium-i-normal--0-0-0-0-c-0-big5-0, 880, 120, 1000
Ming-Medium-GBK-H, -default-ming-bold-i-normal--0-0-0-0-c-0-big5-0, 880, 120, 1000
Kai-Medium, -default-kai-medium-r-normal--0-0-0-0-c-0-big5-0, 880, 120, 1000
Kai-Medium, -default-kai-bold-r-normal--0-0-0-0-c-0-big5-0, 880, 120, 1000
Kai-Medium, -default-kai-medium-i-normal--0-0-0-0-c-0-big5-0, 880, 120, 1000
Kai-Medium, -default-kai-bold-i-normal--0-0-0-0-c-0-big5-0, 880, 120, 1000
==== cut ====

-- 
Best regard
hashao

-- 
| This message was re-posted from debian-chinese-gb@lists.debian.org
| and converted from gb2312 to big5 by an automatic gateway.



Reply to: