Skip to main content
Thomas_Aull
January 11, 2024
Question

Requests to font-helper on linux stopped working

  • January 11, 2024
  • 30 replies
  • 9828 views

I’m running Figma on linux in the browser with figma-linux-font-helper to enable usage of local fonts — this helper is basically a drop-in replacement for the official Figma font helper with the difference that it also works on linux.

Well, it did until today, when I noticed that my local fonts are not available anymore. When Investigating the issue I found that requests to localhost or 127.0.0.1 (with the purpose of communicating with the font helper) were no longer showing up in the network panel of the browser dev tools. Two days ago, everything was working fine and I didn’t change anything on my system since then. I asked around and for other people it’s basically the same story.

After further experiments I discovered that Figma still send the requests, when I overwrite my User agent to:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36

My suspicion now is that the app is sniffing the user agent and is not sending the requests to localhost, when it detects that it’s running on linux.

I can’t think of a good explaination how this could be a bug and I’m afraid this is intentional. If that’s the case: WTF?

    This topic has been closed for replies.

    30 replies

    Lorem-Possum
    Active Member
    February 2, 2024

    Thanks.
    I added this useragent via User Agent Switcher and Manager
    and changed port to 44950 and it works again.

    But not as good as before.
    Fonts are found but not automatically applied:

    And cyrillic symbols are not displayed

    Thomas_Aull
    February 10, 2024

    Nope, for me it’s still the same…

    February 13, 2024

    I removed all my comments.

    Apparently Figma already had some fonts I installed locally…

    I’m really sorry.

    It still isn’t working, the bug still remains.

    Thomas_Aull
    February 13, 2024

    Don’t worry about it 😉 It has happened to me before

    Lorem-Possum
    Active Member
    February 14, 2024

    I found figma-agent-linux and it fixed my case.

    Mr_Binary_Sniper
    February 14, 2024

    Once opensource Community like penpot become mature… everbody will fu**ck Figma. No support for linux.

    March 18, 2024

    Sharing what worked for me. There are a few of different linux agents and here is the only one setup that works for me:

    1. Download chrome
    2. Install GitHub - neetly/figma-agent-linux: Figma Agent for Linux (a.k.a. Font Helper)
    3. Reboot
    4. Open the terminal and paste:
    USER_AGENT="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.3"
    google-chrome-stable --user-agent="${USER_AGENT}" https://www.figma.com/files/recent
    

    Brave or Firefox won’t load fonts.

    Yaser
    May 11, 2024

    Thanks to Figma, it is not working on Linux anymore … So please fix this or I have to switch to Lunacy (wasting time but Figma without fonts sucks)

    May 21, 2024

    changing user agent isn’t working anymore 😦

    Thomas_Aull
    May 21, 2024

    It’s still working for me, are you sure the font-server is working correctly?