Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/Figma-Linux/figma-linux-font-helper

Font Helper for Figma for Linux x64 platform
https://github.com/Figma-Linux/figma-linux-font-helper

figma fonts helper linux rust

Last synced: 3 months ago
JSON representation

Font Helper for Figma for Linux x64 platform

Awesome Lists containing this project

README

        

# 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

```bash
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`
```bash
nano ~/.config/figma-linux/settings.json
```

After that You need to restart Font Helper service to apply the changes:
```bash
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:
```bash
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:
```bash
systemctl --user stop figma-fonthelper-updater.service
systemctl --user disable ffigma-onthelper-updater.service
```


To enable auto update again:
```bash
systemctl --user start figma-fonthelper-updater.service
systemctl --user enable figma-fonthelper-updater.service
```

## Check your currently installed Font Helper version

In terminal:
```bash
~/.local/share/figma-fonthelper/fonthelper -v
```