Mac OS X additions - loading of fonts from user's Fonts directory, rearrangement of files in XCode project.

This commit is contained in:
Martin Fuhrer 2005-01-08 19:41:05 +00:00
parent 4ffabe2d15
commit 25d52d3aa7
6 changed files with 1701 additions and 502 deletions

View file

@ -185,6 +185,8 @@ typedef struct safer_dirent {
#endif
#ifdef __APPLE__
#include "macosx_print.h"
#include "wrapperdata.h"
extern WrapperData macosx;
#endif
#else
#include "win32_dirent.h"
@ -7087,6 +7089,7 @@ static void setup(int argc, char * argv[])
#elif defined(__APPLE__)
loadfonts("/System/Library/Fonts", 0);
loadfonts("/Library/Fonts", 0);
loadfonts(macosx.fontsPath, 0);
loadfonts("/usr/share/fonts", 0);
loadfonts("/usr/X11R6/lib/X11/fonts", 0);
#else