Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to load "Exo 2" Google font in files #940

Closed
Damillora opened this issue May 12, 2021 · 3 comments
Closed

Unable to load "Exo 2" Google font in files #940

Damillora opened this issue May 12, 2021 · 3 comments
Assignees
Labels

Comments

@Damillora
Copy link

Describe the bug
I am unable to use the "Exo 2" font from Google Fonts, when I load a project file using that font, the default font (Source Sans Pro) appears instead. When I try to change the font to it, the font will not load.

To Reproduce
Steps to reproduce the behavior:

  1. Add a Text object to a file
  2. Type some text
  3. Change the font to "Exo 2".
  4. Save, then close and reopen the file

Expected behavior
The "Exo 2" font is loaded, and the text changes font to "Exo 2"

Screenshots

Self-hosted instance:
image

SAAS instance:
https://design.penpot.app/#/view/30c970a0-b322-11eb-b9e4-c13c371b4289/30c970a1-b322-11eb-b9e4-c13c371b4289?token=9YCnYwM1lzdUvy4px8BW-Q&index=0
image

Desktop:

  • OS: reproduced on Arch Linux and Windows
  • Browser: Microsoft Edge
  • Version: 90.0.818.56

Environment:
I reproduced the issue on both my self-hosted instance and the SAAS instance

If self-hosted instance, add OS and runtime information to help explain your problem.

  • OS Version: Ubuntu 20.04

Also provide Docker commands or docker-compose file if possible and if proceed.x

  • Docker / Docker-compose Version: Docker 19.03.8, docker-compose 1.25.0
  • Image: latest
    Frontend Stack Trace

No exceptions are thrown, The only I see in the browser is:

[debug:fonts]: loading google font gfont-exo-2

Additional context
This is the font I use for a lot of my designs, so being unable to use it is a show-stopper. I might consider changing my fonts instead though.

@Damillora Damillora added the bug label May 12, 2021
@niwinz
Copy link
Contributor

niwinz commented May 12, 2021

I can confirm that exo2 does not works correctly. We will look on it, thanks for this detailed report.

@niwinz niwinz self-assigned this May 12, 2021
@Alotor
Copy link
Member

Alotor commented May 13, 2021

We've reported the bug to React

facebook/react#21497

@niwinz
Copy link
Contributor

niwinz commented May 19, 2021

Will be fixed in the next release.

@niwinz niwinz closed this as completed May 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants