GlyphWiki logo
导航
帮助
搜索

工具箱
其他语言
文章讨论编辑历史

GlyphWiki:AddingGlyphs

字形维基(GlyphWiki), 自由的字形数据库

This page is a translation of GlyphWiki:グリフを登録する@8.

日本語 English 简体中文 繁體中文

Tutorial: Adding glyphs

Let's find out what we have to do to add glyphs to GlyphWiki.

Correction and deletion of registered glyphs

To correct or delete existing glyphs, click the "edit" tab on a glyph page. In addition, to make clear the intents of your edit, we request that you fill in the edit summary when editing pre-existing glyphs.

Deletion on GlyphWiki is called "blanking", and as a general rule data is not really deleted (past revisions of a glyph can be seen using the "history" tab). To blank a glyph, register "0:0:0:0" as the glyph's data.

Create a brand-new glyph

If you can't find the glyph you're looking for even after searching, by all means register it as a new glyph.

Concerning the types of glyphs that can be registered

In principle, the aim of GlyphWiki is to register minchō-style kanji glyphs. Glyphs such as the following may be rejected.

  • Drawings and illustrations
  • Non-minchō designs such as kaishō, etc. (However, this doesn't really apply strictly to ancient-style characters)
  • Anything thought to be a trademark
  • Non-kanji

However, glyphs will be accepted if they are registered as a user-exclusive glyph (explained below) or part of an existing character encoding or well-known character set (such as character dictionaries).

Finally, the glyph generation engine (KAGE engine) that GlyphWiki utilizes specializes in the generation of minchō glyphs, be aware that there is the possibility that non-minchō glyphs that have displayed fine up to now may become undisplayable following engine updates.

Concerning the usage of Konjaku Mojikyo character codepoints

Concerning the character codepoints defined in the Konjaku Mojikyo fonts distributed by the Mojikyo Institute, interpretation of the license has determined that they should not be used on GlyphWiki. Because of this, please give glyphs names based on other sources. In order to avoid misunderstandings, please do not register prefixes such as "mojikyo-" and "m-".

Things to take into consideration when naming glyphs

Fundamental rules

The characters permitted in a glyph name are lowercase Latin letters (a-z), numbers (0-9), and the hyphen (-). The glyph name must begin with at least one letter and cannot end with a hyphen. The glyph name must not be shorter than five (5) characters or exceed sixty (60) characters.

Glyph names are not first come first served. In the case that someone else has already used a glyph name, the data will be overwritten (the old overwritten data can also continue to be used).

Giving a glyph its name

All glyphs have names on GlyphWiki. If you are to add a new glyph, you must think of a name for it.Considering what a glyph shall be named may be one of the hardest things to do on Glyph Wiki. In order to prevent disorganization, GlyphWiki has the following policies regarding deciding what to name a glyph. Glyphs that do not follow these policies will be blanked or have their names compulsorily changed.

  • Temporarily register it to sandbox for the time being
  • Make it a user-exclusive glyph
  • Register it as a variant of a pre-existing glyph
  • Make it a 偏化変形部品 of an existing glyph
  • Register it under its IDS representation
  • Name it based on an existing kanji collection

Temporarily register it to sandbox for the time being

Those who are not yet familiar with GlyphWiki or who cannot decide on a glyph name can temporarily register the glyph as sandbox. If the character's meaning (origin, source/reference, 親字) is included in the edit summary, it is possible that someone will re-register the glyph with a proper name.

Even when adding multiple glyphs, please overwrite the sandbox one character at a time. Looking at the glyph history, all glyphs can be reviewed and possibly moved to a new name.

Make it a user-exclusive glyph

The GlyphWiki project was set out to be freely usable by anyone, so all registered glyphs can also be changed by anyone, but there are cases where this is not desirable. In these cases, users with a GlyphWiki account can opt to create a glyph in their own personal name space, where only they can alter it. If a glyph name is prefixed with a registered user's account name followed by an underscore (accountname_), that glyph can only be edited by that user. For example, only the user kamichi can create and edit a glyph named kamichi_foobar. Naturally, to create such a glyph you have to be logged in.

Keep in mind that the data itself is still public, so whilst that particular glyph cannot be edited by anyone but its creator, it is possible to copy the data as-is and re-register it under another glyph name.

As a general rule, user-exclusive glyphs can have any name, so it is one option for those who are perplexed by glyph naming.

Register it as a variant of a pre-existing glyph

This is where a glyph is given a variant character number relative to a base glyph. There are two types of variant character numbering, "base glyph name-itaiji-###" and "base glyph name-var-###". The difference is that glyphs that fall under "differences that are a target of unification in ISO/IEC 10646" are named using "-var-###", while "-itaiji-###" is for everything else. Characters that are nearly a variant should be named with "-var-###".

"###" consists of three numbers, and starts from "001" for each respective glyph. In order to avoid overwriting existing glyphs, please check how many variants there are beforehand.

When a glyph becomes a missing number due to actions such as blanking, that number is retired. Please do not reuse it. Also, the numbering of "-var-###" and "-itaiji-###" are independent of each other; overlapping of numbers is not something to worry about. Also, you may not use them in combination.

Allowed

  • u4e00-var-001
  • u4e00-itaiji-001

Not allowed

  • u4e00-var-1
  • u4e00-itaiji001
  • u4e00-var-001-itaiji-001
  • u4e00-var-001-var-001
  • u4e00-itaiji-001-itaiji-001

In order to improve searchability, please try to make the corresponding base glyph a UCS (Unicode) glyph whenever possible.

Make it a 偏化変形部品 of an existing glyph

For example, when the character "金" becomes a component, it can appear as something like u91d1-01. This is called "偏化変形" on Glyphwiki. あるグリフに対して、偏化変形した部品を登録したい場合には偏化変形部品用の接尾コードが用意されています。ベースとなるグリフ名の後ろに接尾コードをつなげてグリフ名とします。

Suffix codeMeaning
-01left side of a left-right combination; left side or center of a left-center-right combination
-02left side of a left-right combination; right side of a left-center-right combination
-03top of a top-bottom combination; top or center of a top-center-bottom combination
-04bottom of a top-bottom combination; bottom of a top-center-bottom combination
-05frame of an enclosure
-06contents of an enclosure
-07位置の指定はないが単独字ではなく部品として利用
-08used as a vertical component (suitable as a common component of -01 and -02)
-09used as a horizontal component (suitable as a common component of -03 and -04)
-10frame of an enclosure where the density of the contents is higher than normal
-11frame of an enclosure where the density of the contents is lower than normal
-14上下結合の下、上中下結合の下で、三角屋根の形状のもの
-15-05以外(通常と異なる囲い)の囲い外部品

(For advanced users) About the registration of 偏化変形部品

For example, in the case of u91d1-01, the original "金" is u91d1, so the name "u91d1-01" is preferred. ただし部品によっては「釒(u91d2)」のように部品自体に文字コードが用意されているケースもあります。この場合は、「釒(u91d2)」に対してデータを割り当て、さらに「釒(u91d2)」を部品に使って「u91d1-01」を用意することを推奨します。

また、多くの部品は、それ単独で文字となる場合のデザインと、部品として使用する場合のデザインが異なるケースがあります。これを実現するために、場所を指定しない部品には「-07」という接尾コードを推奨します。あるいは、縦長や横長に部品を使用した場合のバランスを調整しているグリフは「-08」「-09」をつけてください。

なお、部品として利用する際のデザイン変更が生じないものについてはあえて「-07」などのグリフを新設せずに、ベースグリフをそのまま利用するようにしてください。

将来的には、漢字を部品とその相対的な位置関係で記述することにより、自動的にグリフをデザインする機能を実現します。その際、たとえば「偏」のように左側に位置する部品は「-01」→「-08」→「-07」→「なし」という優先順でデータを探索します。

このため、特異なケース(例えばu5962の「者」の1画目は上部品の兼ね合いで左右幅が短くなっています)の部品を登録するときに汎用的な部品である「-07」を利用しないでください。この場合は「-var-###」を利用してください(「-07」が登録されていなくても「-07-var-001」を登録してかまいません)。

偏化変形とUCS相当グリフの複数欄指定接尾コードは組み合わせないでください(u4e00-g01-var-001は不可。u4e00-01-var-001とする)。

Register it under its IDS representation

ベースとなる字が文字コードにない場合はIDSを用いた記述を行ってください(IDSについての参考 )。UCSコード(U+4E00→u4e00と表現します)を"-"記号で繋げてください。

Example: u2ffa-u98a8-u6625 (⿺風春)

IDSの記述に使う部品は素の符号位置としてください。第1面以降の文字はサロゲート分解しないでください。また部品には「-02」「-g」「-var-001」「-itaiji-001」などの接尾コードはつけないでください。このことにより同じIDS記述で異なるグリフを登録したい場合は、最後に「-var-###」をつけて区別してください。

 ○:u2ffa-u98a8-u6625
 ×:u2ffa-u98a8-g-u6625
 ×:u2ffa-u98a8-u6625-02
 ○:u2ffa-u98a8-u6625-var-001

なお、当面の間、部品にcdp外字のコードポイントを使うことを認めます。

For square characters (such as ㍻), please see the following section.

A support tool has been prepared for the purpose of writing IDS representations: IDS editor is located in the toolbox.

Register it under a square character description

For square characters , prefix the glyph name with "kumimoji-" and follow it with an IDS description.

Example: kumimoji-u2ff1-u2ff0-u682a-u5f0f-u2ff0-u4f1a-u793e

Name it based on an existing kanji collection

文字コードのコードポイント何番の文字、○○字書の何ページ何番目の見出し字といったように、周知の漢字集合に含まれるグリフを登録する場合には、prefix(グリフ名の頭に付ける集合名)を用いた命名ができます。prefixについてはGlyphWiki:prefixをご覧ください。

Open the page for publishing glyphs

If you are creating a glyph based on an existing glyph, please note the following. It is simpler than adding it from scratch.

Adding a new glyph based on existing glyph data

If a similar glyph is already added, working based on it will be much more efficient. Open the page for the similar glyph and click on the "edit" tab. Click on "Edit using the glyph editor", and you will see the editing screen. On the left of the editor, under the glyph editing part, the glyph name is displayed. After changing this to a new glyph name, you can begin editing. When you proceed to the page where you publish the glyph, the page will automatically show the new glyph name.

Adding a new glyph from scratch

To add a glyph from scratch, first start by searching for your new glyph's name. Input the name into the search box and click on Search. If the name has already been taken, you will be sent straight to that page. If it is still unused, "No relevant pages were found" will be displayed, but above that "You searched for: (search term)" should be displayed, with (search term) in red. If it is grey, it means that it doesn't follow the naming guidelines, so please re-read "Things to take into consideration when naming glyphs: Fundamental rules" above and think of a new name for the glyph.

The red coloring indicates that the linked-to page or glyph is not registered. Click on it in order to begin adding a new page. By all means, add glyphs you have.