のねのBlog

パソコンの問題や、ソフトウェアの開発で起きた問題など書いていきます。よろしくお願いします^^。

2021-09-01から1ヶ月間の記事一覧

ufo point pen

def read(ufo_path): ufo = UFOReader(ufo_path) lib = ufo.readLib() glyph_order = lib['public.glyphOrder'] glyph_set = ufo.getGlyphSet() for glyph_name in glyph_order: glifBytes = glyph_set.getGLIF(glyph_name) g = glyph_set[glyph_name] pen =…

Glyph2のグリフの上書き貼り付け

Glyphs2 ①まず、コピーしたいグリフを選択して編集>コピーする。 ②Glyphの上書き貼り付け(Command+Option+V) ③すべてとか、貼り付け方を選べる。

spot 使い方

% spot -n ./font.ttf --- names[glyphId]=<name> [0]=<.notdef@0> [1]=<gname@1>% spot -nc ./font.ttf --- names[glyphId]=<name> [0]=<.notdef@0> [1]=<gname00001@1> [2]=<gname00002@2> [3]=<gname00003@3> % spot -T font.ttf ### [sfnt] (00000000) --- offset subtable version =1.0 [TrueType] numTables =16 sear…</gname00003@3></gname00002@2></gname00001@1></name></gname@1></name>

spot -ht

% spot -ht Table-specific usage: --- BASE =4 List BASE content =5 Friendly list of BASE content --- CFF_ =6 Proof glyph plot Options: [-a] [-c] [-R] [-g<list>] [-bleft,bottom,right,top] [-shoriz,vert] -a don't show outline annotation -c convert </list>…