Not a Directory
Font Helper seems to be working correctly and serves the correct files to Figma once I set up the font paths correctly. However when viewing the logs it's full of hundreds of lines of this WARN statement:
1141 [2020-02-06 13:51:22.157342 -05:00] WARN [/home/ruut/.cargo/registry/src/github.com-1ecc6299db9ec823/finder-0.1.5/src/lib.rs:169] Not a directory (os error 20)
- it seem to be built with src references to
ruut's home directory which obviously doesn't exist on my computer - the error isn't telling me what's "not a directory" so I have no idea how to address the problem. the only directories defined in my
/etc/figma-linux/fonthelperconfig are valid directories with fonts in them.
I'm running on Fedora 29. Let me know any other info I can provide
Thx for log, I'll fix this later
Hello,
Some of my fonts doesn't load (everything is well installed, your font-helper service, the fonts etc.). When I check for potentials errors or warnings the only thing that I got is this warn :
[2020-06-26 16:36:57.175850 +02:00] WARN [/home/ruut/.cargo/registry/src/github.com-1ecc6299db9ec823/finder-0.1.5/src/lib.rs:169] Not a directory (os error 20)
Plus some fonts well loaded.
[2020-06-26 16:37:52.353697 +02:00] INFO [src/server.rs:34] Request received. GET /figma/font-file?file=%2Fhome%2Froch%2F.local%2Fshare%2Ffonts%2FBeVietnam-BoldItalic.ttf
As you can see below I have added the correct folders and the restarted the service ...all seems to be working fine. I go into figma but can find my fonts anywhere. Would you mind pointing me in the right direction with a possible screenshot ?

As you can see below I have added the correct folders and the restarted the service ...all seems to be working fine. I go into figma but can find my fonts anywhere. Would you mind pointing me in the right direction with a possible screenshot ?
Try replace ~ on full path to home directory
I am having the same issue, and i believe it has nothing to do with the configuration file directories... My current configuration looks like this:
{
"port": "18412",
"directories": [
"/usr/share/fonts"
]
}
The service is correcty initiated,
● fonthelper.service - Font Helper for Figma
Loaded: loaded (/lib/systemd/system/fonthelper.service; enabled; vendor preset: enabled)
Active: active (running) since Fri 2022-06-17 09:38:01 CEST; 15min ago
Main PID: 22930 (fonthelper)
Tasks: 9 (limit: 18834)
Memory: 1.5M
CGroup: /system.slice/fonthelper.service
└─22930 /opt/FontHelper/fonthelper
Finally, here are the logs:
[2022-06-17 09:39:27.107214 +02:00] WARN [/home/ruut/.cargo/registry/src/github.com-1ecc6299db9ec823/finder-0.1.5/src/lib.rs:169] Not a directory (os error 20)
If i can provide any additional information to pinpoint the error, let me know.