TT font listing for beos
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@425 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
parent
f180b13f29
commit
c4955dd0f0
11
texte.c
11
texte.c
@ -294,11 +294,10 @@ void Initialisation_Texte(void)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#elif defined(__linux__)
|
#elif defined(__macosx__)
|
||||||
// Récupération de la liste des fonts avec fontconfig
|
// Récupération de la liste des fonts avec fontconfig
|
||||||
#ifndef NOTTF
|
#ifndef NOTTF
|
||||||
|
|
||||||
#ifdef __macosx__
|
|
||||||
|
|
||||||
int i,number;
|
int i,number;
|
||||||
char home_dir[MAXPATHLEN];
|
char home_dir[MAXPATHLEN];
|
||||||
@ -317,8 +316,9 @@ void Initialisation_Texte(void)
|
|||||||
for_each_file(*(font_path_list+i),Ajout_fonte);
|
for_each_file(*(font_path_list+i),Ajout_fonte);
|
||||||
|
|
||||||
CFRelease(url);
|
CFRelease(url);
|
||||||
|
#endif
|
||||||
|
|
||||||
#else
|
#elif defined(__linux__)
|
||||||
#define USE_XLIB
|
#define USE_XLIB
|
||||||
|
|
||||||
#ifdef USE_XLIB
|
#ifdef USE_XLIB
|
||||||
@ -333,10 +333,11 @@ void Initialisation_Texte(void)
|
|||||||
XFreeFontPath(font_path_list);
|
XFreeFontPath(font_path_list);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
#elif defined(__BEOS__)
|
||||||
|
#ifndef NOTTF
|
||||||
|
for_each_file("/etc/fonts/ttfonts", Ajout_fonte);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#endif
|
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user