Enabled TTF fonts in OS4 build, scans system default directory for TTF
files. git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@450 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
parent
232ed1041d
commit
0b7b96ae75
4
Makefile
4
Makefile
@ -58,10 +58,10 @@ else
|
|||||||
BIN = grafx2
|
BIN = grafx2
|
||||||
CFGBIN = gfxcfg
|
CFGBIN = gfxcfg
|
||||||
COPT = -Wall -c -gstabs -mcrt=newlib `sdl-config --cflags` $(TTFCOPT)
|
COPT = -Wall -c -gstabs -mcrt=newlib `sdl-config --cflags` $(TTFCOPT)
|
||||||
LOPT = `sdl-config --libs` -lSDL_image -lpng -ljpeg -lz $(TTFLOPT)
|
LOPT = `sdl-config --libs` -lSDL_image -lpng -ljpeg -lz $(TTFLOPT) -lft2
|
||||||
CC = gcc
|
CC = gcc
|
||||||
OBJDIR = obj/amiga
|
OBJDIR = obj/amiga
|
||||||
NOTTF = 1
|
# NOTTF = 1
|
||||||
else
|
else
|
||||||
|
|
||||||
#AROS specific
|
#AROS specific
|
||||||
|
|||||||
4
texte.c
4
texte.c
@ -333,6 +333,10 @@ void Initialisation_Texte(void)
|
|||||||
XFreeFontPath(font_path_list);
|
XFreeFontPath(font_path_list);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
#elif defined(__amigaos4__)
|
||||||
|
#ifndef NOTTF
|
||||||
|
for_each_file( "FONTS:_TrueType", Ajout_fonte );
|
||||||
|
#endif
|
||||||
#elif defined(__BEOS__) || defined(__HAIKU__)
|
#elif defined(__BEOS__) || defined(__HAIKU__)
|
||||||
#ifndef NOTTF
|
#ifndef NOTTF
|
||||||
for_each_file("/etc/fonts/ttfonts", Ajout_fonte);
|
for_each_file("/etc/fonts/ttfonts", Ajout_fonte);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user