Closed michaeltaranto closed 2 months ago
Latest commit: 276594377f5cb1457e533817d4a2bef2c439d32b
The changes in this PR will be included in the next version bump.
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
The
@font-face
declaration aliases generated bycreateFontStack
now favourpostscriptName
andfullName
overfamilyName
from the provided metrics when selecting a local font face as a fallback.MDN recommends using either
fullName
andpostscriptName
when accessing local fonts to ensure the best matching across platforms, while also enabling selection of a single font face within a larger family, e.g.Arial Bold
orArial-BoldMT
withinArial
. For details see MDN.