Fixed font for system commands

This commit is contained in:
Klaus Schmidinger
2000-11-18 15:46:00 +01:00
parent 3e04208de3
commit ca42f7c8f1
13 changed files with 6569 additions and 30 deletions

View File

@@ -4,7 +4,7 @@
# See the main source file 'vdr.c' for copyright information and
# how to reach the author.
#
# $Id: Makefile 1.15 2000/11/11 09:59:56 kls Exp $
# $Id: Makefile 1.16 2000/11/18 14:58:10 kls Exp $
DVBDIR = ../DVB
@@ -13,6 +13,7 @@ OBJS = config.o dvbapi.o dvbosd.o eit.o font.o i18n.o interface.o menu.o osd.o\
recording.o remote.o svdrp.o thread.o tools.o vdr.o videodir.o
OSDFONT = -adobe-helvetica-medium-r-normal--23-*-100-100-p-*-iso8859-1
FIXFONT = -adobe-courier-bold-r-normal--25-*-100-100-m-*-iso8859-1
ifndef REMOTE
REMOTE = KBD
@@ -25,8 +26,8 @@ DEFINES += -DDEBUG_OSD
endif
all: vdr
font: genfontfile fontosd.c
@echo "font file created."
font: genfontfile fontfix.c fontosd.c
@echo "font files created."
# Implicit rules:
@@ -39,7 +40,7 @@ config.o : config.c config.h dvbapi.h dvbosd.h eit.h font.h i18n.h interface.h
dvbapi.o : dvbapi.c config.h dvbapi.h dvbosd.h eit.h font.h interface.h remote.h svdrp.h thread.h tools.h videodir.h
dvbosd.o : dvbosd.c dvbosd.h font.h tools.h
eit.o : eit.c eit.h thread.h tools.h
font.o : font.c font.h fontosd.c tools.h
font.o : font.c font.h fontfix.c fontosd.c tools.h
i18n.o : i18n.c config.h dvbapi.h dvbosd.h eit.h font.h i18n.h thread.h tools.h
interface.o: interface.c config.h dvbapi.h dvbosd.h eit.h font.h i18n.h interface.h remote.h svdrp.h thread.h tools.h
menu.o : menu.c config.h dvbapi.h dvbosd.h eit.h font.h i18n.h interface.h menu.h osd.h recording.h remote.h svdrp.h thread.h tools.h
@@ -57,8 +58,10 @@ videodir.o : videodir.c tools.h videodir.h
vdr: $(OBJS)
g++ -g -O2 $(OBJS) -lncurses -ljpeg -lpthread -o vdr
# The font file:
# The font files:
fontfix.c:
genfontfile "cFont::tPixelData FontFix" $(FIXFONT) > $@
fontosd.c:
genfontfile "cFont::tPixelData FontOsd" $(OSDFONT) > $@
@@ -74,4 +77,4 @@ genfontfile: genfontfile.o
clean:
-rm -f $(OBJS) vdr genfontfile genfontfile.o
CLEAN: clean
-rm -f fontosd.c
-rm -f fontfix.c fontosd.c