Skip to content

Commit 1c5eded

Browse files
committed
Icons for Devsのとじ忘れ修正 #39
1 parent 435659c commit 1c5eded

2 files changed

Lines changed: 48 additions & 2 deletions

File tree

README.md

Lines changed: 46 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,14 +83,59 @@ let g:NERDTreeExtensionHighlightColor['vue'] = '42B983'
8383

8484
## ビルド手順
8585

86-
Dockerを使います
86+
### Dockerを使う場合
87+
88+
※Regular以外のttfファイルがおかしくなる現象が発生しています #39
8789

8890
```sh
8991
git clone https://github.com/miiton/Cica.git
9092
cd Cica
9193
docker-compose build ; docker-compose run --rm cica # ./dist/ に出力される
9294
```
9395

96+
### 手動でやる場合
97+
98+
2018-08-27時点、Ubuntu 16.04 にて
99+
100+
```sh
101+
sudo apt-get update
102+
sudo apt-get -y install apt-file
103+
sudo apt-file update
104+
sudo apt-file search add-apt-repository
105+
sudo apt-get -y install software-properties-common
106+
sudo apt-get -y install fontforge unar
107+
git clone git@github.com:miiton/Cica.git
108+
cd Cica
109+
curl -L https://github.com/source-foundry/Hack/releases/download/v3.003/Hack-v3.003-ttf.zip -o hack.zip
110+
unar hack.zip
111+
cp ttf/* sourceFonts/
112+
rm hack.zip
113+
rm -r ttf
114+
curl -LO https://osdn.jp/downloads/users/8/8598/rounded-mgenplus-20150602.7z
115+
unar rounded-mgenplus-20150602.7z
116+
cp rounded-mgenplus-20150602/rounded-mgenplus-1m-regular.ttf ./sourceFonts
117+
cp rounded-mgenplus-20150602/rounded-mgenplus-1m-bold.ttf ./sourceFonts
118+
curl -L https://github.com/googlei18n/noto-emoji/raw/master/fonts/NotoEmoji-Regular.ttf -o sourceFonts/NotoEmoji-Regular.ttf
119+
curl -LO http://sourceforge.net/projects/dejavu/files/dejavu/2.37/dejavu-fonts-ttf-2.37.zip
120+
unar dejavu-fonts-ttf-2.37.zip
121+
mv dejavu-fonts-ttf-2.37/ttf/DejaVuSansMono.ttf ./sourceFonts/
122+
mv dejavu-fonts-ttf-2.37/ttf/DejaVuSansMono-Bold.ttf ./sourceFonts/
123+
curl -L https://github.com/mirmat/iconsfordevs/raw/master/fonts/iconsfordevs.ttf -o sourceFonts/iconsfordevs.ttf
124+
fontforge -lang=py -script cica.py
125+
```
126+
127+
[fontforge のバージョンが古いと正常に動作しません #6](https://github.com/miiton/Cica/issues/6)
128+
129+
```
130+
% fontforge --version
131+
132+
Copyright (c) 2000-2012 by George Williams.
133+
Executable based on sources from 14:57 GMT 31-Jul-2012-ML.
134+
Library based on sources from 14:57 GMT 31-Jul-2012.
135+
fontforge 20120731
136+
libfontforge 20120731-ML
137+
```
138+
94139
## ライセンス
95140

96141
* [LICENSE.txt](LICENSE.txt)

cica.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
SOURCE = './sourceFonts'
2222
LICENSE = open('./LICENSE.txt').read()
2323
COPYRIGHT = open('./COPYRIGHT.txt').read()
24-
VERSION = '4.1.0'
24+
VERSION = '4.1.1'
2525
FAMILY = 'Cica'
2626

2727
fonts = [
@@ -672,6 +672,7 @@ def build_font(_f, emoji):
672672
cica.close()
673673
hack.close()
674674
nerd.close()
675+
icons_for_devs.close()
675676

676677

677678
def add_notoemoji(_f):

0 commit comments

Comments
 (0)