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

Run prettier / eslint on the font data files, to improve consistency and editability of the files. #1212

Merged
merged 1 commit into from
Nov 3, 2021

Conversation

ronyeh
Copy link
Collaborator

@ronyeh ronyeh commented Nov 3, 2021

This was extracted from my Fonts PR.

Most of the changes are just changes in the style of quotes, and adding commas. This way, we can edit these files in the future without introducing a huge diff.

Also in this PR

Roboto Slab and PetalumaScript font data files are temporarily duplicated. The files named xxx_textmetrics.ts will be dropped in an upcoming PR, while the almost identical files named xxx_glyphs.ts will be kept. We are effectively renaming the files in two steps, to avoid modifying any other source files in this PR. The files are named xxx_glyphs.ts to mirror the naming scheme of bravura_glyphs.ts, petaluma_glyphs.ts, etc, since their file structure is the same (other than the fact that they are missing the actual glyph outlines).

editability of the files.

Roboto Slab and PetalumaScript are temporarily duplicated. The files
named xxx_textmetrics.ts will be dropped in an upcoming PR. We are
effectively renaming the files in two steps.
@ronyeh ronyeh mentioned this pull request Nov 3, 2021
@0xfe
Copy link
Owner

0xfe commented Nov 3, 2021

LGTM

@0xfe 0xfe merged commit 5113a69 into 0xfe:master Nov 3, 2021
@ronyeh ronyeh deleted the font/glyphs-and-metrics-files branch January 18, 2022 22:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants