Comments (3)
Hi @minnix
I installed this on my Ubuntu 20.04 LTS machine just yesterday and all seems to be working fine, the only change I had to make to get this working was to add my users fonts folder in the configuration file as it was not in there when I checked the config file at /etc/figma-linux/fonthelper
.
{
"port": "18412",
"directories": [
"/usr/share/fonts",
"/home/USERNAME/.local/share/fonts"
]
}
Then just run sudo systemctl restart fonthelper.service
Hope this helps
from figma-linux-font-helper.
Same in my end, 18.04 with same config ad @danielfeather but no local fonts in figma linux :(
from figma-linux-font-helper.
@phun-ky Some ideas that might help with troubleshooting. Try and simulate what Figma will try and do to get the list of fonts and the specific font files. The Font Helper is a HTTP service so you can simulate the HTTP requests that Figma will perform to get a list of local fonts and download the font file when requested. You can try the requests in your browser of choice and it should respond just fine.
From looking at the source code this is the endpoint that Figma will use to get a list of local fonts. So if your not seeing your local fonts in the list then I would try this endpoint and see what you get.
List fonts: http://localhost:18412/figma/font-files
Response
{
"version": 4,
"fontFiles": {
"/home/danielfeather/.local/share/fonts/NeueHaasDisplayRoman.ttf": [
{
"family": "Neue Haas Grotesk Display Pro",
"id": "Neue Haas Grotesk Display Pro",
"italic": false,
"postscript": "NeueHaasDisplay-Roman",
"stretch": 5,
"style": "55 Roman",
"weight": 400
}
],
Get specific font file: http://localhost:18412/figma/font-file?file=/home/danielfeather/.local/share/fonts/NeueHaasDisplayRoman.ttf
Response is the raw font file with a content type of application/octet-stream
I would try these endpoints and see if the fonts you seek are listed and can be read by Figma.
Hope this helps 😄
from figma-linux-font-helper.
Related Issues (20)
- Wrong systemd path on Opensuse Tumbleweed HOT 1
- Not a directory spam
- Does not work (PopOS) HOT 2
- how use this >? HOT 1
- not able to use local fonts HOT 3
- Figma cannot recognize font weights on linux
- I can't get this to work as intended HOT 1
- Question about privileges
- Disable autoupdates without disabling a service
- figma-linux-font-helper not start anymore HOT 2
- Local fonts are not being found / font URL issue HOT 1
- Failed to load local fonts HOT 6
- Doesnt load fonts HOT 14
- Wrong service file names HOT 1
- Is this still working? HOT 3
- Can't run on Debian 11 HOT 1
- figma-linux-fonthelper does not start
- How do I get rid of this script installed on my Ubuntu? HOT 3
- ${XDG_CONFIG_HOME} not valid on status systemectl HOT 15
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from figma-linux-font-helper.