[Webkit-unassigned] [Bug 261086] IBM Plex Sans Condensed is not correctly displayed in combination of ::first-letter

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Sep 3 22:14:10 PDT 2023


https://bugs.webkit.org/show_bug.cgi?id=261086

--- Comment #2 from Karl Dubost <karlcow at apple.com> ---
@media screen and (min-height: 600px) {
  .content p:nth-of-type(1):not(.book-summary)::first-letter {
    color: #bbb;
    text-shadow: 1px 1px 2px #000;
    font-family: var(--sans-serif-font);
    margin-right: 0.5rem;
  }
  @supports (initial-letter: 3) or (-webkit-initial-letter: 3) {
    .content p:nth-of-type(1):not(.booksummary)::first-letter {
      -webkit-initial-letter: 3;
      initial-letter: 3;
    }
  }



:root {
  --sans-serif-font: "IBM Plex Sans Condensed";
  --serif-font: "IBM Plex Serif";
  --blue: #1e73be;
  --light-blue: #2f84cf;
  --link-blue: #3273dc;
  --white-fg: #fff;
  --light-gray: #eee;
  --dark-gray: #aaa;
  --foreground: #000;
}


/* ibm-plex-sans-condensed-regular - latin */
@font-face {
  font-family: "IBM Plex Sans Condensed";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/ibm-plex-sans-condensed-v7-latin-regular.woff2")
    format("woff2");
}

/* ibm-plex-sans-condensed-italic - latin */
@font-face {
  font-family: "IBM Plex Sans Condensed";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/ibm-plex-sans-condensed-v7-latin-italic.woff2")
    format("woff2");
}

/* ibm-plex-sans-condensed-700 - latin-ext_latin */
@font-face {
  font-family: "IBM Plex Sans Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/ibm-plex-sans-condensed-v7-latin-ext_latin-700.woff2")
    format("woff2");
}

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230904/373b5605/attachment.htm>


More information about the webkit-unassigned mailing list