のねのBlog

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

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

spot -tGDEF mmrtext.ttf

>spot -tGDEF mmrtext.ttf

spot -F mmrtext.ttf

>spot -F mmrtext.ttf

spot GSUB

>spot -F GSUB Roboto-Regular.ttf

glyph

fonttools/_g_l_y_f.py at master · fonttools/fonttools · GitHub

fontplot DroidSans.ttf

File "/FDK/Tools/osx/Python/Current/lib/python2.7/site-packages/ FontTools/fontTools/ttLib/__init__.py", line 732, in draw glyph.draw(pen, glyfTable, offset) File "/FDK/Tools/osx/Python/Current/lib/python2.7/site-packages/ FontTools/fontTo…

spot -ht spot -t

ダンプの詳細レベルを数値で変えれる。 >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</list>…

spot -F で GSUB GPOS Featureのダンプ

>spot -F Roboto-Regular.ttf GPOS Features: Script 'DFLT' Default language system [ 0]='cpsp' LookupListIndex: 0 [ 1]='kern' LookupListIndex: 1 [ 2]='mark' LookupListIndex: 2 3 4 5 6 7 8 9 10 11 [ 3]='mkmk' LookupListIndex: 12 13 Script 'cy…

spot

>spot -h Usage: spot [-u|-h|-ht|-r] [-n|-nc|-G|-T|-F] [-f] [-V] [-m] [-d][-i<ids>] [-o<offs>] [-t<tags>|-P<featuretags>] [-p<policy>] [-@ <ptsize>] <fontfile>+ OR: spot -X <scriptfile> Options: -u print usage information -h print usage and help information -ht print table-specific usage information …</scriptfile></fontfile></ptsize></policy></featuretags></tags></offs></ids>

fontreport type 6 not yet sypported.

type6 not yet supported $ fontreport ./Roboto-Regular.ttf Warning: Lookup table 4: type 6 not yet supported. Warning: Lookup table 4: type 6 not yet supported. Warning: Lookup table 4: type 6 not yet supported. Warning: Lookup table 4: typ…

fontreportで"font not found"のエラー

$ fontreport Roboto-Regular.ttf Roboto-Regulart.pdf Warning: Lookup table 4: type 6 not yet supported. Warning: Lookup table 4: type 6 not yet supported. Warning: Lookup table 4: type 6 not yet supported. Warning: Lookup table 4: type 6 no…

fontreport debug

def ProcessTex(sequence, output): name, ext = os.path.splitext(output) intermediate = name + '.tex' with open(intermediate, 'wb') as f: for line in sequence: f.write(line.encode('utf-8')) f.write(b'\n') if ext == '.pdf': subprocess.check_c…

fontreport errot

$ fontreport AndroidClock.ttf AndroidClock.pdf Traceback (most recent call last): File "/usr/local/bin/fontreport", line 9, in <module> load_entry_point('fontreport==1.2', 'console_scripts', 'fontreport')() File "build/bdist.linux-x86_64/egg/fontr</module>…

Bash on Windows で fontreport

Bash on Ubuntu on Windows apt-get install python-setuptools texlive-xetex texlive-latex-recommendedgithub.comいっぱいライブラリ使うんだな、動くのかな $ sudo apt-get install python-setuptools texlive-latex-recommended Reading package lists.…

Windows10のbashでharfbuzzを実行してみる

実行ファイルの名前がわからないので、インストールしたパッケージを調べる。 $ dpkg -l | grep harfbuzz ii libharfbuzz-bin 1.0.1-1ubuntu0.1 amd64 OpenType text shaping engine (utility) ii libharfbuzz0b:amd64 1.0.1-1ubuntu0.1 amd64 OpenType text…

Windows10のubuntu(bash)でharfbuzzをインストール

Windows10上のUbuntuをインストールした。 bash から harfbuzzをinstallしてみた。 $ apt-cache search harfbuzz gir1.2-harfbuzz-0.0 - OpenType text shaping engine (GObject introspection data) libharfbuzz-dev - Development files for OpenType text…

"[System.IO.Path]::GetDirectoryName("")"を評価できません。パスの形式が無効です。

<PythonDExe Condition="$(PythonDExe) == ''"> $([System.IO.Path]::GetDirectoryName($(PythonExe))) \python$(PythonDebugSuffix).exe</PythonDExe>