Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fracs
Browse files Browse the repository at this point in the history
Porges committed Jun 29, 2024
1 parent 1ec9946 commit 2490d08
Showing 6 changed files with 8 additions and 4 deletions.
8 changes: 4 additions & 4 deletions fonts/charis.css
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@
src: local('Charis SIL'), url('/fonts/charis/CharisSIL-Latin-Bold.woff2') format('woff2');
font-display: block;
font-weight: bold;
unicode-range: U+0000-007f,U+2000-206f,U+0080-00ff;
unicode-range: U+0000-007f,U+2000-206f,U+0080-00ff,U+2150-215e;
}
/* Latin (BasicLatin, GeneralPunctuation, Latin1Supplement) */
@font-face {
@@ -14,22 +14,22 @@
font-display: block;
font-style: italic;
font-weight: bold;
unicode-range: U+0000-007f,U+2000-206f,U+0080-00ff;
unicode-range: U+0000-007f,U+2000-206f,U+0080-00ff,U+2150-215e;
}
/* Latin (BasicLatin, GeneralPunctuation, Latin1Supplement) */
@font-face {
font-family: 'Charis SIL';
src: local('Charis SIL'), url('/fonts/charis/CharisSIL-Latin-Italic.woff2') format('woff2');
font-display: block;
font-style: italic;
unicode-range: U+0000-007f,U+2000-206f,U+0080-00ff;
unicode-range: U+0000-007f,U+2000-206f,U+0080-00ff,U+2150-215e;
}
/* Latin (BasicLatin, GeneralPunctuation, Latin1Supplement) */
@font-face {
font-family: 'Charis SIL';
src: local('Charis SIL'), url('/fonts/charis/CharisSIL-Latin-Regular.woff2') format('woff2');
font-display: block;
unicode-range: U+0000-007f,U+2000-206f,U+0080-00ff;
unicode-range: U+0000-007f,U+2000-206f,U+0080-00ff,U+2150-215e;
}
/* LatinExt (LatinExtendedA, CombiningDiacriticalMarks) */
@font-face {
Binary file modified fonts/charis/CharisSIL-Latin-Bold.woff2
Binary file not shown.
Binary file modified fonts/charis/CharisSIL-Latin-BoldItalic.woff2
Binary file not shown.
Binary file modified fonts/charis/CharisSIL-Latin-Italic.woff2
Binary file not shown.
Binary file modified fonts/charis/CharisSIL-Latin-Regular.woff2
Binary file not shown.
4 changes: 4 additions & 0 deletions subset-fonts.ps1
Original file line number Diff line number Diff line change
@@ -11,6 +11,7 @@ $subsets = [ordered]@{
"Latin" = @{
"Features" = "c2sc,smcp,subs,sups"
"Display" = "block"
"Additional" = "U+2150-215e"
"Blocks" = @("BasicLatin", "GeneralPunctuation", "Latin1Supplement")
}
# Don't need smcp/c2sc for these
@@ -52,6 +53,9 @@ foreach ($subset in $subsets.GetEnumerator()) {
$name = $subset.Key
echo "$name - $($subset.Value.Blocks)"
$whitelist = ($subset.Value.Blocks | %{ whitelistFromBlock($_) }) -join ','
if ($subset.Value.ContainsKey('Additional')) {
$whitelist += ",$($subset.Value.Additional)"
}

$features = @()
if ($subset.Value.ContainsKey('Features')) {

0 comments on commit 2490d08

Please sign in to comment.