[1mdiff --git a/lib/the_Foundation b/lib/the_Foundation[m
[1mindex adf8b403..6c7d2a3b 160000[m
[1m--- a/lib/the_Foundation[m
[1m+++ b/lib/the_Foundation[m
[36m@@ -1 +1 @@[m
[31m-Subproject commit adf8b403f3acecc159511c22a79b10e65453c088[m
[32m+[m[32mSubproject commit 6c7d2a3b050aae3b37adc626aa75f040b5acb930[m
[1mdiff --git a/src/fontpack.c b/src/fontpack.c[m
[1mindex ec62702f..40e4c96c 100644[m
[1m--- a/src/fontpack.c[m
[1m+++ b/src/fontpack.c[m
[36m@@ -389,6 +389,7 @@[m [mvoid handleIniKeyValue_FontPack_(void *context, const iString *table, const iStr[m
}[m
}[m
iString *fontFileId = concat_Path(d->loadPath, cleanPath);[m
[32m+[m[32m iAssert(!isEmpty_String(fontFileId));[m
/* FontFiles share source data blocks. The entire FontFiles can be reused, too, [m
if have the same collection index is in use. */[m
iBlock *data = NULL;[m
[36m@@ -466,6 +467,7 @@[m [miBool loadArchive_FontPack(iFontPack *d, const iArchive *zip) {[m
}[m
[m
void setLoadPath_FontPack(iFontPack *d, const iString *path) {[m
[32m+[m[32m /* Note: path
is for the local file system. */[m
if (!d->loadPath) {[m
d->loadPath = new_String();[m
}[m
[36m@@ -480,7 +482,8 @@[m [mconst iString *idFromUrl_FontPack(const iString *url) {[m
iString *id = new_String();[m
iUrl parts;[m
init_Url(&parts, url);[m
[31m- setRange_String(id, baseName_Path(collectNewRange_String(parts.path)));[m
[32m+[m[32m /* URLs always use slash as separator. */[m
[32m+[m[32m setRange_String(id, baseNameSep_Path(collectNewRange_String(parts.path), "/"));[m
setRange_String(id, withoutExtension_Path(id));[m
replace_String(id, " ", "-");[m
return collect_String(id);[m
text/plain
This content has been proxied by September (ba2dc).