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:
Pete Gordon
2008-12-31 21:36:47 +00:00
parent 232ed1041d
commit 0b7b96ae75
2 changed files with 6 additions and 2 deletions

View File

@@ -333,6 +333,10 @@ void Initialisation_Texte(void)
XFreeFontPath(font_path_list);
}
#endif
#elif defined(__amigaos4__)
#ifndef NOTTF
for_each_file( "FONTS:_TrueType", Ajout_fonte );
#endif
#elif defined(__BEOS__) || defined(__HAIKU__)
#ifndef NOTTF
for_each_file("/etc/fonts/ttfonts", Ajout_fonte);