fix(chore): font negative line gap to avoid firefox warning #51
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
fixes fomantic#2478
How the PR was made:
data URIs were saved into files:
open with FontForge editor
![image](https://user-images.githubusercontent.com/2228672/193547435-9ae44736-c4e0-400f-a5f3-b010c27ddfe2.png)
note
Step
file (only this one file) has shownon open - no action taken
show only available glyphs Encoding menu -> Compact (hide unused glyphs)
change Element menu -> Font Info -> OS/2 -> Metrics tab -> Typo Line Gap from
-32
to0
, according to https://www.high-logic.com/fontcreator/manual11/properties-metrics.html it is MacOS specific setting andsave it File menu -> Generate Fonts... -> save as WOFF
![image](https://user-images.githubusercontent.com/2228672/193558938-e32d40d3-1f90-48b3-97b2-f6a71429845e.png)
when exporting
Step
font, the following shownI changed the size from 1000 to 1024
convert back to data URI with https://base64.guru/converter/encode/file and commit