Closed pedrobslisboa closed 2 months ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
@davesnx I'm not so happy with
`wildcard ("12", "??")
. Do you have a better idea?
what about `wildcard ("12")
and render ?? directly?
@davesnx I'm not so happy with
`wildcard ("12", "??")
. Do you have a better idea?what about
`wildcard ("12")
and render ?? directly?
I wonder if U+4? matches: U+40, U+400, U+4000, U+4000... . If don't, adding ??
dynamically may not be possible.
U+4??
means include all characters in the range U+400
to U+4FF
.
https://drafts.csswg.org/css-fonts/#unicode-range-desc
Your design is probably right:
Wildcard ranges specified with ‘?’ that lack an initial digit (e.g. "U+???") are valid and equivalent to a wildcard range with an initial zero digit (e.g. "U+0???" = "U+0000-0FFF"). Wildcard ranges that extend beyond the range of Unicode codepoints are invalid. Because of this, the maximum number of trailing '?' wildcard characters is five, even though the [UNICODE-RANGE](https://www.w3.org/TR/CSS21/syndata.html#tokenization) token accepts six.
Description
It was missing the unicode-range property on fontFace. This PR adds it. It also ran the
make format
The
unicode-range
works under this type:@davesnx I'm not so happy with
`wildcard ("12", "??")
. Do you have a better idea?