googlefonts / googlefonts/glyphsLib

Glyphs mini files don't take in account font style

Open
#479 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
201
Forks
56
Avg merge
17m
Merged PRs (30d)
1

Description

## Expected outcome
Glyphs (mini) files with different style names have their style information saved in the UFO.

(this information in the font info panel)
![image](https://user-images.githubusercontent.com/737603/50479504-3c8cf480-09d7-11e9-95e5-251edf28a733.png)
![image](https://user-images.githubusercontent.com/737603/50479495-34cd5000-09d7-11e9-9bf5-3b73cb390511.png)

## Actual outcome
The two files convert to the exact same UFO, causing the style information in them to get lost.
Furthermore, when converting the generated ufo back to Glyphs, the font style info gets removed, and the controls are disabled in Glyphs mini.

![image](https://user-images.githubusercontent.com/737603/50479385-9e009380-09d6-11e9-97b5-d443bb13f788.png)
(diff of glyphs -> ufo -> glyphs)

## Attachments

[sans-bold.zip](https://github.com/googlei18n/glyphsLib/files/2712343/sans-bold.zip)
[sans-light.zip](https://github.com/googlei18n/glyphsLib/files/2712344/sans-light.zip)

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue with the attached sans-bold.zip and sans-light.zip files, then trace the .glyphs-to-UFO and UFO-to-Glyphs conversion paths. Done means the differing font style information is preserved in the UFO and remains available after converting back to Glyphs.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.