Skip to content

Fix getPrimaryFontFamily for CSS font-family strings containg quotes.#118

Open
graphicore wants to merge 1 commit intoTypeNetwork:masterfrom
graphicore:fix-justification-firefox
Open

Fix getPrimaryFontFamily for CSS font-family strings containg quotes.#118
graphicore wants to merge 1 commit intoTypeNetwork:masterfrom
graphicore:fix-justification-firefox

Conversation

@graphicore
Copy link
Copy Markdown

In Firefox the Justifaction Example Width + Wordspace + Letterspace is currently broken. It does the same as Wordspace + Letterspace. This is the fix for the root cause, see the commit and commit message for details.

Note: this is an issue with Firefox, where the font family names comes
with quotes, and the currently online version:

var fontfamily = '"AmstelvarAlpha-VF"';

// before:
getPrimaryFontFamily(fontfamily);
// >>> AmstelvarAlpha-VF"

// after:
getPrimaryFontFamily(fontfamily);
// >>> AmstelvarAlpha-VF
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.

1 participant