forked from kudryavka/Ricty
-
-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
48 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -83,14 +83,59 @@ let g:NERDTreeExtensionHighlightColor['vue'] = '42B983' | |
|
||
## ビルド手順 | ||
|
||
Dockerを使います | ||
### Dockerを使う場合 | ||
|
||
※Regular以外のttfファイルがおかしくなる現象が発生しています #39 | ||
|
||
```sh | ||
git clone https://github.com/miiton/Cica.git | ||
cd Cica | ||
docker-compose build ; docker-compose run --rm cica # ./dist/ に出力される | ||
``` | ||
|
||
### 手動でやる場合 | ||
|
||
2018-08-27時点、Ubuntu 16.04 にて | ||
|
||
```sh | ||
sudo apt-get update | ||
sudo apt-get -y install apt-file | ||
sudo apt-file update | ||
sudo apt-file search add-apt-repository | ||
sudo apt-get -y install software-properties-common | ||
sudo apt-get -y install fontforge unar | ||
git clone [email protected]:miiton/Cica.git | ||
cd Cica | ||
curl -L https://github.com/source-foundry/Hack/releases/download/v3.003/Hack-v3.003-ttf.zip -o hack.zip | ||
unar hack.zip | ||
cp ttf/* sourceFonts/ | ||
rm hack.zip | ||
rm -r ttf | ||
curl -LO https://osdn.jp/downloads/users/8/8598/rounded-mgenplus-20150602.7z | ||
unar rounded-mgenplus-20150602.7z | ||
cp rounded-mgenplus-20150602/rounded-mgenplus-1m-regular.ttf ./sourceFonts | ||
cp rounded-mgenplus-20150602/rounded-mgenplus-1m-bold.ttf ./sourceFonts | ||
curl -L https://github.com/googlei18n/noto-emoji/raw/master/fonts/NotoEmoji-Regular.ttf -o sourceFonts/NotoEmoji-Regular.ttf | ||
curl -LO http://sourceforge.net/projects/dejavu/files/dejavu/2.37/dejavu-fonts-ttf-2.37.zip | ||
unar dejavu-fonts-ttf-2.37.zip | ||
mv dejavu-fonts-ttf-2.37/ttf/DejaVuSansMono.ttf ./sourceFonts/ | ||
mv dejavu-fonts-ttf-2.37/ttf/DejaVuSansMono-Bold.ttf ./sourceFonts/ | ||
curl -L https://github.com/mirmat/iconsfordevs/raw/master/fonts/iconsfordevs.ttf -o sourceFonts/iconsfordevs.ttf | ||
fontforge -lang=py -script cica.py | ||
``` | ||
|
||
[fontforge のバージョンが古いと正常に動作しません #6](https://github.com/miiton/Cica/issues/6) | ||
|
||
``` | ||
% fontforge --version | ||
Copyright (c) 2000-2012 by George Williams. | ||
Executable based on sources from 14:57 GMT 31-Jul-2012-ML. | ||
Library based on sources from 14:57 GMT 31-Jul-2012. | ||
fontforge 20120731 | ||
libfontforge 20120731-ML | ||
``` | ||
|
||
## ライセンス | ||
|
||
* [LICENSE.txt](LICENSE.txt) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters