-
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix memory leak in wasm worker [#21] * worker: move freeing font data to end [#21] * Update example scripts to build off the noto repository. [#16] * Ignore CJK since they will never get rendered in MapLibre with default settings. * Fix file paths and remove unavailable fonts. * command line has name override option [#16] * set a single output name e.g. Noto Sans Regular instead of determining one from fonts, which may be too long. * Web worker passes 0 for face name override [#16]
- Loading branch information
Showing
5 changed files
with
123 additions
and
108 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
notofonts.github.io* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,28 @@ | ||
../font-maker pbfs/NotoSans-Bold \ | ||
fonts/Noto-unhinted/NotoSans-Bold.ttf \ | ||
fonts/Noto-unhinted/NotoSansArmenian-Bold.ttf \ | ||
fonts/Noto-unhinted/NotoSansHebrew-Bold.ttf \ | ||
fonts/Noto-unhinted/NotoSansArabic-Bold.ttf \ | ||
fonts/Noto-unhinted/NotoSansThaana-Bold.ttf \ | ||
fonts/Noto-unhinted/NotoSansDevanagari-Bold.ttf \ | ||
fonts/Noto-unhinted/NotoSansBengali-Bold.ttf \ | ||
fonts/Noto-unhinted/NotoSansGurmukhi-Bold.ttf \ | ||
fonts/Noto-unhinted/NotoSansGujarati-Bold.ttf \ | ||
fonts/Noto-unhinted/NotoSansOriya-Bold.ttf \ | ||
fonts/Noto-unhinted/NotoSansTamil-Bold.ttf \ | ||
fonts/Noto-unhinted/NotoSansTelugu-Bold.ttf \ | ||
fonts/Noto-unhinted/NotoSansKannada-Bold.ttf \ | ||
fonts/Noto-unhinted/NotoSansMalayalam-Bold.ttf \ | ||
fonts/Noto-unhinted/NotoSansSinhala-Bold.ttf \ | ||
fonts/Noto-unhinted/NotoSansThai-Bold.ttf \ | ||
fonts/Noto-unhinted/NotoSansLao-Bold.ttf \ | ||
fonts/Noto-unhinted/NotoSansTibetan-Bold.ttf \ | ||
fonts/Noto-unhinted/NotoSansMyanmar-Bold.ttf \ | ||
fonts/Noto-unhinted/NotoSansGeorgian-Bold.ttf \ | ||
fonts/Noto-unhinted/NotoSansEthiopic-Bold.ttf \ | ||
fonts/Noto-unhinted/NotoSansCherokee-Bold.ttf \ | ||
fonts/Noto-unhinted/NotoSansKhmer-Bold.ttf \ | ||
fonts/Noto-unhinted/NotoSansSymbols-Bold.ttf \ | ||
fonts/Noto-unhinted/NotoSansCJKtc-Bold.otf \ | ||
fonts/Noto-unhinted/NotoSansCham-Bold.ttf | ||
ROOT=notofonts.github.io-main/fonts/ | ||
PATH=unhinted/ttf | ||
|
||
../font-maker --name "Noto Sans Bold" out2 \ | ||
$ROOT/NotoSans/$PATH/NotoSans-Bold.ttf \ | ||
$ROOT/NotoSansArmenian/$PATH/NotoSansArmenian-Bold.ttf \ | ||
$ROOT/NotoSansHebrew/$PATH/NotoSansHebrew-Bold.ttf \ | ||
$ROOT/NotoSansArabic/$PATH/NotoSansArabic-Bold.ttf \ | ||
$ROOT/NotoSansThaana/$PATH/NotoSansThaana-Bold.ttf \ | ||
$ROOT/NotoSansDevanagari/$PATH/NotoSansDevanagari-Bold.ttf \ | ||
$ROOT/NotoSansBengali/$PATH/NotoSansBengali-Bold.ttf \ | ||
$ROOT/NotoSansGurmukhi/$PATH/NotoSansGurmukhi-Bold.ttf \ | ||
$ROOT/NotoSansGujarati/$PATH/NotoSansGujarati-Bold.ttf \ | ||
$ROOT/NotoSansOriya/$PATH/NotoSansOriya-Bold.ttf \ | ||
$ROOT/NotoSansTamil/$PATH/NotoSansTamil-Bold.ttf \ | ||
$ROOT/NotoSansTelugu/$PATH/NotoSansTelugu-Bold.ttf \ | ||
$ROOT/NotoSansKannada/$PATH/NotoSansKannada-Bold.ttf \ | ||
$ROOT/NotoSansMalayalam/$PATH/NotoSansMalayalam-Bold.ttf \ | ||
$ROOT/NotoSansSinhala/$PATH/NotoSansSinhala-Bold.ttf \ | ||
$ROOT/NotoSansThai/$PATH/NotoSansThai-Bold.ttf \ | ||
$ROOT/NotoSansLao/$PATH/NotoSansLao-Bold.ttf \ | ||
$ROOT/NotoSansMyanmar/$PATH/NotoSansMyanmar-Bold.ttf \ | ||
$ROOT/NotoSansGeorgian/$PATH/NotoSansGeorgian-Bold.ttf \ | ||
$ROOT/NotoSansEthiopic/$PATH/NotoSansEthiopic-Bold.ttf \ | ||
$ROOT/NotoSansCherokee/$PATH/NotoSansCherokee-Bold.ttf \ | ||
$ROOT/NotoSansKhmer/$PATH/NotoSansKhmer-Bold.ttf \ | ||
$ROOT/NotoSansSymbols/$PATH/NotoSansSymbols-Bold.ttf \ | ||
$ROOT/NotoSansCham/$PATH/NotoSansCham-Bold.ttf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,65 +1,66 @@ | ||
../font-maker pbfs/NotoSans-Regular \ | ||
fonts/Noto-unhinted/NotoSans-Regular.ttf \ | ||
fonts/Noto-unhinted/NotoSansArmenian-Regular.ttf \ | ||
fonts/Noto-unhinted/NotoSansHebrew-Regular.ttf \ | ||
fonts/Noto-unhinted/NotoSansArabic-Regular.ttf \ | ||
fonts/Noto-unhinted/NotoSansSyriacEastern-Regular.ttf \ | ||
fonts/Noto-unhinted/NotoSansThaana-Regular.ttf \ | ||
fonts/Noto-unhinted/NotoSansNKo-Regular.ttf \ | ||
fonts/Noto-unhinted/NotoSansSamaritan-Regular.ttf \ | ||
fonts/Noto-unhinted/NotoSansMandaic-Regular.ttf \ | ||
fonts/Noto-unhinted/NotoSansDevanagari-Regular.ttf \ | ||
fonts/Noto-unhinted/NotoSansBengali-Regular.ttf \ | ||
fonts/Noto-unhinted/NotoSansGurmukhi-Regular.ttf \ | ||
fonts/Noto-unhinted/NotoSansGujarati-Regular.ttf \ | ||
fonts/Noto-unhinted/NotoSansOriya-Regular.ttf \ | ||
fonts/Noto-unhinted/NotoSansTamil-Regular.ttf \ | ||
fonts/Noto-unhinted/NotoSansTelugu-Regular.ttf \ | ||
fonts/Noto-unhinted/NotoSansKannada-Regular.ttf \ | ||
fonts/Noto-unhinted/NotoSansMalayalam-Regular.ttf \ | ||
fonts/Noto-unhinted/NotoSansSinhala-Regular.ttf \ | ||
fonts/Noto-unhinted/NotoSansThai-Regular.ttf \ | ||
fonts/Noto-unhinted/NotoSansLao-Regular.ttf \ | ||
fonts/Noto-unhinted/NotoSansTibetan-Regular.ttf \ | ||
fonts/Noto-unhinted/NotoSansMyanmar-Regular.ttf \ | ||
fonts/Noto-unhinted/NotoSansGeorgian-Regular.ttf \ | ||
fonts/Noto-unhinted/NotoSansEthiopic-Regular.ttf \ | ||
fonts/Noto-unhinted/NotoSansCherokee-Regular.ttf \ | ||
fonts/Noto-unhinted/NotoSansCanadianAboriginal-Regular.ttf \ | ||
fonts/Noto-unhinted/NotoSansOgham-Regular.ttf \ | ||
fonts/Noto-unhinted/NotoSansRunic-Regular.ttf \ | ||
fonts/Noto-unhinted/NotoSansTagalog-Regular.ttf \ | ||
fonts/Noto-unhinted/NotoSansHanunoo-Regular.ttf \ | ||
fonts/Noto-unhinted/NotoSansBuhid-Regular.ttf \ | ||
fonts/Noto-unhinted/NotoSansTagbanwa-Regular.ttf \ | ||
fonts/Noto-unhinted/NotoSansKhmer-Regular.ttf \ | ||
fonts/Noto-unhinted/NotoSansMongolian-Regular.ttf \ | ||
fonts/Noto-unhinted/NotoSansLimbu-Regular.ttf \ | ||
fonts/Noto-unhinted/NotoSansTaiLe-Regular.ttf \ | ||
fonts/Noto-unhinted/NotoSansNewTaiLue-Regular.ttf \ | ||
fonts/Noto-unhinted/NotoSansBuginese-Regular.ttf \ | ||
fonts/Noto-unhinted/NotoSansTaiTham-Regular.ttf \ | ||
fonts/Noto-unhinted/NotoSansBalinese-Regular.ttf \ | ||
fonts/Noto-unhinted/NotoSansSundanese-Regular.ttf \ | ||
fonts/Noto-unhinted/NotoSansBatak-Regular.ttf \ | ||
fonts/Noto-unhinted/NotoSansLepcha-Regular.ttf \ | ||
fonts/Noto-unhinted/NotoSansOlChiki-Regular.ttf \ | ||
fonts/Noto-unhinted/NotoSansSymbols-Regular.ttf \ | ||
fonts/Noto-unhinted/NotoSansSymbols2-Regular.ttf \ | ||
fonts/Noto-unhinted/NotoSansGlagolitic-Regular.ttf \ | ||
fonts/Noto-unhinted/NotoSansCoptic-Regular.ttf \ | ||
fonts/Noto-unhinted/NotoSansTifinagh-Regular.ttf \ | ||
fonts/Noto-unhinted/NotoSansCJKtc-Regular.otf \ | ||
fonts/Noto-unhinted/NotoSansYi-Regular.ttf \ | ||
fonts/Noto-unhinted/NotoSansLisu-Regular.ttf \ | ||
fonts/Noto-unhinted/NotoSansVai-Regular.ttf \ | ||
fonts/Noto-unhinted/NotoSansBamum-Regular.ttf \ | ||
fonts/Noto-unhinted/NotoSansSylotiNagri-Regular.ttf \ | ||
fonts/Noto-unhinted/NotoSansPhagsPa-Regular.ttf \ | ||
fonts/Noto-unhinted/NotoSansSaurashtra-Regular.ttf \ | ||
fonts/Noto-unhinted/NotoSansKayahLi-Regular.ttf \ | ||
fonts/Noto-unhinted/NotoSansRejang-Regular.ttf \ | ||
fonts/Noto-unhinted/NotoSansJavanese-Regular.ttf \ | ||
fonts/Noto-unhinted/NotoSansCham-Regular.ttf \ | ||
fonts/Noto-unhinted/NotoSansTaiViet-Regular.ttf \ | ||
fonts/Noto-unhinted/NotoSansMeeteiMayek-Regular.ttf | ||
ROOT=notofonts.github.io-main/fonts/ | ||
PATH=unhinted/ttf | ||
|
||
../font-maker --name "Noto Sans Regular" out \ | ||
$ROOT/NotoSans/$PATH/NotoSans-Regular.ttf \ | ||
$ROOT/NotoSansArmenian/$PATH/NotoSansArmenian-Regular.ttf \ | ||
$ROOT/NotoSansHebrew/$PATH/NotoSansHebrew-Regular.ttf \ | ||
$ROOT/NotoSansArabic/$PATH/NotoSansArabic-Regular.ttf \ | ||
$ROOT/NotoSansSyriac/$PATH/NotoSansSyriac-Regular.ttf \ | ||
$ROOT/NotoSansThaana/$PATH/NotoSansThaana-Regular.ttf \ | ||
$ROOT/NotoSansNKo/$PATH/NotoSansNKo-Regular.ttf \ | ||
$ROOT/NotoSansSamaritan/$PATH/NotoSansSamaritan-Regular.ttf \ | ||
$ROOT/NotoSansDevanagari/$PATH/NotoSansDevanagari-Regular.ttf \ | ||
$ROOT/NotoSansBengali/$PATH/NotoSansBengali-Regular.ttf \ | ||
$ROOT/NotoSansGurmukhi/$PATH/NotoSansGurmukhi-Regular.ttf \ | ||
$ROOT/NotoSansGujarati/$PATH/NotoSansGujarati-Regular.ttf \ | ||
$ROOT/NotoSansOriya/$PATH/NotoSansOriya-Regular.ttf \ | ||
$ROOT/NotoSansTamil/$PATH/NotoSansTamil-Regular.ttf \ | ||
$ROOT/NotoSansTelugu/$PATH/NotoSansTelugu-Regular.ttf \ | ||
$ROOT/NotoSansKannada/$PATH/NotoSansKannada-Regular.ttf \ | ||
$ROOT/NotoSansMalayalam/$PATH/NotoSansMalayalam-Regular.ttf \ | ||
$ROOT/NotoSansSinhala/$PATH/NotoSansSinhala-Regular.ttf \ | ||
$ROOT/NotoSansThai/$PATH/NotoSansThai-Regular.ttf \ | ||
$ROOT/NotoSansLao/$PATH/NotoSansLao-Regular.ttf \ | ||
$ROOT/NotoSerifTibetan/$PATH/NotoSerifTibetan-Regular.ttf \ | ||
$ROOT/NotoSansMyanmar/$PATH/NotoSansMyanmar-Regular.ttf \ | ||
$ROOT/NotoSansGeorgian/$PATH/NotoSansGeorgian-Regular.ttf \ | ||
$ROOT/NotoSansEthiopic/$PATH/NotoSansEthiopic-Regular.ttf \ | ||
$ROOT/NotoSansCherokee/$PATH/NotoSansCherokee-Regular.ttf \ | ||
$ROOT/NotoSansCanadianAboriginal/$PATH/NotoSansCanadianAboriginal-Regular.ttf \ | ||
$ROOT/NotoSansOgham/$PATH/NotoSansOgham-Regular.ttf \ | ||
$ROOT/NotoSansRunic/$PATH/NotoSansRunic-Regular.ttf \ | ||
$ROOT/NotoSansTagalog/$PATH/NotoSansTagalog-Regular.ttf \ | ||
$ROOT/NotoSansHanunoo/$PATH/NotoSansHanunoo-Regular.ttf \ | ||
$ROOT/NotoSansBuhid/$PATH/NotoSansBuhid-Regular.ttf \ | ||
$ROOT/NotoSansTagbanwa/$PATH/NotoSansTagbanwa-Regular.ttf \ | ||
$ROOT/NotoSansKhmer/$PATH/NotoSansKhmer-Regular.ttf \ | ||
$ROOT/NotoSansMongolian/$PATH/NotoSansMongolian-Regular.ttf \ | ||
$ROOT/NotoSansLimbu/$PATH/NotoSansLimbu-Regular.ttf \ | ||
$ROOT/NotoSansTaiLe/$PATH/NotoSansTaiLe-Regular.ttf \ | ||
$ROOT/NotoSansNewTaiLue/$PATH/NotoSansNewTaiLue-Regular.ttf \ | ||
$ROOT/NotoSansBuginese/$PATH/NotoSansBuginese-Regular.ttf \ | ||
$ROOT/NotoSansTaiTham/$PATH/NotoSansTaiTham-Regular.ttf \ | ||
$ROOT/NotoSansBalinese/$PATH/NotoSansBalinese-Regular.ttf \ | ||
$ROOT/NotoSansSundanese/$PATH/NotoSansSundanese-Regular.ttf \ | ||
$ROOT/NotoSansBatak/$PATH/NotoSansBatak-Regular.ttf \ | ||
$ROOT/NotoSansLepcha/$PATH/NotoSansLepcha-Regular.ttf \ | ||
$ROOT/NotoSansOlChiki/$PATH/NotoSansOlChiki-Regular.ttf \ | ||
$ROOT/NotoSansSymbols/$PATH/NotoSansSymbols-Regular.ttf \ | ||
$ROOT/NotoSansSymbols2/$PATH/NotoSansSymbols2-Regular.ttf \ | ||
$ROOT/NotoSansGlagolitic/$PATH/NotoSansGlagolitic-Regular.ttf \ | ||
$ROOT/NotoSansCoptic/$PATH/NotoSansCoptic-Regular.ttf \ | ||
$ROOT/NotoSansTifinagh/$PATH/NotoSansTifinagh-Regular.ttf \ | ||
$ROOT/NotoSansYi/$PATH/NotoSansYi-Regular.ttf \ | ||
$ROOT/NotoSansLisu/$PATH/NotoSansLisu-Regular.ttf \ | ||
$ROOT/NotoSansVai/$PATH/NotoSansVai-Regular.ttf \ | ||
$ROOT/NotoSansBamum/$PATH/NotoSansBamum-Regular.ttf \ | ||
$ROOT/NotoSansSylotiNagri/$PATH/NotoSansSylotiNagri-Regular.ttf \ | ||
$ROOT/NotoSansPhagsPa/$PATH/NotoSansPhags-Pa-Regular.ttf \ | ||
$ROOT/NotoSansSaurashtra/$PATH/NotoSansSaurashtra-Regular.ttf \ | ||
$ROOT/NotoSansKayahLi/$PATH/NotoSansKayahLi-Regular.ttf \ | ||
$ROOT/NotoSansRejang/$PATH/NotoSansRejang-Regular.ttf \ | ||
$ROOT/NotoSansJavanese/$PATH/NotoSansJavanese-Regular.ttf \ | ||
$ROOT/NotoSansCham/$PATH/NotoSansCham-Regular.ttf \ | ||
$ROOT/NotoSansTaiViet/$PATH/NotoSansTaiViet-Regular.ttf \ | ||
$ROOT/NotoSansMeeteiMayek/$PATH/NotoSansMeeteiMayek-Regular.ttf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters