New upstream version 19.0.3+dfsg1

This commit is contained in:
Sebastian Ramacher 2017-06-29 21:01:10 +02:00
parent 3708b8e092
commit 1f1bbb3518
534 changed files with 13862 additions and 2459 deletions

View file

@ -0,0 +1,8 @@
TextFreetype2="টেক্সট (FreeType 2)"
Font="ফন্ট"
TextFileFilter="টেক্সট ফাইল (*.txt);;"
ChatLogMode="আড্ডার লগ মোড (6 শেষ লাইন)"
Outline="রূপরেখা"
DropShadow="ছায়া ফেলে"
ReadFromFile="ফাইল থেকে পড়া"

View file

@ -32,7 +32,16 @@ static void add_path_fonts(NSFileManager *file_manager, NSString *path)
for (NSString *file in files) {
NSString *full_path = [path stringByAppendingPathComponent:file];
add_path_font(full_path.fileSystemRepresentation);
BOOL is_dir = FALSE;
bool folder_exists = [file_manager
fileExistsAtPath:full_path
isDirectory:&is_dir];
if (folder_exists && is_dir) {
add_path_fonts(file_manager, full_path);
} else {
add_path_font(full_path.fileSystemRepresentation);
}
}
}