Skip to content

Commit

Permalink
resolving font-weights bug
Browse files Browse the repository at this point in the history
  • Loading branch information
navaneethsnair1 committed Dec 12, 2024
1 parent d298d3e commit 4fa16ad
Showing 1 changed file with 51 additions and 0 deletions.
51 changes: 51 additions & 0 deletions scripts/build/javadoc_modify.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,23 @@ modifyStylesheet () {
font-family: "Asap";
font-style: normal;
font-stretch: 100%;
font-weight:300;
src: url("../../../../fonts/Asap.woff2");
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
font-family: "Asap";
font-style: normal;
font-stretch: 100%;
font-weight:400;
src: url("../../../../fonts/Asap.woff2");
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
font-family: "Asap";
font-style: normal;
font-stretch: 100%;
font-weight:500;
src: url("../../../../fonts/Asap.woff2");
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}' | cat - "$1" > newstylesheet.css
Expand All @@ -24,6 +41,23 @@ modifyStylesheetFrameless () {
font-family: "Asap";
font-style: normal;
font-stretch: 100%;
font-weight:300;
src: url("../../../../fonts/Asap.woff2");
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
font-family: "Asap";
font-style: normal;
font-stretch: 100%;
font-weight:400;
src: url("../../../../fonts/Asap.woff2");
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
font-family: "Asap";
font-style: normal;
font-stretch: 100%;
font-weight:500;
src: url("../../../../fonts/Asap.woff2");
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}' | cat - "$1" > newstylesheet.css
Expand All @@ -40,6 +74,23 @@ modifyStylesheetFramelessSPIAPI () {
font-family: "Asap";
font-style: normal;
font-stretch: 100%;
font-weight:300;
src: url("../../../../../fonts/Asap.woff2");
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
font-family: "Asap";
font-style: normal;
font-stretch: 100%;
font-weight:400;
src: url("../../../../../fonts/Asap.woff2");
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
font-family: "Asap";
font-style: normal;
font-stretch: 100%;
font-weight:500;
src: url("../../../../../fonts/Asap.woff2");
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}' | cat - "$1" > newstylesheet.css
Expand Down

0 comments on commit 4fa16ad

Please sign in to comment.