Giter Club home page Giter Club logo

figma-linux-font-helper's Introduction

Font Helper

Font Helper for Figma for Linux OS.

Attention!

Figma has now made a change to their web application so that the request for local fonts will not be made if your browser agent defined like the Linux version.

Install

Run this in your terminal

curl -L https://raw.githubusercontent.com/Figma-Linux/figma-linux-font-helper/master/res/install.sh | bash

How it works

Font Helper is a simple http server which responds with a list of locally installed fonts upon request from Figma client. Figma sends an HTTP request to localhost upon loading to see which local fonts are available for usage in the Figma client

How to add directories

You can modify Font Helper config file with normal user privileges. The config is a simple JSON file which is located in ~/.config/figma-linux/settings.json

nano ~/.config/figma-linux/settings.json

After that You need to restart Font Helper service to apply the changes:

systemctl --user restart figma-fonthelper.service

Where to find logs

The app put all logs into the /var/log/fonthelper directory. When Font Helper starts it create a new log file in the directory each time.

Check Font Helper service status

Just type this in terminal for check status of Font Helper:

systemctl --user status figma-fonthelper.service

Updating Font Helper

Font Helper updates automatically via figma-fonthelper-updater.service service. You don't need to update Font Helper manually by default unless you have disabled the said service

How to disable auto updates

Disable the updater systemd service:

systemctl --user stop figma-fonthelper-updater.service
systemctl --user disable ffigma-onthelper-updater.service

To enable auto update again:

systemctl --user start figma-fonthelper-updater.service
systemctl --user enable figma-fonthelper-updater.service

Check your currently installed Font Helper version

In terminal:

~/.local/share/figma-fonthelper/fonthelper -v

figma-linux-font-helper's People

Contributors

chugunovroman avatar codacy-badger avatar damiangreen avatar danielfeather avatar konstlepa avatar navidmafi avatar odas0r avatar ralfbraendli avatar rodrigovcortezi avatar swivelgames avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

figma-linux-font-helper's Issues

Failed to start fonthelper.service: Unit fonthelper.service is not loaded properly: Exec format error

After installation through the script, fonthelper.service cannot be started through SystemD. The script itself fails to do so, and so does subsequent manual attempts.

sudo systemctl start fonthelper.service just returns:
Failed to start fonthelper.service: Unit fonthelper.service is not loaded properly: Exec format error.

And sudo systemctl status fonthelper.service returns:

โ— fonthelper.service - Font Helper for Figma
   Loaded: error (Reason: Exec format error)
   Active: inactive (dead)

And yet, the actual executable runs just fine with sudo /opt/FontHelper/fonthelper, and serves fonts to Figma in Chrome successfully! ๐Ÿ˜€

I initially installed this last night, and it seems like no new releases were pushed this morning (~14 hours later) so I haven't tried updating it yet. Ofc, the update service is also not starting.

My system is running Xubuntu 18.04 LTS, up-to-date as of Sunday.

Wrong service file names

I couldn't install with the script because the files in the tar package file are named fonthelper.service and fonthelper-updater.service but the are defined with a figma-* prefix in the install.sh file.

Mention the arch linux aur packages under "Install" in the readme

I just wanted to mention that I just installed this package from the arch linux user repository (AUR), and it work perfectly fine.
This is the package I'm referring to: https://aur.archlinux.org/packages/figma-linux-font-helper/

This is the command I used to install:

yay -S figma-linux-font-helper

Then I had to start the service:

sudo systemctl start fonthelper.service

I think it would be helpful to any arch linux or manjaro user if this was mentioned in the readme.
Thanks!

Local fonts are not being found / font URL issue

Hi,

I added some fonts to my Figma project and everything was working fine. The next day i return to my project but the added fonts are being reported as missing (even though i had no problems with them the day before).
After some inspection we realized the URL from where the font comes is being parsed wrong by font-helper.

this is what the URL for the font looks like:
http://127.0.0.1:18412/figma/font-file?file=%2Fhome%2Fnsf%2F.fonts%2Ff%2FFrutiger-Medium.otf&freetype_minimum_api_version=20

