Changed temporary font scan directories to home/config/psfonts and ttfonts

Added installation of official OBOS fonts to proper location in hierarchy


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4188 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
DarkWyrm
2003-08-02 00:13:30 +00:00
parent a2a6c4bdd7
commit 5b1de832bd
6 changed files with 60 additions and 3 deletions
+5 -3
View File
@@ -84,12 +84,14 @@ AppServer::AppServer(void)
// Create the font server and scan the proper directories.
fontserver=new FontServer;
fontserver->Lock();
fontserver->ScanDirectory("/boot/beos/etc/fonts/ttfonts/");
// Used for testing purposes
// TODO: Uncomment when actually put to use. Commented out for speed
// fontserver->ScanDirectory("/boot/beos/etc/fonts/ttfonts/");
// fontserver->ScanDirectory("/boot/beos/etc/fonts/PS-Type1/");
// fontserver->ScanDirectory("/boot/home/config/fonts/ttfonts/");
// fontserver->ScanDirectory("/boot/home/config/fonts/psfonts/");
fontserver->ScanDirectory("/boot/home/config/fonts/ttfonts/");
fontserver->ScanDirectory("/boot/home/config/fonts/psfonts/");
fontserver->SaveList();
if(!fontserver->SetSystemPlain(DEFAULT_PLAIN_FONT_FAMILY,DEFAULT_PLAIN_FONT_STYLE,DEFAULT_PLAIN_FONT_SIZE))