CID vs GID (Cont'd)
In yesterday's CJK Type Blog post, I introduced and provided three Perl tools for listing the CIDs and GIDs in font resources: extract-cids.pl, extract-gids.pl, and mkrange.pl. In my continued effort to provide font developers with useful tools, I spent a few minutes this morning to enhance two of these tools, specifically extract-cids.pl and mkrange.pl.
First, the extract-cids.pl tool was changed so that it emits CIDs with a slash ("/") prefix, which matches what the "-g" command-line option of various AFDKO tools expect when explicitly specifying CIDs, as opposed to GIDs.
Second, the mkrange.pl tool was enhanced in two significantly ways. The first enhancement was to simply detect and properly handle the slash ("/") prefix, which is shown in the example command line and its output below:
% extract-cids.plcidfont.ps| mkrange.pl
The second enhancement was to add a "-n" command-line option. By default, each CID or CID range (or GID or GID range, when the output of the extract-gids.pl tool is piped into this tool) is output on a separate line, as shown above. When the "-n" command-line option is invoked, each CID or CID range is separated by a comma, making the result ready to be used as the argument of the "-g" command-line option that is supported by various AFDKO tools. Below is an example command line and its output:
% extract-cids.plcidfont.ps| mkrange.pl-n
The extract-gids.pl tool is unchanged.
These minor enhancements are useful for my own font development work, and I hope that others also find them to be useful.
- ·The Future of Sex poster
- ·Top 100 Fonts.com Web Fonts for May 2016
- ·47 free tattoo fonts for your body art
- ·How to sell your typefaces
- ·Once Upon DESIGN: New Routes for Arabian Heritage
- ·Alphabet Stories by Hermann Zapf
- ·Type terms: the animated typographic cheat sheet
- ·TypeDecon Digital Download
游客ReviewFS Emeric字体：一款令人愉悦的新字体font article没看看有这款字体啊
我在这儿Review网页设计中的艺术字体设计与排版（1）font article很好 值得学习
新蒂字体 授权使用： 无需备案免费使用的情况： 在个人电脑上安装、打印个人文档、个人网站、博客、微博配图 需要备案免费使用的情况： 设计有可能商用的稿件（在商用时购买商业授权）、用于免费提供给他人的印刷品（印量在500份以内，且无需获得印刷品行政许可）的情况、用作没有品牌冠名的公益广告、用作完全免费（不能含有收费项目）的软件及网络服务。 需要购买个人授权的情况： 个人网店的装饰、个体商...