You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I'm trying to use the (very useful!) font conversion/serving function of Martin, but am facing some problem which may have to do with the spaces in the font name.
If I start martin with -f Noto_Sans, I see in the log it loaded it:
[2024-04-03T13:12:06Z INFO martin::fonts] Configured font Noto Sans Black with 3006 glyphs (0000-FFFD) from Noto_Sans/static/NotoSans-Black.ttf
curl -v "http://localhost:3000/fonts/Noto%20Sans%20Black/0-255.pbf
...
< HTTP/1.1 404 Not Found
I tried changing the name of the file to remove spaces, but it seems Martin is using the metadata inside the file itself, and I'm not sure that's even the source of the issue. Am I missing something?
The text was updated successfully, but these errors were encountered:
Hi @jacopofar Have a good day!
There is no .pbf on the request url. See doc.
zhangyijun@zhangyijundeMacBook-Pro Noto_Sans % martin -f /Users/zhangyijun/Downloads/Noto_Sans
[2024-04-08T14:43:36Z INFO martin] Starting Martin v0.13.0
[2024-04-08T14:43:36Z INFO martin] Config file is not specified, auto-detecting sources
[2024-04-08T14:43:36Z INFO martin::config] Initializing main cache with maximum size 536870912B
[2024-04-08T14:43:36Z INFO martin::fonts] Configured font Noto Sans Black with 3006 glyphs (0000-FFFD) from /Users/zhangyijun/Downloads/Noto_Sans/static/NotoSans-Black.ttf
[2024-04-08T14:43:36Z INFO martin] Use --save-config to save or print Martin configuration.
[2024-04-08T14:43:36Z INFO martin] Martin has been started on 0.0.0.0:3000.
[2024-04-08T14:43:36Z INFO martin] Use http://0.0.0.0:3000/catalog to get the list of available sources.
...
Hello,
I'm trying to use the (very useful!) font conversion/serving function of Martin, but am facing some problem which may have to do with the spaces in the font name.
If I start martin with
-f Noto_Sans
, I see in the log it loaded it:[2024-04-03T13:12:06Z INFO martin::fonts] Configured font Noto Sans Black with 3006 glyphs (0000-FFFD) from Noto_Sans/static/NotoSans-Black.ttf
and indeed I see them under
/catalog
:yet I get a 404 trying to load them:
I tried changing the name of the file to remove spaces, but it seems Martin is using the metadata inside the file itself, and I'm not sure that's even the source of the issue. Am I missing something?
The text was updated successfully, but these errors were encountered: