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

Font corruption for Google's WorkSans-Black #3090

Open
andydotxyz opened this issue Jun 22, 2022 · 5 comments
Open

Font corruption for Google's WorkSans-Black #3090

andydotxyz opened this issue Jun 22, 2022 · 5 comments
Labels
bug Something isn't working

Comments

@andydotxyz
Copy link
Member

Describe the bug:

When using the WorkSans-Black font certain cross-elements are corripted.
The font shows gaps instead of a solid character, as per images below

To Reproduce:

Steps to reproduce the behaviour:

  1. Go to google fonts and download WorkSans-Black.ttf
  2. export FYNE_FONT to the file name
  3. render any label with "t" or "H"
  4. See error

Screenshots:

Screenshot 2022-06-22 at 14 40 03

Screenshot 2022-06-22 at 14 40 07

Example code:

Device (please complete the following information):

  • OS: macOS, Windows, Linux
  • Version: all
  • Go version: 1.17, 1.18
  • Fyne version: 2.1x 2.2x
@andydotxyz andydotxyz added the unverified A bug that has been reported but not verified label Jun 22, 2022
@andydotxyz
Copy link
Member Author

Same issue with Hello app in main repo using that font file:

Screenshot 2022-06-22 at 14 45 26

@andydotxyz andydotxyz added bug Something isn't working and removed unverified A bug that has been reported but not verified labels Jun 24, 2022
@andydotxyz
Copy link
Member Author

An interesting note here is that it only happens with the font downloaded from google fonts - getting it from a different location and the issue goes away?...

@andydotxyz
Copy link
Member Author

Opened upstream issue golang/freetype#90

@Jacalz
Copy link
Member

Jacalz commented Jun 27, 2022

Opened upstream issue golang/freetype#90

Isn’t it https://github.com/goki/freetype that we are using? Both repos seem to be rather dead unfortunately.

@andydotxyz
Copy link
Member Author

goki is forked from here where the initial problem existed. We could open it on both I guess...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants