SING – CJK Type Blog http://ccjktype.fonts.adobe.com/ CJK Fonts, Character Sets & Encodings. Wed, 26 May 2010 10:58:38 +0000 en-US hourly 1 https://wordpress.org/?v=5.4.4 关于“Tin”开源项目的介绍 https://ccjktype.fonts.adobe.com/2010/05/tin.html Wed, 26 May 2010 10:58:38 +0000 http://blogs.adobe.com/ccjktype/2010/05/tin.html

 

作者:Daniel “daan” Strebe (Senior Computer Scientist,Adobe Systems Incorporated) 原稿

  请欢迎 “Tin“, Adobe最新的开源项目。”Tin” 是一个用于处理基于SFNT 文件格式字库的C++类库。Tin源码可以实时快速地更新大量字库,并且仅依赖开源组件。(请注意:Tin既不是一个字形编辑器,也不是查找、安装或管理字库的程序或某种处理系统字库的服务)

  作为源码类库,Tin适用于对处理字库数据有合理需求的编程人员。使用该类库几乎可以访问和更改所有TrueType 和OpenType(包含CFF)中的标准表。整合了Tin的软件可以很容易地做以下事情,比如分析字库到独立的字节、检查字库的特性、处理字库表中的内容和在字库中增减某些字形。这些服务能帮助创建字库,验证字库的完善性,修正字库错误和字库子集化。甚至可以扩展已有字库的新字形,比如那些变音符号,在一个独立的应用程序,甚至一个单一文档的实际操作中扩展字库的实用性,比如SING 的模式。

  作为Adobe中的特殊项目中一个产品,Tin类库没有实现所有期待的功能。尚有少量的标准表还未支持,比如,字形被删除后应该能智能地对其它相关的表进行更新(增加字形时已实现这类操作)。不过,代码的主体内容是充足和有用的,我们欢迎大家参与扩充类库,以满足更广泛的需求。我们将非常愿意看到更多SING的实现,比如,TIN的提供能大幅度降低新增SING应用的障碍。

关于SING的介绍:
用SING来造字
设计自己的 “招財進寳”

]]>
Create Your Own “招財進寳” Glyph https://ccjktype.fonts.adobe.com/2009/01/diy.html https://ccjktype.fonts.adobe.com/2009/01/diy.html#comments Wed, 21 Jan 2009 19:23:00 +0000 http://blogs.adobe.com/ccjktype/2009/01/diy.html Continue reading ]]> Chinese
When the Spring Festival comes, Chinese people have many traditional customs to create a warm and festive atmosphere. One of these customs is to plaster a large ideograph “福” on the door, to wish good fortune and happiness throughout the New Year, and some businesses would like to plaster their rooms with a special character bao.png to wish plentiful money and treasures to come in the New Year. This glyph is composed of four characters that are “招財進寳”, “財” means money, and “寳”means treasures. Actually, this glyph is not a real or genuine hanzi, and no character set includes it, so we can not enter this glyph directly via standard fonts. Fortunately, SING (Smart INdependent Glyphlets) technology offers us a way to create and use this character. Please follow these DIY (Do It Yourself) instructions for this glyph.


First, let us confirm our design goals:
1. Typeface of this glyph
I prefer a calligraphic style, so I chose Adobe Kaiti Std as the reference font, and built this SING glyphlet as an extra glyph of the same font.
2. Encoding of this glyph
Although the character for this glyph is not in any character set, and thus does not have a code point, we could regard this glyphlet as an alternate form of the ideograph “寳” meaning that this glyphlet will be treated as a variant form of the Unicode code point for “寳” Thus, we can access this glyphlet by searching for “寳” in the Glyph Panel.
Now, let us start building this glyph.
1. Building SING glyphlets
Step 1. Launch Illustrator CS3/4 Traditional Chinese version, and create a new document.
Step 2. Use the Type tool “T” to enter “寳” in a text frame, then apply the Adobe Kaiti Std font to this frame.
Step 3. Highlight this character, then choose Type > Create glyphlet,which will show the following window. Click the OK (確定) button to create a new glyphlet.
Newglyphlet.png
Step 4. Using Illustrator to build glyphlets
The following figure illustrates the five guide lines that are used to correctly position the glyph:
Guides.png
EM Box: This is square space for fonts in which ideographs are optically-centered, and you are strongly advised not to design the glyphlet out of its space.
Latin Baseline: Using a different Latin baseline can cause text to become inconsistent, so please make sure this glyphlet and other regular hanzi share the same Latin baseline.
Tip: Open the Layer Panel (Window > Layer), then lock the guide lines to prevent you from shifting or removing them while making the glyph.
The glyph of “寳” is a now a drawing composed of outlines, not text. Besides “”寳” we also need to borrow some components from other characters, such as “辶” “招” and “准”, Enter these characters using Adobe Kaiti Std in the text frame, highlight the text frame, then choose “Type > Create outlines” to convert the text to outlines. Now that
they are regular outline objects, you are free to modify their shapes as you desire.
Tip: If you want to delete, shift, or isolated the strokes of a glyph,you first need to ungroup or release the compound path. (Choose the glyph, click the right button of mouse, or Control-Click on Mac OS X,then choose ungroup or release compound path in the pop-up menu.)
The following figure illustrates the glyph that I designed:
Glyphlet.png
Step 5: Save this glyphlet as a “gai” file.
The default Unicode code point shows the value for “寳” specifically U+5BF3, but it also allows you to change the Unicode code point. For example, you could input “宝” into this field directly, fill in the requirement items in the dialog, then choose “save as glyphlet” in the panel menu.
2. Registering glyphlets
Launch Adobe SING Glyphlet Manager (ASGM), import the new “gai” file, then refresh the glyphlets.
3. Using this glyphlet in ID.
Step 1: Launch ID CS3/4 then create a new document
Step 2: Using the type tool (“T”), enter the character “寳” into the text frame, then apply the Adobe Kaiti Std font to the text frame.
Step 3: Select the character, and when you open the Glyph Panel, you will find that the character is highlighted.
Step 4: Click the lower-right triangle icon to display a pop-up menu of alternate glyphs, double-click this glyphlet so that it is inserted at the text insertion point.
GlyphPanel.png
If you want to use this glyphlet in your own document, please click the right button of mouse on this link to save this ID file to your computer. Because SING glyphlets are always embedded in ID documents, you can easily copy and past glyphlets from any document to your own ID document, then apply any point size to this character. As you can see, it is easy to exchange glyphlets with other people. Enjoy SING!
Here is a design that includes this new glyph. If you wish to enjoy this Chinese traditional custom, please print this design and cut out the red shape, then plaster your place with this special character bao.png,to wish plentiful money and treasures to come in the New Year!


English
设计自己的 “招財進寳”
当新春到来时,在中国有许多传统习俗可以营造浓浓的节日气氛。其中一个习俗就是在门上帖上一个‘福’字来祝愿新年平安幸福,而一些商家更喜欢通过另一个特殊字符bao.png期盼来年财源广进。这个特殊字符由“招財進寳”四个字组成,实际上它不是一个真正意义上的字,由于没有任何字符集包含它,所以我们也很难直接使用标准字库输入该字符,但是SING(Smart INdependent Glyphlets) 技术为我们制作和使用该字提供了可能,下面请看DIY该字符的介绍。
首先我们先要确定设计目标:
1> 字的风格
我喜欢书法字体,所以选用Adobe 楷体作为参考字体,并希望该字符以补字的形式与Adobe 楷体字库一起使用。
2> 字的编码
该字符不属于任何字符集,这导致它没有现成的编码可用,但我们可以将其看作”寳”的替代字形,这意味着这个字符将借用”寳”的Unicode值,这样做的好处是我们可以通过输入“寳”字很快在字符调板中找到它。
现在让我们开始制作这个新字。
一、创建字形
1,启动Illustrator CS3/4 中文繁体版并新建一个文档。
2,在工具条中选择“T”标识的文字工具,在文档中新建一个文本框,选用Adobe 楷体输入“寳”字,之所以在这里输入该字,是希望新建的字能借用“寳”的编码,和“寳”字产生关联。
3,选中该字,选择 “文字” > “从选取的文字建立字符档”,这时会出现以下对话框,直接点“确定”按钮即可。
Newglyphlet.png
4,利用Illustrator 工具制作字模。
在自动生成的字模中有五类辅助线可以协助字形的定位,请看如下图示:
Guides.png
EM Box 是指字库的字面大小,设计字模时请不要超出该框范围;
Latin Baseline 是指基线,在设计字模时请参考其它汉字与该基线的位置关系,确保与其它汉字在一个水平线上。
提示:建议打开图层调板(“视窗”>“图层”),利用图层的锁定功能锁住辅助线,以防在制作字形时移动、删除这些辅助线。
目前“寳”这个汉字已经被转化为轮廓的形式,除了“寳”字,我们还需要借用其它字的部件。请分别用“T”工具输入了“辶”、“招”、“准”这几个字,然后选中文本框,选择 “文字”>“建立外框” 将其转为轮廓的形式,当这些字符转为轮廓之后,我们就可以随意修改、删除这些轮廓。
提示:在转化为轮廓之后,如果想删除、移动、放大或缩小某些独立的部件,必须先解散群组或释放复合路径,具体方法是用选取工具先选中该字轮廓,单击鼠标右键调出右键菜单(在MAC上是按住Control键再点鼠标),在弹出菜单中选择“解散群组”或“释放复合路径”。
下面图示是该字模的设计效果。
Glyphlet.png
5,保存字模为gai文件。
如果字符档调板没有被打开,可以通过 “文字”>“字符档” 调出字符档调板(如图所示),目前默认的Unicode值是“寳”的U+5BF3,如果你想将该字与其它字关联起来,比如简写的“宝”字,那在这里直接输入“宝”即可。填写必要的项目,选中字符档调板右上角的小三角打开调板菜单,选中“另存为字符档”将其保存为gai 文件。
GlyphletPanel.png
二、注册字形
启动ASGM(Adobe SING Glyphlet Manager),导入gai文件,并刷新字模。
三、在ID中使用字形
1,启动InDesign CS3/4,新建文档。
2,在文档中用Adobe 楷体输入“寳”字。
3,选中“寳”字,可以看到该字符在字符调板中被突出显示。
4,点击右下角的小黑角,在扩展字符中可以看到我们新增的字,双击该字形插入字符到文档中。
GlyphPanel.png
如果你也想在自己的文档中使用该字,可以点鼠标右键保存 该ID 文件。因为ID会自动嵌入所造的字形,所以只需打开ID文件,拷贝粘贴该字符到你的ID文档中,然后按需要任意设置该字的磅数即可。看,DIY自己的新字并与他人共享自己的作品就那么简单,你也来试试吧!
用该字在ID中设计了一个图案,祝愿新的一年里大家都bao.png

]]>
https://ccjktype.fonts.adobe.com/2009/01/diy.html/feed 8