QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 4175|回复: 38

文泉半两--通行天下

[复制链接]
发表于 2005-6-26 16:00:18 | 显示全部楼层 |阅读模式
发布文泉驿点阵中文字库v0.5 (中文名称:文泉半两,英文名称:WenQuanYi Bitmap Song)。该字库包括了完整的CJK统一字符集多字号点阵(9pt/10pt/11pt/12pt)以及粗体点阵。在大多数Linux发行版中无须安装其他矢量字体,仅安装本字体即可实现中文的流畅显示。同时,该字体支持较为完整的日文和韩文。

参见:http://wqy.sourceforge.net/cgi-bin/index.cgi
以下为发布公告(部分内容更新,包括locale和安装方法)
[code:1]
<pre>$Id: WenQuanYi-Bitmap 0.5 Rev. 0 2005/6/25 15:59:16 QianqianFang$

==========================================================

               Wen Quan Yi Bitmap Song

                    Release Notes

----------------------------------------------------------

Dedication:

      To those who lost their lifes in the flood in China

----------------------------------------------------------
Summary:

    Developer: The WenQuanYi Project
    Webpage  : http://wqy.sourceforge.net/en/
    Font Name: WenQuanYi Bitmap Song
    Version  : 0.5 (half-teal)
    Release  : 1
    Copyright: © 2004,2005, The WenQuanYi Project
    License  : GPL

          May the Font be with you, forever!

----------------------------------------------------------

Legal Disclaimer:

Permission is granted to copy, distribute, and/or modify
this document under the terms of the GNU Free Documentation
License, Version 1.2 or any later version published by
the Free Software Foundation; with no Invariant Sections,
no Front-Cover Texts, and no Back-Cover Texts. A copy
of the license is available at
http://www.gnu.org/licenses/fdl.html.

This document may be copied and distributed in any medium,
either commercially or noncommercially, provided that the
GNU Free Documentation License (FDL), the copyright notices,
and the license notice saying the GNU FDL applies to the
document are reproduced in all copies, and that you add
no other conditions whatsoever to those of the GNU FDL.

----------------------------------------------------------

Table of Content

I.   Introduction
II.  Installation Guide
III. About The WenQuanYi Project
IV.  Links to Open-source CJK font resources

----------------------------------------------------------

I. Introduction

The bitmap font in this package includes complete CJK Unified
Ideographics (U4E00~U9FA5) glyphs at four different sizes
(9pt-12X12 pixel, 10pt-13X13 pixel, 11pt-15X15 pixel,
and 12pt-16X16pt) and two weights (medium and bold).
This font can be used for displaying Chinese on various
computer operating systems, especially on all distributions
of Linux. Using bitmap Chinese font can overcome the
blurring problem for many True-Type Chinese font due to
anti-aliasing and insufficiency in hinting methods for
Chinese characters. For 12pt font, the Korean characters
from GNU Unifont (Roman Czyborra/David Starner) were also
added to accommodate the potential needs.

This font is built upon the previous works by firefly
([email protected])[2] and Redflag Linux Inc[3]. We
would like to give our sincere thanks to their
ground-breaking contributions for the Chinese
open-source community.

The development of this font involved thousands of people
for about 8 months' endeavor [1]. More than fifteen thousands
of new bitmap glyphs were painted and more than twenty
thousands of existing glyphs were improved upon or redrawn
(for detailed statistics, please refer to STAT.txt).

We release this font to public as an open-source software
in terms of GPL. You are free to copy, distribute, and/or
modify this font as long as the license permits.

We hope you find this font useful. Meanwhile, we are
currently working on the bitmap fonts for CJK Unified
Ideographics Extension A (U3400~U4DB5), we sincerely invite
you to join us by contributing to our project.
Please visit our webpage for details on how to contribute.

  http://wqy.sourceforge.net/eindex.cgi?HowToContribute

----------------------------------------------------------

II. Installation Guide

The WenQuanYi Bitmap Song font (medium and bold weight) was
packaged into two equivalent formats: BDF (Bitmap Distribution
Format) and PCF (Portable Compiled Format). Both formats are
supported by most modern X-window systems. You can choose
either format based on your preference.

1. download

You need first to download the installation package from
our sourceforge download site at

http://sourceforge.net/project/showfiles.php?group_id=128192

choose the latest release and select font format, save the
installation package to a temporary directory, for example /tmp.

2. decompress

The package is compressed with tar and gzip, use the following
command

  gunzip wqy-bitmapfont*.tar.gz
  tar xvf wqy-bitmapfont*.tar

or

  tar zxvf wqy-bitmapfont*.tar.gz

3. relocate

All files will be extracted to a directory: ./WenQuanYi, you
need to move this directory to the location where you want
to install the font, a good place is
/usr/share/fonts/Chinese/WenQuanYi .

To move the directory, you need to use "su" or "sudo" to obtain
root privilege. (If you don't have root privilege, please
refer to Section II.6)

4. font path setup

Now you need to tell X-window to find the installed font.
Assuming you have installed the package to
/usr/share/fonts/Chinese/WenQuanYi/

you need to use the following commands:

   cd /usr/share/fonts/Chinese/WenQuanYi/Bitmap/
   mkfontdir
   cp fonts.dir fonts.scale
   xset +fp /usr/share/fonts/Chinese/WenQuanYi/Bitmap/

the last command adds the font path to the X-window font path
list. To permanently add this path, you need to add
"/usr/share/fonts/Chinese/WenQuanYi/Bitmap," to /etc/X11/fs/config
under the line "catalogue =/usr/lib/X11/fonts/misc/,".

Most recent versions of Linux X programs support fontconfig, to
inform fontconfig of this bitmap font, you need to type

   fc-cache

If you have already installed True-Type Chinese fonts on your system,
the new font may not be used instantly. You need either choose
this font from preference\font options or temporarily remove
the True-Type font in order to activate this bitmap font.
We are working on a fontconfig solution to use the bitmap font
while keeping the existing True-Type fonts.

5. test

To test if the font is successfully installed, the following
command

   xset q

should correctly display the path of the font. And

   /usr/X11R6/bin/xlsfont | grep 'WenQuanYi'

should print the four font sizes you have installed.

for fontconfig, you need

   fc-list | grep 'WenQuanYi'

you should be able to see two lines started with
"WenQuanYi Bitmap Song" printed.

6. installation as a normal user

If you do not have root privilege, for example, you are using
public machine, to install this font is also very simple.
If you are using KDE, find "Control Center" from the K-menu,
choose "System Administration" and click on "Font Installer",
right click on the middle panel, choose "add font", locate the
extracted fonts (bdf/pcf.gz) files.

If you are using Gnome environment, double click on "Computer",
type "font:/" on the address bar, and type enter. Open another
file browser and select the bdf/pcf.gz font files, drag or
copy/paste to the font:/ folder.

If you do not have X-windows started, you can also install the
font by extracting the files to ~/.fonts directory (if it does
not exist, create one after confirming you have installed
fontconfig).

7. Turn on Chinese language support on your system

To correctly display use this font, your system should
support Chinese language. You can put the following line

LC_CTYPE=zh_CN.UTF-8

into ~/.i18n and reboot your system (you can also use other
locales in the output list of "ls -d /usr/lib/locale/zh_*").
To enable command line Chinese
message, replace "LC_CTYPE" by "LC_ALL". If you want all menu displayed
with Chinese language, on KDE, goto "Control center", expand "Region and
Assistance", find "Country/Region and Language", choose "Chinese" from
"Add language"; if you are using Gnome, you need to select "Preference"
and select "Language", then add "Chinese". Restart your X or system
if necessary to enable this setting.

----------------------------------------------------------

III. About The WenQuanYi Project

The WenQuanYi Project was created by Qianqian Fang[8] in
Oct 2004. The overall goal of this project is to enrich
open-source Chinese software and resources and facilitate the
communications between computer users using Chinese characters
(Chinese, Japanese and Korean). One important mile-stone for
the project is to create the bitmap character glyphs and
outline fonts for all 70,000+ Chinese characters currently
encoded by Unicode Consortium.

There are two major ongoing sub-projects which are the Bitmap

Chinese project and Vector Chinese project, respectively.
The former subproject targets at portability and screen
optimization.

One of the major complains coming from the Linux Chinese users
is the blurring of Chinese True-Type font when displayed on
the screen. This is due to the insufficiency in hinting of the
font due to the complex structure of glyph. Moreover, for
pattern reasons, FreeType rendering engine can not use hinting
table within the pre-hinted True-type font. One solution for
better screen quality is to embed pre-optimized bitmap glyphs
into the True-Type font or used externally. This font is built
in light of this purpose.

The WenQuanYi Project use Wiki[1] as the major tool for
coordinating the development of the font, documentation
creation and organization. It is greatly benefited from the
large-scale/distributed/parallel cooperative development
mechanism provided by Wiki engine. About 1/5 of the
font editing (more than 7,000) was done online with
the JavaScript tools in each character Wiki page.

There project consists of a "Steering Committee" by the
core members, and a "Team B" for bitmap Chinese font
development, a "Team V" for outline font development.
Meanwhile, a large number of anonymous contributors also
participate our development through the Wiki.

----------------------------------------------------------

IV. Links to Open-source CJK font resources


[1] The WenQuanYi Project Homepage
      http://wqy.sourceforge.net/            (Chinese version)
      http://wqy.sourceforge.net/en/         (English version)
      http://sourceforge.net/projects/wqy/   (Sourceforge project)

[2] Firefly bitmap font
      http://www.study-area.org/apt/firefly-font/

[3] Redflag Linux Co.
     http://www.redflag-linux.com/

[4] Arphic Public License
     http://ftp.gnu.org/gnu/non-gnu/chinese-fonts-truetype/LICENSE

[5] Unifonts Project
     http://www.freedesktop.org/wiki/Software_2fCJKUnifonts

[6] Open Source Hong Kong Fonts Project
     http://freefonts.oaka.org/en/index.php/Main_Page

[7] The Unicode Consortium
     http://www.unicode.org/

[8] Qianqian Fang homepage
     http://nmr.mgh.harvard.edu/~fangq/

==========================================================
$Id: WenQuanYi-Bitmap 0.5 Rev. 0 2005/6/25 15:59:16 QianqianFang$
</pre>

[/code:1]

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×
发表于 2005-6-26 16:02:37 | 显示全部楼层
粗体怎么生成的?手工制作的?还是通过程序算法?
回复

使用道具 举报

发表于 2005-6-26 17:11:15 | 显示全部楼层
必须gb18030吗?

现在的FC都用UTF-8呀。 不至于要俺改过来吧?
回复

使用道具 举报

发表于 2005-6-26 17:13:57 | 显示全部楼层
看到有RPM包了,没看到DEB包。 :cry
而安装文档却是英文的,给个中文说明吧
回复

使用道具 举报

发表于 2005-6-26 17:21:04 | 显示全部楼层
那你就下载tar包呗,这还不简单,我即使用FC3,也不下载rpm包,因为这个东东我要亲手把她弄弄,嘿嘿。

安装文档如此简单,你还没看懂?
回复

使用道具 举报

发表于 2005-6-26 17:53:23 | 显示全部楼层
我装上了,发现它的英文和粗体显示好有意思啊。是那种LED的效果
回复

使用道具 举报

发表于 2005-6-26 17:56:22 | 显示全部楼层
嗯,我用的1.1版时,就是这个样,不过很好呀。识别还是不错的。
现在刚下载,还没有去安装。
回复

使用道具 举报

发表于 2005-6-26 18:02:09 | 显示全部楼层
只是有的英文会看不清
回复

使用道具 举报

发表于 2005-6-26 18:14:43 | 显示全部楼层
贴图来看看,什么样子? 
回复

使用道具 举报

发表于 2005-6-26 19:00:36 | 显示全部楼层
怎么都是16的?
wenquanyi_10pt.pcf.gz -wenquanyi-wenquanyi bitmap song-medium-r-normal--13-160-75-75-c-80-iso10646-1
wenquanyi_10ptb.pcf.gz -wenquanyi-wenquanyi bitmap song-bold-r-normal--13-160-75-75-c-80-iso10646-1
wenquanyi_11pt.pcf.gz -wenquanyi-wenquanyi bitmap song-medium-r-normal--15-160-75-75-c-80-iso10646-1
wenquanyi_11ptb.pcf.gz -wenquanyi-wenquanyi bitmap song-bold-r-normal--15-160-75-75-c-80-iso10646-1
wenquanyi_12pt.pcf.gz -wenquanyi-wenquanyi bitmap song-medium-r-normal--16-160-75-75-c-80-iso10646-1
wenquanyi_12ptb.pcf.gz -wenquanyi-wenquanyi bitmap song-bold-r-normal--16-160-75-75-c-80-iso10646-1
wenquanyi_9pt.pcf.gz -wenquanyi-wenquanyi bitmap song-medium-r-normal--12-160-75-75-c-80-iso10646-1
wenquanyi_9ptb.pcf.gz -wenquanyi-wenquanyi bitmap song-bold-r-normal--12-160-75-75-c-80-iso10646-1

是不是字体中的信息有误?
回复

使用道具 举报

