Font Library: Same font faces with different file extensions are added as a separated variant. #54253
Labels
[Feature] Typography
Font and typography-related issues and PRs
[Type] Bug
An existing feature does not function as intended
What ?
Originally reported by @ironprogrammer in #53884 (comment)
Expected:
Current behavior
Currently, we compare the incoming variant with the existing one in the backend. We use a string-based approach around the entire font face data, so if something of the font face data is different (the file name in this case), it will be treated as a new variant.
gutenberg/lib/experimental/fonts/font-library/class-wp-font-family-utils.php
Lines 65 to 73 in e7b7c83
What needs to be changed
The text was updated successfully, but these errors were encountered: