summaryrefslogtreecommitdiffstats
path: root/fonts/Makefile
blob: 643df921b6da55aecc52d01136f5225aab27d0fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
GFXBOOT_FONT = gfxboot-font
KEYMAPCHARS  = gfxboot-keymapchars
FONTDIR = /usr/share/fonts
TTFDIR = $(FONTDIR)/TTF

all: .ready

fonts: 16x16.fnt

.ready:
	@touch .ready

16x16.fnt: ../po/en.tr ../src/main.log
	cat ../po/*.tr ../help-*/*/*.html >tmp.txt
	$(GFXBOOT_FONT) -v -l 18 \
	-a 0x2022-0x2023 \
	-c ISO-8859-15 -c ISO-8859-2 -c koi8-r \
	`$(KEYMAPCHARS) ../keymaps/keymap.*.inc` \
	-t tmp.txt \
	-t ../src/main.log \
	-t ../data-install/langs \
	-p $(TTFDIR)/bengali:$(TTFDIR)/dejavu:$(TTFDIR)/lohit:$(TTFDIR)/korean:$(TTFDIR)/tamil:$(TTFDIR)/thai:$(FONTDIR)/lklug:$(FONTDIR)/wqy \
	-f MuktiNarrow:size=18:c=0x0981-0x09fa:bold=1 \
	-f lohit_hi:size=18:c=0x0901-0x0970:bold=1 \
	-f lohit_pa:size=17:c=0x0a01-0x0a74:bold=1:autohint=1 \
	-f lohit_gu:size=18:c=0x0a81-0x0af1:bold=1 \
	-f TSCu_Paranar:size=18:c=0x0b82-0x0bfa:dy=2:bold=1 \
	-f lklug:size=17:c=0x0d82-0x0df4:bold=1:dy=1 \
	-f Loma:size=17:c=0x0e01-0x0eff:bold=0:dy=-2 \
	-f DejaVuSans-Bold:size=14:autohint=0 \
	-f wenquanyi_12pt.pcf:size=16:bold=1 \
	-f UnDotum:size=17:bold=1:autohint=1 \
	16x16.fnt >16x16.fnt.log
	rm -f tmp.txt

clean:
	rm -f .ready *~