W3C home > Mailing lists > Public > public-css-archive@w3.org > September 2017

Re: [csswg-drafts] [css-fonts-4] @font-face unicode-range and first available font

From: Chris Lilley via GitHub <sysbot+gh@w3.org>
Date: Thu, 21 Sep 2017 16:57:24 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-331218024-1506013032-sysbot+gh@w3.org>
Here is another example, where part of the text is displayed in the first font in the stack, but the second one is the "first available font" due to the unicode-range.

@font-face {
    font-family: swishamps;
    src: url(fonts/Rochester.woff);
    unicode-range: U+26;
@font-face {
    font-family: Arvo;
    src: url(fonts/Arvo.woff)
h1 {
	font-family: swishamps, Arvo, serif;
<h1>This & That</h1>
Arvo is the first available font here, and is used for line height calculations. Rochester is used only for the swishy ampersand.

GitHub Notification of comment by svgeesus
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1765#issuecomment-331218024 using your GitHub account
Received on Thursday, 21 September 2017 16:57:17 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:18 UTC