File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change 33
33
wget https://github.com/braver/programmingfonts/raw/gh-pages/fonts/resources/chivo/chivo.ttf
34
34
wget https://github.com/braver/programmingfonts/raw/gh-pages/fonts/resources/chivo/chivo-bold.ttf
35
35
wget https://github.com/braver/programmingfonts/raw/gh-pages/fonts/resources/chivo/OFL.txt -O chivo-license.txt
36
+ wget https://github.com/go-fonts/dejavu/raw/main/LICENSE-DejaVu -O dejavu-license.txt
37
+ wget https://github.com/go-fonts/dejavu/raw/main/dejavusansmono/DejaVuSansMono.ttf -O dejavu-sans-mono.ttf
38
+ wget https://github.com/go-fonts/dejavu/raw/main/dejavusansmonobold/DejaVuSansMono-Bold.ttf -O dejavu-sans-mono-bold.ttf
36
39
wget https://github.com/braver/programmingfonts/raw/gh-pages/fonts/resources/inconsolata-go/inconsolata-go.ttf
37
40
wget https://github.com/braver/programmingfonts/raw/gh-pages/fonts/resources/inconsolata-go/inconsolata-go-bold.ttf
38
41
wget https://github.com/braver/programmingfonts/raw/gh-pages/fonts/resources/inconsolata-go/license.txt -O inconsolata-go-license.txt
61
64
bash ../fonts/ttf2bdf.sh "chivo mono" chivo-bold.ttf "chivo-mono-bold"
62
65
bash ../fonts/ttf2bdf.sh "courier prime" courier-prime.ttf "courier-prime-medium"
63
66
bash ../fonts/ttf2bdf.sh "courier prime" courier-prime-bold.ttf "courier-prime-bold"
67
+ bash ../fonts/ttf2bdf.sh "dejavu sans mono" dejavu-sans-mono.ttf "dejavu-sans-mono-medium"
68
+ bash ../fonts/ttf2bdf.sh "dejavu sans mono" dejavu-sans-mono-bold.ttf "dejavu-sans-mono-bold"
69
+ bash ../fonts/ttf2bdf.sh "courier prime" courier-prime-bold.ttf "courier-prime-bold"
64
70
bash ../fonts/ttf2bdf.sh "inconsolata go" inconsolata-go.ttf "inconsolata-go-medium"
65
71
bash ../fonts/ttf2bdf.sh "inconsolata go" inconsolata-go-bold.ttf "inconsolata-go-bold"
66
72
bash ../fonts/ttf2bdf.sh "julia mono" julia-mono.ttf "julia-mono-medium"
Original file line number Diff line number Diff line change 1
1
function ttf2bdf {
2
2
MAPFILE=` dirname $0 ` /cp1252.txt
3
3
echo " Using $MAPFILE "
4
+
4
5
if [ -z $3 ]; then
5
6
echo -e " ttf2bdf - create X11 fonts from TTF fonts and make then available for X11-apps"
6
7
echo -e " Usage: ttf2bdf TYPENAME 'TTF-FILE' FILE-PREFIX"
7
8
echo -e " \n Example: ttf2bdf 'courier prime cp1252' 'Courier Prime.ttf' courier-prime-cp1252\n"
8
9
else
9
10
for x in 7 10 12 14 16 18 20 24 30 35; do
10
- otf2bdf -t " $1 " -p $x " $2 " -m $MAPFILE -o $3 -${x} .bdf ;
11
+ if [ -z $4 ]; then
12
+ otf2bdf -t " $1 " -p $x " $2 " -m $MAPFILE -o $3 -${x} .bdf -w $4 ;
13
+ else
14
+ otf2bdf -t " $1 " -p $x " $2 " -m $MAPFILE -o $3 -${x} .bdf
15
+ fi
11
16
done
12
17
# cd ~/fonts
13
18
mkfontscale .
You can’t perform that action at this time.
0 commit comments