のねのBlog

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

raspberry-pi 4を購入。Ubuntuを入れる

gihyo.jp 買った液晶は、これ ROADOM 7インチ Raspberry Pi用タッチモニター IPS高解像度1024X600 スピーカー内蔵 Rspberry Pi 4/3/2/1 Xbox PS4 Ubuntu Windows 7/8/10に適用メディア: エレクトロニクス この、セットを買った。 LABISTS Raspberry Pi 4 4B-…

dpi em win Mac 高dpi

stackoverflow.com docs.microsoft.com ameblo.jp .net - high DPI problems - Stack Overflow www.it-swarm.dev docs.microsoft.com docs.microsoft.com

bitmap font

nixeneko.hatenablog.com

bitmapのみの、truetype

fontforge.org github.com sourceforge.net bugzilla.mozilla.org

BDF

hp.vector.co.jp

bmfont

sourceforge.net

fon形式

stackoverflow.com

fontforge bitmap

bitmap truetype

typedrawers.com stackoverflow.com

ttcからttfを取り出す

% ls msmincho.ttc % otc2otf msmincho.ttc % ls MS-Mincho.ttf MS-PMincho.ttf msmincho.ttc % otc2otf -h usage: otc2otf [-h] [--version] [-v] [-r] TTC FONT Extract all OpenType fonts from the parent OpenType Collection font. positional argumen…

OS/2 fsSelection

OS/2のfsSelection docs.microsoft.com typedrawers.com

mac pyenv miniconda

なんか、PythonのVersionがおかしい miniCondaは3.7.4のはずなのに、3.7.7と別の値が表示される。 % pyenv global 3.7.2 % pyenv versions [~/Pycharm] system * 3.7.2 (set by /Users/m_fujii/.pyenv/version) 3.7.7 3.8.3 miniconda3-4.7.12 miniconda3-4.…

mac pyenv minicondaは、正常に切り替えの動作する

元の環境(3.7.7) % which python /Users/m_fujii/.pyenv/shims/python % pyenv global 3.7.7 % python --version Python 3.7.7 % pyenv versions system 3.7.2 * 3.7.7 (set by /Users/m_fujii/.pyenv/version) 3.8.3 miniconda3-4.7.12 minicondaへ切り替え…

vscode microsoft pylance

forest.watch.impress.co.jp

VS Code、python、virtualenvを使用したとき、パス("python.pythonPath")の設定の仕方。

View>Command Palletを開く Python: Select Interpreter Enter interpreter path... Find... "/Users/m_fujii/(Folder)/virtualenv/bin/python3.7" を選ぶと、以下のようなパスになってしまう。 { "python.pythonPath": "/Users/m_fujii/.pyenv/versions/3.…

mac path default

% cat /etc/zprofile # System-wide profile for interactive zsh(1) login shells. # Setup user specific overrides for this in ~/.zprofile. See zshbuiltins(1) # and zshoptions(1) for more details. if [ -x /usr/libexec/path_helper ]; then eval …

pycharmでshiftを長押ししたとき、findが開く

shiftを押しながら、なにか操作をしていると、findが開いて使いづらかったです。 shiftを2回押すと、findが開くようです。 以下の方法で治りました。 stackoverflow.com

TrueType Bitmapフォント msgothic.ttc

EBDT EBLCテーブル EBLC あ BMP

Unicode Range

def test_recalcUnicodeRanges(self): font = TTFont() font['OS/2'] = os2 = newTable('OS/2') font['cmap'] = cmap = newTable('cmap') st = getTableModule('cmap').CmapSubtable.newSubtable(4) st.platformID, st.platEncID, st.language = 3, 1, 0 st.…

tx -h

tx -h tx Help ======= [Note: brief usage is available with -u (usage) option.] tx (Type eXchange) is a test harness for the CoreType libraries but also provides many useful font conversion and analysis facilities. These facilities are buil…

tx -afm

% tx -afm -h [-afm options: default none] AFM mode write an Adobe Font Metrics format representation of an abstract font. This is a lightweight implementation that is primarily intended for testing and debugging usage; it departs from the …

"tx -u" コマンドライン オプション

% tx -u tx {[mode][mode options][shared options][files]}* tx [other options] [modes: default -dump] -dump write text dump of font data -ps write PostScript dump of font data -pdf write PDF dump of font data -dcf write text dump of CFF font…

Glyphs Case Sensitive

Case Sensitive Case Sensitiveのフォルダに変えないとだめかな

Glyphs2 TTF出力 The "description" string is empty

The "description" string is empty ”The "description" string is empty” help

ttfで出力 "フォント内に重複する製品用グリフ名があります: dasiaoxia,uni1FDE"

出力エラー "フォント内に重複する製品用グリフ名があります: dasiaoxia,uni1FDE" ”Duplicate product glyph name in font” https://forum.glyphsapp.com/t/font-contains-glyphs-with-duplicate-production-names/7198 出力のチェックを外した。 出力のチ…

roboto.ufoをGlyphs2で開いてみる。

warning "This file was last edited in an older app version and contains compoinds with unspecified alignment. Automatic alignment will apply the component shifts listed below (green, yellow and red indicate small, medium and large shifts).…

roboto make

(roboto-env) m_fujii@LimMbp53 roboto % make PYTHONPATH=:/Users/m_fujii/myFonts/github/roboto-src/roboto/scripts/lib python scripts/build-v2.py --------------------- Roboto Thin ---------------------- >> Mixing masters >> Generating glyphs …

roboto github

(roboto-env) m_fujii@LimMbp53 roboto % pip install -r requirements.txt Collecting git+https://github.com/typesupply/feaTools.git@ 8fc73f8ad5523cb6d9e0c8ac966eeb5dab5f7f49 (from -r requirements.txt (line 5)) Cloning https://github.com/types…

remoteの設定?

リモートの設定をSourceTreeで修正した。 $ git push -f Enumerating objects: 3352, done. Counting objects: 100% (3324/3324), done. Delta compression using up to 4 threads Compressing objects: 100% (1415/1415), done. Writing objects: 100% (320…

git filter-branch

confluence.atlassian.com qiita.com qiita.com qiita.com egulog.hatenablog.jp ~/ $ mkdir bin ~/ $ cd bin ~/bin $ pwd /c/Users/m_fuj/bin ~/bin $ chmod 755 ./git_find_big.sh ~/bin $ ./git_find_big.sh fatal: Cannot open existing pack file '.git…