![]() ![]() I can’t think of a good explaination how this could be a bug and I’m afraid this is intentional. 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 asked around and for other people it’s basically the same story.Īfter further experiments I discovered that Figma still send the requests, when I overwrite my User agent to: Search or select a font from the list, or click All fonts to select a filter. Click the font name to open up the font picker. ![]() The current font is displayed at the top of the Text section. Two days ago, everything was working fine and I didn’t change anything on my system since then. Browse and apply fonts from the Text section in the right sidebar: Select a text layer, or some text within the layer, in order to adjust its properties. 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. If you’ve recently installed the Font Helper or a new font, you won’t see those changes in Figma immediately. Well, it did until today, when I noticed that my local fonts are not available anymore. TypeError: send_file() got an unexpected keyword argument 'attachment_filename'ġ27.0.0.1 - "GET /figma/font-file?file=/home/user/.fonts/SF_Pro_Display_Bold.otf&freetype_minimum_api_version=20 HTTP/1.1" 500 -ġ27.0.0.1 - "GET /figma/font-file?file=/home/user/FontBase/Providers/Google/Quicksand-Bold.ttf&freetype_minimum_api_version=20 HTTP/1.1" 500 -ġ27.0.0.1 - "GET /figma/font-file?file=/home/user/.fonts/FiraSans-Black.ttf&freetype_minimum_api_version=20 HTTP/1.1" 500 -ġ27.0.0.1 - "GET /figma/font-file?file=/home/user/.fonts/FiraSans-Medium.ttf&freetype_minimum_api_version=20 HTTP/1.1" 500 -ġ27.0.0.1 - "GET /figma/font-file?file=/home/user/FontBase/Providers/Google/NotoSansSC-Regular.otf&freetype_minimum_api_version=20 HTTP/1.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. Return self.ensure_sync(self.view_functions)(**view_args)įile "/home/user/figma-linux-font-helper/server.py", line 68, in font_file Now, if youre using Figma on a desktop you dont have to worry about this, this. ![]() Return cors_after_request(app.make_response(f(*args, **kwargs)))įile "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_requestįile "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request If you want to use fonts you have in your machine, what you want to do is, you want to install Figmas Font Helper. ERROR in app: Exception on /figma/font-file įile "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_appįile "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_requestįile "/usr/lib/python3/dist-packages/flask_cors/extension.py", line 165, in wrapped_function 127.0.0.1 - "GET /figma/font-file?file=/home/user/FontBase/Providers/Google/RobotoCondensed-Regular.ttf&freetype_minimum_api_version=20 HTTP/1.1" 500 -ġ27.0.0.1 - "OPTIONS /figma/font-file?file=/home/user/.fonts/SF_Pro_Display_Bold.otf&freetype_minimum_api_version=20 HTTP/1.1" 200 -ġ27.0.0.1 - "OPTIONS /figma/font-file?file=/home/user/FontBase/Providers/Google/Quicksand-Bold.ttf&freetype_minimum_api_version=20 HTTP/1.1" 200 -ġ27.0.0.1 - "OPTIONS /figma/font-file?file=/home/user/.fonts/FiraSans-Black.ttf&freetype_minimum_api_version=20 HTTP/1.1" 200 -ġ27.0.0.1 - "OPTIONS /figma/font-file?file=/home/user/.fonts/FiraSans-Medium.ttf&freetype_minimum_api_version=20 HTTP/1.1" 200 -ġ27.0.0.1 - "OPTIONS /figma/font-file?file=/home/user/FontBase/Providers/Google/NotoSansSC-Regular.otf&freetype_minimum_api_version=20 HTTP/1.1" 200. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |