Remove woff files

Bug: T318167
Change-Id: I54181a8ba084f0f1336dbe95389f046c9a987f2a
This commit is contained in:
Niklas Laxström
2024-05-04 14:32:03 +03:00
parent 17f182bb6a
commit 3367b51bbe
95 changed files with 6 additions and 101 deletions

Binary file not shown.

Binary file not shown.

View File

@@ -43,8 +43,5 @@ font compilation script can pick it up.
Preparing font formats Preparing font formats
----------------------- -----------------------
1. From the upstream releases, take the TTF versions. Use https://github.com/google/woff2 to generate woff2 files from ttf if needed
2. Use sfnt2woff to generate woff files
$ ls *.ttf | xargs -n1 ../../../../node_modules/sfnt2woff/cli.js
3. Use https://github.com/google/woff2 to generate woff2 files
$ ls *.ttf | xargs -n1 /path/to/woff2/woff2_compress $ ls *.ttf | xargs -n1 /path/to/woff2/woff2_compress

Binary file not shown.

View File

@@ -127,15 +127,15 @@ class FontRepoCompiler {
$info['fontstyle'] = $font['fontstyle']; $info['fontstyle'] = $font['fontstyle'];
} }
foreach ( [ 'woff', 'woff2' ] as $format ) { foreach ( [ 'woff2' ] as $format ) {
if ( isset( $font[$format] ) ) { if ( isset( $font[$format] ) ) {
$info[$format] = OutputPage::transformFilePath( $fontdir, $fontpath, $font[$format] ); $info[$format] = OutputPage::transformFilePath( $fontdir, $fontpath, $font[$format] );
} }
} }
// If font formats are not explicitly defined, scan the directory. // If font formats are not explicitly defined, scan the directory.
if ( !isset( $info['woff'] ) ) { if ( !isset( $info['woff2'] ) ) {
foreach ( glob( "$fontpath/*.{woff,woff2}", GLOB_BRACE ) as $fontfile ) { foreach ( glob( "$fontpath/*.woff2", GLOB_BRACE ) as $fontfile ) {
$type = substr( $fontfile, strrpos( $fontfile, '.' ) + 1 ); $type = substr( $fontfile, strrpos( $fontfile, '.' ) + 1 );
$info[$type] = OutputPage::transformFilePath( $fontdir, $fontpath, basename( $fontfile ) ); $info[$type] = OutputPage::transformFilePath( $fontdir, $fontpath, basename( $fontfile ) );
} }

View File

@@ -446,15 +446,12 @@
}, },
"fonts": { "fonts": {
"AbyssinicaSIL": { "AbyssinicaSIL": {
"woff": "AbyssinicaSIL/AbyssinicaSIL-R.woff?10e4b",
"woff2": "AbyssinicaSIL/AbyssinicaSIL-R.woff2?2942e" "woff2": "AbyssinicaSIL/AbyssinicaSIL-R.woff2?2942e"
}, },
"Akkadian": { "Akkadian": {
"woff": "Akkadian/Akkadian.woff?fc09d",
"woff2": "Akkadian/Akkadian.woff2?1e0a3" "woff2": "Akkadian/Akkadian.woff2?1e0a3"
}, },
"Alef": { "Alef": {
"woff": "Alef/Alef-Regular.woff?2b430",
"woff2": "Alef/Alef-Regular.woff2?a2499", "woff2": "Alef/Alef-Regular.woff2?a2499",
"variants": { "variants": {
"bold": "Alef Bold" "bold": "Alef Bold"
@@ -462,11 +459,9 @@
}, },
"Alef Bold": { "Alef Bold": {
"fontweight": "bold", "fontweight": "bold",
"woff": "Alef/Alef-Bold.woff?bd85f",
"woff2": "Alef/Alef-Bold.woff2?7c873" "woff2": "Alef/Alef-Bold.woff2?7c873"
}, },
"Amiri": { "Amiri": {
"woff": "amiri/Amiri-Regular.woff?3d608",
"woff2": "amiri/Amiri-Regular.woff2?62666", "woff2": "amiri/Amiri-Regular.woff2?62666",
"variants": { "variants": {
"bold": "Amiri Bold", "bold": "Amiri Bold",
@@ -476,26 +471,21 @@
}, },
"Amiri Bold": { "Amiri Bold": {
"fontweight": "bold", "fontweight": "bold",
"woff": "amiri/Amiri-Bold.woff?00982",
"woff2": "amiri/Amiri-Bold.woff2?ffea9" "woff2": "amiri/Amiri-Bold.woff2?ffea9"
}, },
"Amiri Bold Italic": { "Amiri Bold Italic": {
"fontweight": "bold", "fontweight": "bold",
"fontstyle": "italic", "fontstyle": "italic",
"woff": "amiri/Amiri-BoldItalic.woff?52cb9",
"woff2": "amiri/Amiri-BoldItalic.woff2?c947c" "woff2": "amiri/Amiri-BoldItalic.woff2?c947c"
}, },
"Amiri Italic": { "Amiri Italic": {
"fontstyle": "italic", "fontstyle": "italic",
"woff": "amiri/Amiri-Italic.woff?dd356",
"woff2": "amiri/Amiri-Italic.woff2?2803c" "woff2": "amiri/Amiri-Italic.woff2?2803c"
}, },
"Artaxerxes": { "Artaxerxes": {
"woff": "Artaxerxes/Artaxerxes.woff?c1ed7",
"woff2": "Artaxerxes/Artaxerxes.woff2?7a96e" "woff2": "Artaxerxes/Artaxerxes.woff2?7a96e"
}, },
"AwamiNastaliq": { "AwamiNastaliq": {
"woff": "AwamiNastaliq/AwamiNastaliq-Regular.woff?f83de",
"woff2": "AwamiNastaliq/AwamiNastaliq-Regular.woff2?1a7ce", "woff2": "AwamiNastaliq/AwamiNastaliq-Regular.woff2?1a7ce",
"variants": { "variants": {
"bold": "AwamiNastaliq Bold" "bold": "AwamiNastaliq Bold"
@@ -503,22 +493,18 @@
}, },
"AwamiNastaliq Bold": { "AwamiNastaliq Bold": {
"fontweight": "bold", "fontweight": "bold",
"woff": "AwamiNastaliq/AwamiNastaliq-Bold.woff?c480f",
"woff2": "AwamiNastaliq/AwamiNastaliq-Bold.woff2?2a4eb" "woff2": "AwamiNastaliq/AwamiNastaliq-Bold.woff2?2a4eb"
}, },
"BabelStoneTibetanSlim": { "BabelStoneTibetanSlim": {
"woff": "BabelStoneTibetanSlim/BabelStoneTibetanSlim.woff?c48ba",
"woff2": "BabelStoneTibetanSlim/BabelStoneTibetanSlim.woff2?46398" "woff2": "BabelStoneTibetanSlim/BabelStoneTibetanSlim.woff2?46398"
}, },
"Boyo Gagrai": { "Boyo Gagrai": {
"woff2": "BoyoGagrai/BoyoGagrai.woff2?d1060" "woff2": "BoyoGagrai/BoyoGagrai.woff2?d1060"
}, },
"CharisSIL": { "CharisSIL": {
"woff": "CharisSIL/CharisSIL-R.woff?3a622",
"woff2": "CharisSIL/CharisSIL-R.woff2?b2a18" "woff2": "CharisSIL/CharisSIL-R.woff2?b2a18"
}, },
"ComicNeue": { "ComicNeue": {
"woff": "ComicNeue/ComicNeue-Regular.woff?ff5e6",
"woff2": "ComicNeue/ComicNeue-Regular.woff2?44c5e", "woff2": "ComicNeue/ComicNeue-Regular.woff2?44c5e",
"variants": { "variants": {
"bold": "ComicNeue Bold", "bold": "ComicNeue Bold",
@@ -527,32 +513,25 @@
}, },
"ComicNeue Bold": { "ComicNeue Bold": {
"fontweight": "bold", "fontweight": "bold",
"woff": "ComicNeue/ComicNeue-Bold.woff?cc2d9",
"woff2": "ComicNeue/ComicNeue-Bold.woff2?c1376" "woff2": "ComicNeue/ComicNeue-Bold.woff2?c1376"
}, },
"ComicNeue Oblique": { "ComicNeue Oblique": {
"fontstyle": "italic", "fontstyle": "italic",
"woff": "ComicNeue/ComicNeue-Regular-Oblique.woff?45c14",
"woff2": "ComicNeue/ComicNeue-Regular-Oblique.woff2?4ddaf" "woff2": "ComicNeue/ComicNeue-Regular-Oblique.woff2?4ddaf"
}, },
"Doulos SIL": { "Doulos SIL": {
"woff": "DoulosSIL/DoulosSIL-R.woff?f76f6",
"woff2": "DoulosSIL/DoulosSIL-R.woff2?61737" "woff2": "DoulosSIL/DoulosSIL-R.woff2?61737"
}, },
"East Syriac Adiabene": { "East Syriac Adiabene": {
"woff": "EastSyriacAdiabene/SyrCOMAdiabene.woff?cfbf0",
"woff2": "EastSyriacAdiabene/SyrCOMAdiabene.woff2?9ff2e" "woff2": "EastSyriacAdiabene/SyrCOMAdiabene.woff2?9ff2e"
}, },
"Estrangelo Edessa": { "Estrangelo Edessa": {
"woff": "EstrangeloEdessa/SyrCOMEdessa.woff?c4484",
"woff2": "EstrangeloEdessa/SyrCOMEdessa.woff2?3e525" "woff2": "EstrangeloEdessa/SyrCOMEdessa.woff2?3e525"
}, },
"Fedorovsk": { "Fedorovsk": {
"woff": "Fedorovsk/FedorovskUnicode.woff?1659d",
"woff2": "Fedorovsk/FedorovskUnicode.woff2?245e3" "woff2": "Fedorovsk/FedorovskUnicode.woff2?245e3"
}, },
"FreeFont-Thaana": { "FreeFont-Thaana": {
"woff": "FreeFontThana/FreeFont-Thaana.woff?0f06e",
"woff2": "FreeFontThana/FreeFont-Thaana.woff2?ad021", "woff2": "FreeFontThana/FreeFont-Thaana.woff2?ad021",
"variants": { "variants": {
"bold": "FreeFont-Thaana Bold" "bold": "FreeFont-Thaana Bold"
@@ -560,11 +539,9 @@
}, },
"FreeFont-Thaana Bold": { "FreeFont-Thaana Bold": {
"fontweight": "bold", "fontweight": "bold",
"woff": "FreeFontThana/FreeFont-Thaana-Bold.woff?5eb85",
"woff2": "FreeFontThana/FreeFont-Thaana-Bold.woff2?eaf55" "woff2": "FreeFontThana/FreeFont-Thaana-Bold.woff2?eaf55"
}, },
"GentiumPlus": { "GentiumPlus": {
"woff": "GentiumPlus/GentiumPlus-Regular.woff?7a020",
"woff2": "GentiumPlus/GentiumPlus-Regular.woff2?b04c9", "woff2": "GentiumPlus/GentiumPlus-Regular.woff2?b04c9",
"variants": { "variants": {
"bold": "GentiumPlus Bold", "bold": "GentiumPlus Bold",
@@ -574,26 +551,21 @@
}, },
"GentiumPlus Bold": { "GentiumPlus Bold": {
"fontweight": "bold", "fontweight": "bold",
"woff": "GentiumPlus/GentiumPlus-Bold.woff?2d222",
"woff2": "GentiumPlus/GentiumPlus-Bold.woff2?264f1" "woff2": "GentiumPlus/GentiumPlus-Bold.woff2?264f1"
}, },
"GentiumPlus Bold Italic": { "GentiumPlus Bold Italic": {
"fontweight": "bold", "fontweight": "bold",
"fontstyle": "italic", "fontstyle": "italic",
"woff": "GentiumPlus/GentiumPlus-BoldItalic.woff?e8674",
"woff2": "GentiumPlus/GentiumPlus-BoldItalic.woff2?191d0" "woff2": "GentiumPlus/GentiumPlus-BoldItalic.woff2?191d0"
}, },
"GentiumPlus Italic": { "GentiumPlus Italic": {
"fontstyle": "italic", "fontstyle": "italic",
"woff": "GentiumPlus/GentiumPlus-Italic.woff?14b0e",
"woff2": "GentiumPlus/GentiumPlus-Italic.woff2?8cd7c" "woff2": "GentiumPlus/GentiumPlus-Italic.woff2?8cd7c"
}, },
"GochiHand": { "GochiHand": {
"woff": "GochiHand/GochiHand-Regular.woff?310cc",
"woff2": "GochiHand/GochiHand-Regular.woff2?b6160" "woff2": "GochiHand/GochiHand-Regular.woff2?b6160"
}, },
"Hanuman": { "Hanuman": {
"woff": "Hanuman/Hanuman.woff?d5078",
"woff2": "Hanuman/Hanuman.woff2?0107a", "woff2": "Hanuman/Hanuman.woff2?0107a",
"variants": { "variants": {
"bold": "Hanuman Bold" "bold": "Hanuman Bold"
@@ -601,15 +573,12 @@
}, },
"Hanuman Bold": { "Hanuman Bold": {
"fontweight": "bold", "fontweight": "bold",
"woff": "Hanuman/Hanumanb.woff?27aeb",
"woff2": "Hanuman/Hanumanb.woff2?1b52d" "woff2": "Hanuman/Hanumanb.woff2?1b52d"
}, },
"Hussaini Nastaleeq": { "Hussaini Nastaleeq": {
"woff": "HussainiNastaleeq/hussaini-nastaleeq.woff?3fb01",
"woff2": "HussainiNastaleeq/hussaini-nastaleeq.woff2?a4024" "woff2": "HussainiNastaleeq/hussaini-nastaleeq.woff2?a4024"
}, },
"Iranian Sans": { "Iranian Sans": {
"woff": "IranianSans/irsans.woff?ec963",
"woff2": "IranianSans/irsans.woff2?17429", "woff2": "IranianSans/irsans.woff2?17429",
"variants": { "variants": {
"bold": "Iranian Sans Bold" "bold": "Iranian Sans Bold"
@@ -617,15 +586,12 @@
}, },
"Iranian Sans Bold": { "Iranian Sans Bold": {
"fontweight": "bold", "fontweight": "bold",
"woff": "IranianSans/irsansb.woff?cf164",
"woff2": "IranianSans/irsansb.woff2?d24da" "woff2": "IranianSans/irsansb.woff2?d24da"
}, },
"Iranian Serif": { "Iranian Serif": {
"woff": "IranianSerif/irseri.woff?d153b",
"woff2": "IranianSerif/irseri.woff2?2e4dd" "woff2": "IranianSerif/irseri.woff2?2e4dd"
}, },
"Junicode": { "Junicode": {
"woff": "Junicode/Junicode.woff?c3176",
"woff2": "Junicode/Junicode.woff2?a4f38", "woff2": "Junicode/Junicode.woff2?a4f38",
"variants": { "variants": {
"bold": "Junicode Bold", "bold": "Junicode Bold",
@@ -635,38 +601,30 @@
}, },
"Junicode Bold": { "Junicode Bold": {
"fontweight": "bold", "fontweight": "bold",
"woff": "Junicode/Junicode-Bold.woff?f0b3b",
"woff2": "Junicode/Junicode-Bold.woff2?406ad" "woff2": "Junicode/Junicode-Bold.woff2?406ad"
}, },
"Junicode Bold Italic": { "Junicode Bold Italic": {
"fontweight": "bold", "fontweight": "bold",
"fontstyle": "italic", "fontstyle": "italic",
"woff": "Junicode/Junicode-BoldItalic.woff?e1548",
"woff2": "Junicode/Junicode-BoldItalic.woff2?7f6ef" "woff2": "Junicode/Junicode-BoldItalic.woff2?7f6ef"
}, },
"Junicode Italic": { "Junicode Italic": {
"fontstyle": "italic", "fontstyle": "italic",
"woff": "Junicode/Junicode-Italic.woff?999ec",
"woff2": "Junicode/Junicode-Italic.woff2?c48b7" "woff2": "Junicode/Junicode-Italic.woff2?c48b7"
}, },
"Kadiri": { "Kadiri": {
"woff": "Kadiri/Kadiri.woff?98297",
"woff2": "Kadiri/Kadiri.woff2?0cfa1" "woff2": "Kadiri/Kadiri.woff2?0cfa1"
}, },
"KhmerOS": { "KhmerOS": {
"woff": "KhmerOS/KhmerOS.woff?2ef9e",
"woff2": "KhmerOS/KhmerOS.woff2?34973" "woff2": "KhmerOS/KhmerOS.woff2?34973"
}, },
"KhmerOSbattambang": { "KhmerOSbattambang": {
"woff": "KhmerOSbattambang/KhmerOSbattambang.woff?69379",
"woff2": "KhmerOSbattambang/KhmerOSbattambang.woff2?da936" "woff2": "KhmerOSbattambang/KhmerOSbattambang.woff2?da936"
}, },
"Lateef": { "Lateef": {
"woff": "Lateef/LateefRegOT.woff?05c72",
"woff2": "Lateef/LateefRegOT.woff2?3ce56" "woff2": "Lateef/LateefRegOT.woff2?3ce56"
}, },
"Linux Libertine": { "Linux Libertine": {
"woff": "LinuxLibertine/LinLibertine_Rah.woff?c0828",
"woff2": "LinuxLibertine/LinLibertine_Rah.woff2?4d59a", "woff2": "LinuxLibertine/LinLibertine_Rah.woff2?4d59a",
"variants": { "variants": {
"bold": "Linux Libertine Bold", "bold": "Linux Libertine Bold",
@@ -676,42 +634,33 @@
}, },
"Linux Libertine Bold": { "Linux Libertine Bold": {
"fontweight": "bold", "fontweight": "bold",
"woff": "LinuxLibertine/LinLibertine_RBah.woff?50e30",
"woff2": "LinuxLibertine/LinLibertine_RBah.woff2?fbcf2" "woff2": "LinuxLibertine/LinLibertine_RBah.woff2?fbcf2"
}, },
"Linux Libertine Bold Italic": { "Linux Libertine Bold Italic": {
"fontweight": "bold", "fontweight": "bold",
"fontstyle": "italic", "fontstyle": "italic",
"woff": "LinuxLibertine/LinLibertine_RBIah.woff?8a853",
"woff2": "LinuxLibertine/LinLibertine_RBIah.woff2?e02db" "woff2": "LinuxLibertine/LinLibertine_RBIah.woff2?e02db"
}, },
"Linux Libertine Italic": { "Linux Libertine Italic": {
"fontstyle": "italic", "fontstyle": "italic",
"woff": "LinuxLibertine/LinLibertine_RIah.woff?1c058",
"woff2": "LinuxLibertine/LinLibertine_RIah.woff2?4e887" "woff2": "LinuxLibertine/LinLibertine_RIah.woff2?4e887"
}, },
"Menaion": { "Menaion": {
"woff": "Menaion/MenaionUnicode.woff?50cc6",
"woff2": "Menaion/MenaionUnicode.woff2?da37b" "woff2": "Menaion/MenaionUnicode.woff2?da37b"
}, },
"Miriam CLM": { "Miriam CLM": {
"woff": "MiriamCLM/MiriamCLM-Book.woff?28216",
"woff2": "MiriamCLM/MiriamCLM-Book.woff2?f3942" "woff2": "MiriamCLM/MiriamCLM-Book.woff2?f3942"
}, },
"Monomakh": { "Monomakh": {
"woff": "Monomakh/MonomakhUnicode.woff?0a8b3",
"woff2": "Monomakh/MonomakhUnicode.woff2?ee286" "woff2": "Monomakh/MonomakhUnicode.woff2?ee286"
}, },
"Myanmar3": { "Myanmar3": {
"woff": "Myanmar3/Myanmar3.woff?60817",
"woff2": "Myanmar3/Myanmar3.woff2?2b586" "woff2": "Myanmar3/Myanmar3.woff2?2b586"
}, },
"NafeesWeb": { "NafeesWeb": {
"woff": "NafeesWeb/NafeesWeb.woff?809c8",
"woff2": "NafeesWeb/NafeesWeb.woff2?5f501" "woff2": "NafeesWeb/NafeesWeb.woff2?5f501"
}, },
"Nazli": { "Nazli": {
"woff": "Nazli/Nazli.woff?6eb79",
"woff2": "Nazli/Nazli.woff2?d54a3", "woff2": "Nazli/Nazli.woff2?d54a3",
"variants": { "variants": {
"bold": "Nazli Bold" "bold": "Nazli Bold"
@@ -719,23 +668,19 @@
}, },
"Nazli Bold": { "Nazli Bold": {
"fontweight": "bold", "fontweight": "bold",
"woff": "Nazli/Nazli-bold.woff?ae0c3",
"woff2": "Nazli/Nazli-bold.woff2?8d27e" "woff2": "Nazli/Nazli-bold.woff2?8d27e"
}, },
"Nokora Bold": { "Nokora Bold": {
"fontweight": "bold", "fontweight": "bold",
"woff": "Nokora/Nokora-Bold.woff?cf0df",
"woff2": "Nokora/Nokora-Bold.woff2?b50d8" "woff2": "Nokora/Nokora-Bold.woff2?b50d8"
}, },
"Nokora Regular": { "Nokora Regular": {
"woff": "Nokora/Nokora-Regular.woff?36345",
"woff2": "Nokora/Nokora-Regular.woff2?66157", "woff2": "Nokora/Nokora-Regular.woff2?66157",
"variants": { "variants": {
"bold": "Nokora Bold" "bold": "Nokora Bold"
} }
}, },
"Noto Serif Hentaigana": { "Noto Serif Hentaigana": {
"woff": "NotoSerifHentaigana/NotoSerifHentaigana-Regular.woff?339f3",
"woff2": "NotoSerifHentaigana/NotoSerifHentaigana-Regular.woff2?79828", "woff2": "NotoSerifHentaigana/NotoSerifHentaigana-Regular.woff2?79828",
"variants": { "variants": {
"bold": "Noto Serif Hentaigana Bold" "bold": "Noto Serif Hentaigana Bold"
@@ -743,30 +688,24 @@
}, },
"Noto Serif Hentaigana Bold": { "Noto Serif Hentaigana Bold": {
"fontweight": "bold", "fontweight": "bold",
"woff": "NotoSerifHentaigana/NotoSerifHentaigana-Bold.woff?58245",
"woff2": "NotoSerifHentaigana/NotoSerifHentaigana-Bold.woff2?f9e64" "woff2": "NotoSerifHentaigana/NotoSerifHentaigana-Bold.woff2?f9e64"
}, },
"NotoNastaliqUrdu": { "NotoNastaliqUrdu": {
"woff": "NotoNastaliqUrdu/NotoNastaliqUrdu-Regular.woff?7414e",
"woff2": "NotoNastaliqUrdu/NotoNastaliqUrdu-Regular.woff2?62ea7", "woff2": "NotoNastaliqUrdu/NotoNastaliqUrdu-Regular.woff2?62ea7",
"variants": { "variants": {
"bold": "NotoNastaliqUrdu Bold" "bold": "NotoNastaliqUrdu Bold"
} }
}, },
"NotoNastaliqUrdu Bold": { "NotoNastaliqUrdu Bold": {
"woff": "NotoNastaliqUrdu/NotoNastaliqUrdu-Bold.woff?3f54d",
"woff2": "NotoNastaliqUrdu/NotoNastaliqUrdu-Bold.woff2?a8aac" "woff2": "NotoNastaliqUrdu/NotoNastaliqUrdu-Bold.woff2?a8aac"
}, },
"NotoSansSundanese Regular": { "NotoSansSundanese Regular": {
"woff": "NotoSansSundanese/NotoSansSundanese-Regular.woff?a8907",
"woff2": "NotoSansSundanese/NotoSansSundanese-Regular.woff2?97973" "woff2": "NotoSansSundanese/NotoSansSundanese-Regular.woff2?97973"
}, },
"Nuosu SIL": { "Nuosu SIL": {
"woff": "NuosuSIL/NuosuSIL.woff?89513",
"woff2": "NuosuSIL/NuosuSIL.woff2?223bb" "woff2": "NuosuSIL/NuosuSIL.woff2?223bb"
}, },
"OpenDyslexic": { "OpenDyslexic": {
"woff": "OpenDyslexic/OpenDyslexic-Regular.woff?e7081",
"woff2": "OpenDyslexic/OpenDyslexic-Regular.woff2?209dd", "woff2": "OpenDyslexic/OpenDyslexic-Regular.woff2?209dd",
"variants": { "variants": {
"bold": "OpenDyslexic Bold", "bold": "OpenDyslexic Bold",
@@ -776,22 +715,18 @@
}, },
"OpenDyslexic Bold": { "OpenDyslexic Bold": {
"fontweight": "bold", "fontweight": "bold",
"woff": "OpenDyslexic/OpenDyslexic-Bold.woff?cfd3b",
"woff2": "OpenDyslexic/OpenDyslexic-Bold.woff2?df553" "woff2": "OpenDyslexic/OpenDyslexic-Bold.woff2?df553"
}, },
"OpenDyslexic BoldItalic": { "OpenDyslexic BoldItalic": {
"fontweight": "bold", "fontweight": "bold",
"fontstyle": "italic", "fontstyle": "italic",
"woff": "OpenDyslexic/OpenDyslexic-BoldI-talic.woff",
"woff2": "OpenDyslexic/OpenDyslexic-Bold-Italic.woff2?b08af" "woff2": "OpenDyslexic/OpenDyslexic-Bold-Italic.woff2?b08af"
}, },
"OpenDyslexic Italic": { "OpenDyslexic Italic": {
"fontstyle": "italic", "fontstyle": "italic",
"woff": "OpenDyslexic/OpenDyslexic-Italic.woff?999a0",
"woff2": "OpenDyslexic/OpenDyslexic-Italic.woff2?7415e" "woff2": "OpenDyslexic/OpenDyslexic-Italic.woff2?7415e"
}, },
"OskiEast": { "OskiEast": {
"woff": "OskiEast/oskie.woff?10d59",
"woff2": "OskiEast/oskie.woff2?a87bf", "woff2": "OskiEast/oskie.woff2?a87bf",
"variants": { "variants": {
"bold": "OskiEast Bold", "bold": "OskiEast Bold",
@@ -801,34 +736,27 @@
}, },
"OskiEast Bold": { "OskiEast Bold": {
"fontweight": "bold", "fontweight": "bold",
"woff": "OskiEast/oskiebold.woff?d6ae5",
"woff2": "OskiEast/oskiebold.woff2?30d18" "woff2": "OskiEast/oskiebold.woff2?30d18"
}, },
"OskiEast Bold Italic": { "OskiEast Bold Italic": {
"fontweight": "bold", "fontweight": "bold",
"fontstyle": "italic", "fontstyle": "italic",
"woff": "OskiEast/oskiebolditalic.woff?fcee2",
"woff2": "OskiEast/oskiebolditalic.woff2?ae266" "woff2": "OskiEast/oskiebolditalic.woff2?ae266"
}, },
"OskiEast Italic": { "OskiEast Italic": {
"fontstyle": "italic", "fontstyle": "italic",
"woff": "OskiEast/oskieitalic.woff?ecb14",
"woff2": "OskiEast/oskieitalic.woff2?2745f" "woff2": "OskiEast/oskieitalic.woff2?2745f"
}, },
"Padauk": { "Padauk": {
"woff": "Padauk/Padauk-Regular.woff?e67df",
"woff2": "Padauk/Padauk-Regular.woff2?a9b3f" "woff2": "Padauk/Padauk-Regular.woff2?a9b3f"
}, },
"Pagul": { "Pagul": {
"woff": "Pagul/Pagul.woff?4d3bf",
"woff2": "Pagul/Pagul.woff2?2d88b" "woff2": "Pagul/Pagul.woff2?2d88b"
}, },
"Pangururan": { "Pangururan": {
"woff": "Pangururan/Pangururan.woff?b079d",
"woff2": "Pangururan/Pangururan.woff2?5fecd" "woff2": "Pangururan/Pangururan.woff2?5fecd"
}, },
"Phetsarath": { "Phetsarath": {
"woff": "Phetsarath/Phetsarath-Regular.woff?dee5c",
"woff2": "Phetsarath/Phetsarath-Regular.woff2?b9d92", "woff2": "Phetsarath/Phetsarath-Regular.woff2?b9d92",
"variants": { "variants": {
"bold": "Phetsarath-Bold" "bold": "Phetsarath-Bold"
@@ -836,59 +764,45 @@
}, },
"Phetsarath-Bold": { "Phetsarath-Bold": {
"fontweight": "bold", "fontweight": "bold",
"woff": "Phetsarath/Phetsarath-Bold.woff?8c43d",
"woff2": "Phetsarath/Phetsarath-Bold.woff2?2d5a1" "woff2": "Phetsarath/Phetsarath-Bold.woff2?2d5a1"
}, },
"Ponomar": { "Ponomar": {
"woff": "Ponomar/PonomarUnicode.woff?05ed0",
"woff2": "Ponomar/PonomarUnicode.woff2?ea5c5" "woff2": "Ponomar/PonomarUnicode.woff2?ea5c5"
}, },
"Pustaka Bali": { "Pustaka Bali": {
"woff": "PustakaBali/PustakaBali.woff?7c072",
"woff2": "PustakaBali/PustakaBali.woff2?6b142" "woff2": "PustakaBali/PustakaBali.woff2?6b142"
}, },
"RailwaySans": { "RailwaySans": {
"woff": "RailwaySans/RailwaySans.woff?fda9a",
"woff2": "RailwaySans/RailwaySans.woff2?a6c17" "woff2": "RailwaySans/RailwaySans.woff2?a6c17"
}, },
"Saweri": { "Saweri": {
"woff": "saweri/saweri.woff?fe688",
"woff2": "saweri/saweri.woff2?fe482" "woff2": "saweri/saweri.woff2?fe482"
}, },
"Scheherazade": { "Scheherazade": {
"woff": "Scheherazade/Scheherazade-R.woff?286b2",
"woff2": "Scheherazade/Scheherazade-R.woff2?b340b" "woff2": "Scheherazade/Scheherazade-R.woff2?b340b"
}, },
"SertoUrhoy": { "SertoUrhoy": {
"woff": "SertoUrhoy/SyrCOMUrhoy.woff?82242",
"woff2": "SertoUrhoy/SyrCOMUrhoy.woff2?845a8" "woff2": "SertoUrhoy/SyrCOMUrhoy.woff2?845a8"
}, },
"Shapour": { "Shapour": {
"woff": "Shapour/Shapour.woff?ad380",
"woff2": "Shapour/Shapour.woff2?977a2" "woff2": "Shapour/Shapour.woff2?977a2"
}, },
"Siyam Rupali": { "Siyam Rupali": {
"woff": "SiyamRupali/SiyamRupali.woff?5d2db",
"woff2": "SiyamRupali/SiyamRupali.woff2?035b8" "woff2": "SiyamRupali/SiyamRupali.woff2?035b8"
}, },
"Skeirs II": { "Skeirs II": {
"woff": "Skeirs/Skeirs-II.woff?a5fc3",
"woff2": "Skeirs/Skeirs-II.woff2?7d27b" "woff2": "Skeirs/Skeirs-II.woff2?7d27b"
}, },
"Suwannaphum": { "Suwannaphum": {
"woff": "Suwannaphum/Suwannaphum.woff?d5f25",
"woff2": "Suwannaphum/Suwannaphum.woff2?d3394" "woff2": "Suwannaphum/Suwannaphum.woff2?d3394"
}, },
"Taamey Frank CLM": { "Taamey Frank CLM": {
"woff": "TaameyFrankCLM/TaameyFrankCLM.woff?73757",
"woff2": "TaameyFrankCLM/TaameyFrankCLM.woff2?23293" "woff2": "TaameyFrankCLM/TaameyFrankCLM.woff2?23293"
}, },
"TharLon": { "TharLon": {
"woff": "TharLon/TharLon.woff?0df3e",
"woff2": "TharLon/TharLon.woff2?9012f" "woff2": "TharLon/TharLon.woff2?9012f"
}, },
"TiroBangla": { "TiroBangla": {
"woff": "TiroBangla/TiroBangla-Regular.woff?85533",
"woff2": "TiroBangla/TiroBangla-Regular.woff2?436e2", "woff2": "TiroBangla/TiroBangla-Regular.woff2?436e2",
"variants": { "variants": {
"italic": "TiroBangla Italic" "italic": "TiroBangla Italic"
@@ -896,23 +810,18 @@
}, },
"TiroBangla Italic": { "TiroBangla Italic": {
"fontstyle": "italic", "fontstyle": "italic",
"woff": "TiroBangla/TiroBangla-Italic.woff?9f7be",
"woff2": "TiroBangla/TiroBangla-Italic.woff2?12e77" "woff2": "TiroBangla/TiroBangla-Italic.woff2?12e77"
}, },
"Tuladha Jejeg": { "Tuladha Jejeg": {
"woff": "TuladhaJejeg/TuladhaJejeg_gr.woff?7ebe2",
"woff2": "TuladhaJejeg/TuladhaJejeg_gr.woff2?8d13d" "woff2": "TuladhaJejeg/TuladhaJejeg_gr.woff2?8d13d"
}, },
"UnifrakturMaguntia": { "UnifrakturMaguntia": {
"woff": "UnifrakturMaguntia/UnifrakturMaguntia.woff?cfde0",
"woff2": "UnifrakturMaguntia/UnifrakturMaguntia.woff2?ee15f" "woff2": "UnifrakturMaguntia/UnifrakturMaguntia.woff2?ee15f"
}, },
"Vimala": { "Vimala": {
"woff": "Vimala/Vimala.woff?f75ba",
"woff2": "Vimala/Vimala.woff2?a3b10" "woff2": "Vimala/Vimala.woff2?a3b10"
}, },
"lklug": { "lklug": {
"woff": "lklug/lklug.woff?57de7",
"woff2": "lklug/lklug.woff2?7d2c4" "woff2": "lklug/lklug.woff2?7d2c4"
} }
} }

View File

@@ -39,7 +39,7 @@ class FontRepoCompilerTest extends \PHPUnit\Framework\TestCase {
$givenInfo = [ $givenInfo = [
'fontweight' => 'dummyFontWeight', 'fontweight' => 'dummyFontWeight',
'fontstyle' => 'dummyFontStyle', 'fontstyle' => 'dummyFontStyle',
'woff' => 'Alef-Regular.woff', 'woff2' => 'Alef-Regular.woff2',
'bold' => 'dummyBold', 'bold' => 'dummyBold',
'bolditalic' => 'dummyBoldItalic', 'bolditalic' => 'dummyBoldItalic',
'italic' => 'dummyItalic', 'italic' => 'dummyItalic',
@@ -49,7 +49,7 @@ class FontRepoCompilerTest extends \PHPUnit\Framework\TestCase {
$this->assertSame( [ $this->assertSame( [
'fontweight' => 'dummyFontWeight', 'fontweight' => 'dummyFontWeight',
'fontstyle' => 'dummyFontStyle', 'fontstyle' => 'dummyFontStyle',
'woff' => 'Alef/Alef-Regular.woff?2b430', 'woff2' => 'Alef/Alef-Regular.woff2?a2499',
'variants' => [ 'variants' => [
'bold' => 'dummyBold', 'bold' => 'dummyBold',
'bolditalic' => 'dummyBoldItalic', 'bolditalic' => 'dummyBoldItalic',
@@ -63,7 +63,6 @@ class FontRepoCompilerTest extends \PHPUnit\Framework\TestCase {
$result = $instance->getFontInfo( [], __DIR__ . '/../../data/fontrepo/fonts/Alef' ); $result = $instance->getFontInfo( [], __DIR__ . '/../../data/fontrepo/fonts/Alef' );
$this->assertSame( [ $this->assertSame( [
'woff' => 'Alef/Alef-Regular.woff?2b430',
'woff2' => 'Alef/Alef-Regular.woff2?a2499', 'woff2' => 'Alef/Alef-Regular.woff2?a2499',
], $result ); ], $result );
} }