" &freetype_minimum_api_version=20 " - this part is being added by the font-helper, thus corrupting the path.

Thanks in advance for a fix, some help or a correction if i am misunderstanding something here.

Failed to load local fonts

Lately, Figma tries to load the local fonts with an additional query parameter freetype_minimum_api_version.

Here is an example of the request URL: http://127.0.0.1:18412/figma/font-file?file=<font_path>&freetype_minimum_api_version=20

In the current Implementation, additional query parameters are not handled.

I implemented a simple parsing of the query parameters to fix this issue in the Pull request #29.

Hopefully this pull request gets accepted, that this cool service will work again.

Best regards and thanks to the creator of this project

how use this >?

hi, in installed this plugin and this service is running in my ubuntu.
now how can use custom font?
i added my directory in config file. now fonts must added to linux version of figma or web verison?
what must i do ?


abbasalim@ArMo-at-372:~$ sudo systemctl status fonthelper.service
โ— fonthelper.service - Font Helper for Figma
     Loaded: loaded (/lib/systemd/system/fonthelper.service; enabled; vendor pr>
     Active: active (running) since Tue 2021-06-08 18:18:22 +0430; 12s ago
   Main PID: 17067 (fonthelper)
      Tasks: 13 (limit: 38366)
     Memory: 1.1M
     CGroup: /system.slice/fonthelper.service
             โ””โ”€17067 /opt/FontHelper/fonthelper

ฺ˜ูˆุฆู† 08 18:18:22 ArMo-at-372 systemd[1]: Started Font Helper for Figma.

my config:


{
  "port": "18412",
  "directories": [
    "/usr/share/fonts",
    "/root/.local/share/fonts",
"/home/abbasalim/Public/figma-font"
  ]
}

my fonts:

abbasalim@ArMo-at-372:~/Public/figma-font$ ls
IRANSansWeb_Black.ttf  IRANSansWeb_Light.ttf   IRANSansWeb.ttf
IRANSansWeb_Bold.ttf   IRANSansWeb_Medium.ttf  IRANSansWeb_UltraLight.ttf

Doesnt load fonts

Hey, I get a 500 Internal Server Error when Figma tries to load fonts. Am I doing something wrong?
Screenshot from 2022-05-22 22-32-43

Wrong systemd path on Opensuse Tumbleweed

On Opensuse Tumbleweed systemd service files don't go into /lib/systemd/system but /etc/systemd/system
Had to change the install script or otherwise it would obviously fail.

A check in the install script would probably be a good idea

figma-linux-fonthelper does not start

In my ubuntu 20.04 figma-linux-fonthelper does not started.

~/.local/share/figma-fonthelper$ ./fonthelper -v
./fonthelper: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.33' not found (required by ./fonthelper)
./fonthelper: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.32' not found (required by ./fonthelper) ./fonthelper: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.34' not found (required by ./fonthelper)
`
please help solve this.
Best regards!

Figma cannot recognize font weights on linux

I don't know if this issue can be solved with this tool or it's a figma issue.

For some reason, only in linux, font weights doesn't appear propperly on properties or CSS inspection. All font weights appears as normal / 400.

Inspecting an element with bold / 700 font, this is what appears on the Typography section:
image

In CSS code inspection, this appears:
image

But if i inspect CSS as an list like below, the correct font appears
image

${XDG_CONFIG_HOME} not valid on status systemectl

when i run systemctl --user restart figma-fonthelper.service or status, i got error home/user/.config/systemd/user/figma-fonthelper-updater.service:7: Neither a valid executable name nor an absolute path: ${XDG_CONFIG_HOME}/figma-fonthelper/updater.sh

i was add export on zshrc export XDG_CONFIG_HOME="$HOME/.config"

i try to manual edit Execstart from ${XDG_CONFIG_HOME} to /home/user/.local/share on ~/.config/systemd/user/figma-fonthelper-updater.service it can start system with no error but the config come back again to ${XDG_CONFIG_HOME} after many minutes.

what i miss it?

FontHelper fails to start with local fonts

Firstly, FontHelper is working with system fonts and the default config.

When I add my local user fonts: /home/USERNAME/.local/share/fonts I get and error with the service and it fails to load, here is the output from the stacktrace.

thread '<unnamed>' panicked at 'BUG: Cannot get family_name', src/libcore/option.rs:1187:5
stack backtrace:
   0:     0x5600cd1b1d94 - backtrace::backtrace::libunwind::trace::h9218987ade90cd0d
                               at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.40/src/backtrace/libunwind.rs:88
   1:     0x5600cd1b1d94 - backtrace::backtrace::trace_unsynchronized::hd0d9c7dd4c0d5b20
                               at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.40/src/backtrace/mod.rs:66
   2:     0x5600cd1b1d94 - std::sys_common::backtrace::_print_fmt::h9d655e018f90c6f9
                               at src/libstd/sys_common/backtrace.rs:77
   3:     0x5600cd1b1d94 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h1342c7e899db7cad
                               at src/libstd/sys_common/backtrace.rs:61
   4:     0x5600cd1d312c - core::fmt::write::h8ec71c84cda34acb
                               at src/libcore/fmt/mod.rs:1030
   5:     0x5600cd1ad897 - std::io::Write::write_fmt::hf7cbec8fa40db95a
                               at src/libstd/io/mod.rs:1412
   6:     0x5600cd1b3f3e - std::sys_common::backtrace::_print::h738c81758a9d8612
                               at src/libstd/sys_common/backtrace.rs:65
   7:     0x5600cd1b3f3e - std::sys_common::backtrace::print::hc1fdee4f9b3bd05b
                               at src/libstd/sys_common/backtrace.rs:50
   8:     0x5600cd1b3f3e - std::panicking::default_hook::{{closure}}::hed09d3d3b53e7225
                               at src/libstd/panicking.rs:188
   9:     0x5600cd1b3c31 - std::panicking::default_hook::hddeb152065620354
                               at src/libstd/panicking.rs:205
  10:     0x5600cd1b463b - std::panicking::rust_panic_with_hook::h958da3c6025ed986
                               at src/libstd/panicking.rs:464
  11:     0x5600cd1b41de - std::panicking::continue_panic_fmt::hca02fa9fd96944e7
                               at src/libstd/panicking.rs:373
  12:     0x5600cd1b40c6 - rust_begin_unwind
                               at src/libstd/panicking.rs:302
  13:     0x5600cd1cfdee - core::panicking::panic_fmt::hd050d2eb022dfa28
                               at src/libcore/panicking.rs:141
  14:     0x5600cd1cfe57 - core::option::expect_failed::ha2ccd8fb6c8a6167
                               at src/libcore/option.rs:1187
  15:     0x5600cd0f14aa - libfonthelper::make_fonts::hf6d99d3c3f4e5d7d
  16:     0x5600cd0f0b10 - <libfonthelper::Fonts as core::iter::traits::iterator::Iterator>::next::h7aac3bcbcf4ceda6
  17:     0x5600cd0f01f4 - libfonthelper::Fonts::to_json::h73dba66cfad485ed
  18:     0x5600cd0c24c5 - font_helper::routes::get_files::handler::ha753778c36f587a8
  19:     0x5600cd0c1788 - core::ops::function::Fn::call::h04b03cb829e88ea8
  20:     0x5600cd0c11a9 - font_helper::server::Server::start::{{closure}}::hd7595629601cacad
  21:     0x5600cd0cbd81 - <F as scoped_threadpool::FnBox>::call_box::ha10e99a5ac7623f6
  22:     0x5600cd0da688 - std::sys_common::backtrace::__rust_begin_short_backtrace::h4e211e877966d40d
  23:     0x5600cd0db23c - std::panicking::try::do_call::hb5b24a88d581fa65
  24:     0x5600cd1b8e3a - __rust_maybe_catch_panic
                               at src/libpanic_unwind/lib.rs:79
  25:     0x5600cd0dab70 - core::ops::function::FnOnce::call_once{{vtable.shim}}::he36b3df87e263b90
  26:     0x5600cd1a6ccf - <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once::h85ae0e93cb1a7be4
                               at /rustc/3fc30d884ae0c988d98452a06737705cfe34806a/src/liballoc/boxed.rs:942
  27:     0x5600cd1b8010 - <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once::h6c11824f8881753b
                               at /rustc/3fc30d884ae0c988d98452a06737705cfe34806a/src/liballoc/boxed.rs:942
  28:     0x5600cd1b8010 - std::sys_common::thread::start_thread::h77419fab109b7722
                               at src/libstd/sys_common/thread.rs:13
  29:     0x5600cd1b8010 - std::sys::unix::thread::Thread::new::thread_start::had8a277fedeb5612
                               at src/libstd/sys/unix/thread.rs:79
  30:     0x7f0dc6a8146f - start_thread
  31:     0x7f0dc69973d3 - clone
  32:                0x0 - <unknown>
thread 'main' panicked at 'Thread pool worker panicked', /home/ruut/.cargo/registry/src/github.com-1ecc6299db9ec823/scoped_threadpool-0.1.9/src/lib.rs:236:13
stack backtrace:
   0:     0x5600cd1b1d94 - backtrace::backtrace::libunwind::trace::h9218987ade90cd0d
                               at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.40/src/backtrace/libunwind.rs:88
   1:     0x5600cd1b1d94 - backtrace::backtrace::trace_unsynchronized::hd0d9c7dd4c0d5b20
                               at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.40/src/backtrace/mod.rs:66
   2:     0x5600cd1b1d94 - std::sys_common::backtrace::_print_fmt::h9d655e018f90c6f9
                               at src/libstd/sys_common/backtrace.rs:77
   3:     0x5600cd1b1d94 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h1342c7e899db7cad
                               at src/libstd/sys_common/backtrace.rs:61
   4:     0x5600cd1d312c - core::fmt::write::h8ec71c84cda34acb
                               at src/libcore/fmt/mod.rs:1030
   5:     0x5600cd1ad897 - std::io::Write::write_fmt::hf7cbec8fa40db95a
                               at src/libstd/io/mod.rs:1412
   6:     0x5600cd1b3f3e - std::sys_common::backtrace::_print::h738c81758a9d8612
                               at src/libstd/sys_common/backtrace.rs:65
   7:     0x5600cd1b3f3e - std::sys_common::backtrace::print::hc1fdee4f9b3bd05b
                               at src/libstd/sys_common/backtrace.rs:50
   8:     0x5600cd1b3f3e - std::panicking::default_hook::{{closure}}::hed09d3d3b53e7225
                               at src/libstd/panicking.rs:188
   9:     0x5600cd1b3c31 - std::panicking::default_hook::hddeb152065620354
                               at src/libstd/panicking.rs:205
  10:     0x5600cd1b463b - std::panicking::rust_panic_with_hook::h958da3c6025ed986
                               at src/libstd/panicking.rs:464
  11:     0x5600cd0db215 - std::panicking::begin_panic::hecfe70e2c52ef36d
  12:     0x5600cd0da5f2 - scoped_threadpool::Scope::join_all::hcce507694dbd531f
  13:     0x5600cd0d2158 - scoped_threadpool::Pool::scoped::ha0a68c2a92f93599
  14:     0x5600cd0ce2d1 - simple_server::Server::listen_on_socket::h401d1291e90256f0
  15:     0x5600cd0ce0d7 - simple_server::Server::listen::heee2b240ae5291da
  16:     0x5600cd0c5abc - font_helper::server::Server::start::he19576629dc692f2
  17:     0x5600cd0c1633 - font_helper::main::h13f0b1d1ec3f1be9
  18:     0x5600cd0c4353 - std::rt::lang_start::{{closure}}::h52fbd055eaeb514c
  19:     0x5600cd1b4063 - std::rt::lang_start_internal::{{closure}}::hf385176dea922fb4
                               at src/libstd/rt.rs:48
  20:     0x5600cd1b4063 - std::panicking::try::do_call::hb99c9de5bcd245ec
                               at src/libstd/panicking.rs:287
  21:     0x5600cd1b8e3a - __rust_maybe_catch_panic
                               at src/libpanic_unwind/lib.rs:79
  22:     0x5600cd1b4b1d - std::panicking::try::h2bef7e6133a9e58a
                               at src/libstd/panicking.rs:265
  23:     0x5600cd1b4b1d - std::panic::catch_unwind::hcc108bf73e46542c
                               at src/libstd/panic.rs:396
  24:     0x5600cd1b4b1d - std::rt::lang_start_internal::h6bfe5befc66f0ebf
                               at src/libstd/rt.rs:47
  25:     0x5600cd0c16d2 - main
  26:     0x7f0dc68bf023 - __libc_start_main
  27:     0x5600cd0b918a - _start
  28:                0x0 - <unknown>

Also is the path correct in this line? thread 'main' panicked at 'Thread pool worker panicked', /home/ruut/.cargo/registry/src/github.com-1ecc6299db9ec823/scoped_threadpool-0.1.9/src/lib.rs:236:13

Is it possible to provide a version that uses unprivileged per-user systemd instance?

I don't know the internals, but I would imagine the service that uses /usr/local/bin/* executables with ~/.config/systemd/user/fonthelper* services and ~/.local/share/fonts/* fonts by default.
Port 18412 is unprivileged.
Do you see any obstacles?
If no, shouldn't it be the preferred setup?

systemctl --user start fonthelper.service
systemctl --user start fonthelper-updater.service

systemctl --user enable fonthelper.service
systemctl --user enable fonthelper-updater.service

Service failed to start (code=exited, status=101)

Hi, I've installed font helper but it can't run. I don't know what causes this error.

This is the result when I checked the status

โ— fonthelper.service - Font Helper for Figma
   Loaded: loaded (/lib/systemd/system/fonthelper.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Tue 2020-05-19 13:54:12 WIB; 7min ago
  Process: 10393 ExecStop=/bin/bash -c `which killall` fonthelper (code=exited, status=0/SUCCESS)
  Process: 10644 ExecStart=/opt/FontHelper/fonthelper (code=exited, status=101)
 Main PID: 10644 (code=exited, status=101)

Mei 19 13:54:12 studio systemd[1]: fonthelper.service: Main process exited, code=exited, status=101/n/a
Mei 19 13:54:12 studio systemd[1]: fonthelper.service: Failed with result 'exit-code'.
Mei 19 13:54:12 studio systemd[1]: fonthelper.service: Service hold-off time over, scheduling restart.
Mei 19 13:54:12 studio systemd[1]: fonthelper.service: Scheduled restart job, restart counter is at 5.
Mei 19 13:54:12 studio systemd[1]: Stopped Font Helper for Figma.
Mei 19 13:54:12 studio systemd[1]: fonthelper.service: Start request repeated too quickly.
Mei 19 13:54:12 studio systemd[1]: fonthelper.service: Failed with result 'exit-code'.
Mei 19 13:54:12 studio systemd[1]: Failed to start Font Helper for Figma.

thanks

Can't run on Debian 11

After running install script, the process exits because the glibc 2.33 is not found. The max version of glibc on debian 11 buster is 2.31. Not sure what dependency is causing this error, but happy to look further into it if someone can point me in the right direction. My use case is running this tool on my chromebook (which i have done in previous versions).

figma-linux-font-helper not start anymore

Hi! Yesterday I opened Figma (browser) and "ARIAL" was no longer available.
The same occours with all my local fonts.
I tested in 3 browsers: MS Edge, Google Chrome and Firefox.

Local fonts were on the service's list but the status was 404 (on each local font).
The fonthelper.service was running.

Some hours ago, the problem was resolved. I thought it was some bug of Figma itself and it was fixed on their server.
But today, the fonthelper.service not start anymore.

I use the fonthelper.service up to 2 years.
This problem suddenly occours.

My Service Log (after reboot the pc)

> sudo systemctl status fonthelper.service
โ— fonthelper.service - Font Helper for Figma
     Loaded: loaded (/lib/systemd/system/fonthelper.service; enabled; vendor preset: enabled)
     Active: failed (Result: exit-code) since Wed 2022-05-04 11:14:22 -03; 49s ago
    Process: 1340 ExecStart=/opt/FontHelper/fonthelper (code=exited, status=101)
   Main PID: 1340 (code=exited, status=101)

May 04 11:14:22 diegoramosNTBK fonthelper[1340]: thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Error("expected `,` or `]`", line: 7, column: 5)', src/libcore/result.rs:1165:5
May 04 11:14:22 diegoramosNTBK fonthelper[1340]: note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
May 04 11:14:22 diegoramosNTBK systemd[1]: fonthelper.service: Main process exited, code=exited, status=101/n/a
May 04 11:14:22 diegoramosNTBK systemd[1]: fonthelper.service: Failed with result 'exit-code'.
May 04 11:14:22 diegoramosNTBK systemd[1]: fonthelper.service: Scheduled restart job, restart counter is at 5.
May 04 11:14:22 diegoramosNTBK systemd[1]: Stopped Font Helper for Figma.
May 04 11:14:22 diegoramosNTBK systemd[1]: fonthelper.service: Start request repeated too quickly.
May 04 11:14:22 diegoramosNTBK systemd[1]: fonthelper.service: Failed with result 'exit-code'.
May 04 11:14:22 diegoramosNTBK systemd[1]: Failed to start Font Helper for Figma.
> sudo systemctl start fonthelper.service
> sudo systemctl status fonthelper.service
โ— fonthelper.service - Font Helper for Figma
     Loaded: loaded (/lib/systemd/system/fonthelper.service; enabled; vendor preset: enabled)
     Active: failed (Result: exit-code) since Wed 2022-05-04 11:15:32 -03; 3s ago
    Process: 4585 ExecStart=/opt/FontHelper/fonthelper (code=exited, status=101)
   Main PID: 4585 (code=exited, status=101)

May 04 11:15:32 diegoramosNTBK systemd[1]: fonthelper.service: Scheduled restart job, restart counter is at 5.
May 04 11:15:32 diegoramosNTBK systemd[1]: Stopped Font Helper for Figma.
May 04 11:15:32 diegoramosNTBK systemd[1]: fonthelper.service: Start request repeated too quickly.
May 04 11:15:32 diegoramosNTBK systemd[1]: fonthelper.service: Failed with result 'exit-code'.
May 04 11:15:32 diegoramosNTBK systemd[1]: Failed to start Font Helper for Figma.

My Environment

OS: Ubuntu 20.04.4 LTS x86_64
Kernel: 5.13.0-40-generic 
DE: GNOME

> /opt/FontHelper/fonthelper -v
0.1.5

Does anyone know what could have happened to the service not working anymore?

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)
  1. it seem to be built with src references to ruut's home directory which obviously doesn't exist on my computer
  2. 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/fonthelper config are valid directories with fonts in them.

I'm running on Fedora 29. Let me know any other info I can provide

[feature] Uninstall instructions on README.md

Thanks for this great tool! Saving Linux users lifes!

I intend to use figma for a short time, so i just wanted to know how to uninstall this tool, but README.md doesn't provide much information (only how to disable automatic updates).

Also, i had to add fonts in ~/.local/share/fonts and ~/.fonts folders. I know they are not default on every linux, but would be great to have this tip in the settings section.

Anyway thanks for the help

Not a directory spam

My log instantly grew to 2MB just because this got spammed thousands of times:
[2021-04-29 09:50:43.167149 +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)

Additional infos would be great, like which path it tried

I can't get this to work as intended

Ubuntu 18.04 LTS here, installed it, double checked the config, moved fonts into folders, NONE of the fonts in those folders is visible in figma.

The logs only say that the server has started, nothing else. Is it possible to produce more detailed logs? or have a cli for debugging?

{
  "port": "18412",
  "directories": [
    "/usr/share/fonts",
    "/home/alexander/.local/share/fonts"
  ]
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.