发表于 2005-6-26 19:05:04 | 显示全部楼层
[quote:249d1e5a0e="Xorg"]怎么都是16的?
wenquanyi_10pt.pcf.gz -wenquanyi-wenquanyi bitmap song-medium-r-normal--13-160-75-75-c-80-iso10646-1
wenquanyi_10ptb.pcf.gz -wenquanyi-wenquanyi bitmap song-bold-r-normal--13-160-75-75-c-80-iso10646-1
wenquanyi_11pt.pcf.gz -wenquanyi-wenquanyi bitmap song-medium-r-normal--15-160-75-75-c-80-iso10646-1
wenquanyi_11ptb.pcf.gz -wenquanyi-wenquanyi bitmap song-bold-r-normal--15-160-75-75-c-80-iso10646-1
wenquanyi_12pt.pcf.gz -wenquanyi-wenquanyi bitmap song-medium-r-normal--16-160-75-75-c-80-iso10646-1
wenquanyi_12ptb.pcf.gz -wenquanyi-wenquanyi bitmap song-bold-r-normal--16-160-75-75-c-80-iso10646-1
wenquanyi_9pt.pcf.gz -wenquanyi-wenquanyi bitmap song-medium-r-normal--12-160-75-75-c-80-iso10646-1
wenquanyi_9ptb.pcf.gz -wenquanyi-wenquanyi bitmap song-bold-r-normal--12-160-75-75-c-80-iso10646-1

是不是字体中的信息有误?[/quote]
前面不是写了么,9,10,11,12。一共就这四个
回复

使用道具 举报

发表于 2005-6-26 19:18:21 | 显示全部楼层
http://www.linuxsir.org/bbs/showthread.php?p=1198693
look
回复

使用道具 举报

发表于 2005-6-26 19:22:42 | 显示全部楼层
[quote:8a311cebce="Ouranos"][quote:8a311cebce="Xorg"]怎么都是16的?
wenquanyi_10pt.pcf.gz -wenquanyi-wenquanyi bitmap song-medium-r-normal--13-160-75-75-c-80-iso10646-1
wenquanyi_10ptb.pcf.gz -wenquanyi-wenquanyi bitmap song-bold-r-normal--13-160-75-75-c-80-iso10646-1
wenquanyi_11pt.pcf.gz -wenquanyi-wenquanyi bitmap song-medium-r-normal--15-160-75-75-c-80-iso10646-1
wenquanyi_11ptb.pcf.gz -wenquanyi-wenquanyi bitmap song-bold-r-normal--15-160-75-75-c-80-iso10646-1
wenquanyi_12pt.pcf.gz -wenquanyi-wenquanyi bitmap song-medium-r-normal--16-160-75-75-c-80-iso10646-1
wenquanyi_12ptb.pcf.gz -wenquanyi-wenquanyi bitmap song-bold-r-normal--16-160-75-75-c-80-iso10646-1
wenquanyi_9pt.pcf.gz -wenquanyi-wenquanyi bitmap song-medium-r-normal--12-160-75-75-c-80-iso10646-1
wenquanyi_9ptb.pcf.gz -wenquanyi-wenquanyi bitmap song-bold-r-normal--12-160-75-75-c-80-iso10646-1

是不是字体中的信息有误?[/quote]
前面不是写了么,9,10,11,12。一共就这四个[/quote]
文件名是写了9,10,11,12,但是,生成的fonts.dir中却都是16的啊。
回复

使用道具 举报

发表于 2005-6-26 19:33:50 | 显示全部楼层
[quote:70297eb753="Xorg"][quote:70297eb753="Ouranos"][quote:70297eb753="Xorg"]怎么都是16的?
wenquanyi_10pt.pcf.gz -wenquanyi-wenquanyi bitmap song-medium-r-normal--13-160-75-75-c-80-iso10646-1
wenquanyi_10ptb.pcf.gz -wenquanyi-wenquanyi bitmap song-bold-r-normal--13-160-75-75-c-80-iso10646-1
wenquanyi_11pt.pcf.gz -wenquanyi-wenquanyi bitmap song-medium-r-normal--15-160-75-75-c-80-iso10646-1
wenquanyi_11ptb.pcf.gz -wenquanyi-wenquanyi bitmap song-bold-r-normal--15-160-75-75-c-80-iso10646-1
wenquanyi_12pt.pcf.gz -wenquanyi-wenquanyi bitmap song-medium-r-normal--16-160-75-75-c-80-iso10646-1
wenquanyi_12ptb.pcf.gz -wenquanyi-wenquanyi bitmap song-bold-r-normal--16-160-75-75-c-80-iso10646-1
wenquanyi_9pt.pcf.gz -wenquanyi-wenquanyi bitmap song-medium-r-normal--12-160-75-75-c-80-iso10646-1
wenquanyi_9ptb.pcf.gz -wenquanyi-wenquanyi bitmap song-bold-r-normal--12-160-75-75-c-80-iso10646-1

是不是字体中的信息有误?[/quote]
前面不是写了么,9,10,11,12。一共就这四个[/quote]
文件名是写了9,10,11,12,但是,生成的fonts.dir中却都是16的啊。[/quote]
我在GNOME上用一切正常啊
回复

使用道具 举报

发表于 2005-6-26 21:28:44 | 显示全部楼层
我的也正常,奇怪了   
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-8 20:04 , Processed in 0.067091 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表