Differences between revisions 9 and 10
Revision 9 as of 2009-03-16 03:37:27
Size: 6958
Editor: anonymous
Comment: converted to 1.6 markup
Revision 10 as of 2011-04-29 19:00:50
Size: 6958
Editor: aliceinwire
Comment:
Deletions are marked like this. Additions are marked like this.
Line 74: Line 74:
We Japanese Font pakcage maintainers and the cooperators want to make the following proposal to facilitate "Default" specification of a Japanese font in Debian by applications. We Japanese Font package maintainers and the cooperators want to make the following proposal to facilitate "Default" specification of a Japanese font in Debian by applications.

日本語フォントパッケージの取り扱いについての提案

私たち日本語フォントパッケージメンテナたちおよびその協力者たちは、 Debianにおけるアプリケーションでの日本語フォントの「デフォルト」 指定を容易にするために、次の提案をしたいと思います。

・バーチャルパッケージ名 ttf-japanese-mincho、ttf-japanese-gothic の追加。
・alternatives名 ttf-japanese-mincho、ttf-japanese-gothic の提供。
・日本語ttfを直接参照しているパッケージの修正。

[影響を受けるパッケージ]

・日本語のフォントパッケージ
・日本語ttfに依存関係を持つパッケージ
  - libpango1.0-common
  - xpdf-japanese
  - gs-cjk-resource
  - xdvik-ja
  - vflib2
  - mgp
  - libkiten1
  - kiten
  - kanjipad
  - kanatest
  - gjiten
  - advi-examples
  - advi

[影響を受けないパッケージ] ・フォントの参照にdefomaまたはfontconfigを使っているパッケージ

[提案内容] 1. 各日本語フォントパッケージは、その字形に応じて、

  • ttf-japanese-mincho(Mincho-styleのデフォルト。英字のserifに相当する字形) または ttf-japanese-gothic(Gothic-styleのデフォルト。英字のsans-serifに相当する字形) のいずれかのバーチャルパッケージをProvideする。

2. 各日本語フォントパッケージは、/usr/share/fonts/truetype/

  • ttf-japanese-mincho.ttf または ttf-japanese-gothic.ttf をalternativesパスとして登録する。alternatives優先順位は次のように 規定する。

   100より上: サードパーティまたはユーザ作成のフォント(IPA フォントなどはこのカテゴリに入る)
   60: vl-gothic(標準)
   50: ttf-sazanami-mincho, ttf-sazanami-gothic
   20: ttf-kochi-mincho, ttf-kochi-gothic
   20より下: 日本語を字形に含むがunified領域で中国語字形が使われているなど
             日本語の表現には使いにくいフォント

3. 特定の日本語フォントパッケージを指定していた各アプリケーションは、

  • 必要に応じてその依存関係を ttf-japanese-mincho | ttf-japanese-gothic (または ttf-japanese-mincho, ttf-japanese-gothic) に置き換える。また、フォント指定パスを特定のフォントファイルから、 /usr/share/fonts/truetype/ttf-japanese-mincho.ttf /usr/share/fonts/truetype/ttf-japanese-gothic.ttf に置き換える。

[予定タイムライン]

N-x   議論期間終了、debian-policyにバーチャルパッケージの追加をリクエスト。
N     バーチャルパッケージが承認される。
      修正済み日本語フォントパッケージのアップロードを開始。
      日本語ttfに依存関係を持つパッケージへのパッチの作成およびテストを
      日本語チームで開始。
N+3   すべての日本語フォントパッケージのアップロードを完了 (NMUを含む)。
N+13  (少なくとも)コアフォントパッケージであるvl-gothic、
      ttf-sazanami-minchoがtestingに入る。
      日本語ttfに依存関係を持つパッケージへの、テスト済みパッチを送付。
N+25  パッチ送付に反応のないパッケージについて、メンテナにNMU許可を
      日本語チームで申請。
N+30  パッチを適用したNMUを完了。

[提案者]

Kenshi Muto (Debian developer)
Hideki Yamane (Debian Maintainer)
Junichi Uekawa (Debian developer)
Nobuhiro Iwamatsu (Debian Maintainer)

Proposal of handling of Japanese font package

We Japanese Font package maintainers and the cooperators want to make the following proposal to facilitate "Default" specification of a Japanese font in Debian by applications.

* Addition of virtual package name ttf-japanese-mincho and ttf-japanese-gothic. * Provide of alternatives name ttf-japanese-mincho.ttf and ttf-japanese-gothic.ttf * Correction of package where Japanese ttf is referred directly.

[Package which is affected]

* Japanese font packages
* Package where with dependence in Japanese ttf package
  - libpango1.0-common
  - xpdf-japanese
  - gs-cjk-resource
  - xdvik-ja
  - vflib2
  - mgp
  - libkiten1
  - kiten
  - kanjipad
  - kanatest
  - gjiten
  - advi-examples
  - advi

[Package which is not affected] * The package which uses defoma or fontconfig for the

  • reference of the font.

[Content of proposal] 1. The Japanese each font package does Provide according to the letterform

  • either of virtual package of ttf-japanese-mincho (Default of Mincho-style. Letterform that corresponds to serif of alphabet.) or ttf-japanese-gothic (Default of Gothic-style. Letterform that corresponds to sans-serif of alphabet.).

2. Various Japanese font packages register /usr/share/fonts/truetype/

  • ttf-japanese-mincho.ttf or ttf-japanese-gothic.ttf as the alternatives passing. The priority level of alternatives is specified as follows.

   above 100: Third party or user create fonts
   60: vl-gothic
   50: ttf-sazanami-mincho, ttf-sazanami-gothic
   20: ttf-kochi-mincho, ttf-kochi-gothic
   below 20: It is a font not used easily to express Japanese as a Chinese letterform
             is used in the unified area though a Japanese letterform is contained.

3. The application that specifies a specific Japanese font package replaces

  • ttf-japanese-mincho | ttf-japanese-gothic (or ttf-japanese-mincho, ttf-japanese-gothic) dependence with if necessary. And, the font specification passing is replaced from a specific font file to /usr/share/fonts/truetype/ttf-japanese-mincho.ttf /usr/share/fonts/truetype/ttf-japanese-gothic.ttf.

[Schedule time line]

N-x   End at proposal period and request the addition of a virtual package to
      debian-policy.
N     Virtual package is approved.
      Start the up loading of the Japanese font package that has been corrected.
      Start make and test of the patch to the package where with the dependence
      in Japanese ttf by Japanese team.
N+3   The up loading of all Japanese font packages is completed. (NMU contains)
N+13  (At least.)VL-gothic and ttf-sazanami-mincho that is the core font package
      enter testing.
      Send the patch to the package where with the dependence in Japanese ttf
      that has been tested.

N+25  Japanese team applies to maintainer for permission to NMU of the package
      where the reaction doesn't exist in the patch sending.

N+30  NMU that applies patch is completed.

[Proposer]

Kenshi Muto (Debian developer)
Hideki Yamane (Debian Maintainer)
Junichi Uekawa (Debian developer)
Nobuhiro Iwamatsu (Debian Maintainer)