Remove woff files
Bug: T318167 Change-Id: I54181a8ba084f0f1336dbe95389f046c9a987f2a
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -43,8 +43,5 @@ font compilation script can pick it up.
|
||||
Preparing font formats
|
||||
-----------------------
|
||||
|
||||
1. From the upstream releases, take the TTF versions.
|
||||
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
|
||||
Use https://github.com/google/woff2 to generate woff2 files from ttf if needed
|
||||
$ ls *.ttf | xargs -n1 /path/to/woff2/woff2_compress
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -127,15 +127,15 @@ class FontRepoCompiler {
|
||||
$info['fontstyle'] = $font['fontstyle'];
|
||||
}
|
||||
|
||||
foreach ( [ 'woff', 'woff2' ] as $format ) {
|
||||
foreach ( [ 'woff2' ] as $format ) {
|
||||
if ( isset( $font[$format] ) ) {
|
||||
$info[$format] = OutputPage::transformFilePath( $fontdir, $fontpath, $font[$format] );
|
||||
}
|
||||
}
|
||||
|
||||
// If font formats are not explicitly defined, scan the directory.
|
||||
if ( !isset( $info['woff'] ) ) {
|
||||
foreach ( glob( "$fontpath/*.{woff,woff2}", GLOB_BRACE ) as $fontfile ) {
|
||||
if ( !isset( $info['woff2'] ) ) {
|
||||
foreach ( glob( "$fontpath/*.woff2", GLOB_BRACE ) as $fontfile ) {
|
||||
$type = substr( $fontfile, strrpos( $fontfile, '.' ) + 1 );
|
||||
$info[$type] = OutputPage::transformFilePath( $fontdir, $fontpath, basename( $fontfile ) );
|
||||
}
|
||||
|
||||
@@ -446,15 +446,12 @@
|
||||
},
|
||||
"fonts": {
|
||||
"AbyssinicaSIL": {
|
||||
"woff": "AbyssinicaSIL/AbyssinicaSIL-R.woff?10e4b",
|
||||
"woff2": "AbyssinicaSIL/AbyssinicaSIL-R.woff2?2942e"
|
||||
},
|
||||
"Akkadian": {
|
||||
"woff": "Akkadian/Akkadian.woff?fc09d",
|
||||
"woff2": "Akkadian/Akkadian.woff2?1e0a3"
|
||||
},
|
||||
"Alef": {
|
||||
"woff": "Alef/Alef-Regular.woff?2b430",
|
||||
"woff2": "Alef/Alef-Regular.woff2?a2499",
|
||||
"variants": {
|
||||
"bold": "Alef Bold"
|
||||
@@ -462,11 +459,9 @@
|
||||
},
|
||||
"Alef Bold": {
|
||||
"fontweight": "bold",
|
||||
"woff": "Alef/Alef-Bold.woff?bd85f",
|
||||
"woff2": "Alef/Alef-Bold.woff2?7c873"
|
||||
},
|
||||
"Amiri": {
|
||||
"woff": "amiri/Amiri-Regular.woff?3d608",
|
||||
"woff2": "amiri/Amiri-Regular.woff2?62666",
|
||||
"variants": {
|
||||
"bold": "Amiri Bold",
|
||||
@@ -476,26 +471,21 @@
|
||||
},
|
||||
"Amiri Bold": {
|
||||
"fontweight": "bold",
|
||||
"woff": "amiri/Amiri-Bold.woff?00982",
|
||||
"woff2": "amiri/Amiri-Bold.woff2?ffea9"
|
||||
},
|
||||
"Amiri Bold Italic": {
|
||||
"fontweight": "bold",
|
||||
"fontstyle": "italic",
|
||||
"woff": "amiri/Amiri-BoldItalic.woff?52cb9",
|
||||
"woff2": "amiri/Amiri-BoldItalic.woff2?c947c"
|
||||
},
|
||||
"Amiri Italic": {
|
||||
"fontstyle": "italic",
|
||||
"woff": "amiri/Amiri-Italic.woff?dd356",
|
||||
"woff2": "amiri/Amiri-Italic.woff2?2803c"
|
||||
},
|
||||
"Artaxerxes": {
|
||||
"woff": "Artaxerxes/Artaxerxes.woff?c1ed7",
|
||||
"woff2": "Artaxerxes/Artaxerxes.woff2?7a96e"
|
||||
},
|
||||
"AwamiNastaliq": {
|
||||
"woff": "AwamiNastaliq/AwamiNastaliq-Regular.woff?f83de",
|
||||
"woff2": "AwamiNastaliq/AwamiNastaliq-Regular.woff2?1a7ce",
|
||||
"variants": {
|
||||
"bold": "AwamiNastaliq Bold"
|
||||
@@ -503,22 +493,18 @@
|
||||
},
|
||||
"AwamiNastaliq Bold": {
|
||||
"fontweight": "bold",
|
||||
"woff": "AwamiNastaliq/AwamiNastaliq-Bold.woff?c480f",
|
||||
"woff2": "AwamiNastaliq/AwamiNastaliq-Bold.woff2?2a4eb"
|
||||
},
|
||||
"BabelStoneTibetanSlim": {
|
||||
"woff": "BabelStoneTibetanSlim/BabelStoneTibetanSlim.woff?c48ba",
|
||||
"woff2": "BabelStoneTibetanSlim/BabelStoneTibetanSlim.woff2?46398"
|
||||
},
|
||||
"Boyo Gagrai": {
|
||||
"woff2": "BoyoGagrai/BoyoGagrai.woff2?d1060"
|
||||
},
|
||||
"CharisSIL": {
|
||||
"woff": "CharisSIL/CharisSIL-R.woff?3a622",
|
||||
"woff2": "CharisSIL/CharisSIL-R.woff2?b2a18"
|
||||
},
|
||||
"ComicNeue": {
|
||||
"woff": "ComicNeue/ComicNeue-Regular.woff?ff5e6",
|
||||
"woff2": "ComicNeue/ComicNeue-Regular.woff2?44c5e",
|
||||
"variants": {
|
||||
"bold": "ComicNeue Bold",
|
||||
@@ -527,32 +513,25 @@
|
||||
},
|
||||
"ComicNeue Bold": {
|
||||
"fontweight": "bold",
|
||||
"woff": "ComicNeue/ComicNeue-Bold.woff?cc2d9",
|
||||
"woff2": "ComicNeue/ComicNeue-Bold.woff2?c1376"
|
||||
},
|
||||
"ComicNeue Oblique": {
|
||||
"fontstyle": "italic",
|
||||
"woff": "ComicNeue/ComicNeue-Regular-Oblique.woff?45c14",
|
||||
"woff2": "ComicNeue/ComicNeue-Regular-Oblique.woff2?4ddaf"
|
||||
},
|
||||
"Doulos SIL": {
|
||||
"woff": "DoulosSIL/DoulosSIL-R.woff?f76f6",
|
||||
"woff2": "DoulosSIL/DoulosSIL-R.woff2?61737"
|
||||
},
|
||||
"East Syriac Adiabene": {
|
||||
"woff": "EastSyriacAdiabene/SyrCOMAdiabene.woff?cfbf0",
|
||||
"woff2": "EastSyriacAdiabene/SyrCOMAdiabene.woff2?9ff2e"
|
||||
},
|
||||
"Estrangelo Edessa": {
|
||||
"woff": "EstrangeloEdessa/SyrCOMEdessa.woff?c4484",
|
||||
"woff2": "EstrangeloEdessa/SyrCOMEdessa.woff2?3e525"
|
||||
},
|
||||
"Fedorovsk": {
|
||||
"woff": "Fedorovsk/FedorovskUnicode.woff?1659d",
|
||||
"woff2": "Fedorovsk/FedorovskUnicode.woff2?245e3"
|
||||
},
|
||||
"FreeFont-Thaana": {
|
||||
"woff": "FreeFontThana/FreeFont-Thaana.woff?0f06e",
|
||||
"woff2": "FreeFontThana/FreeFont-Thaana.woff2?ad021",
|
||||
"variants": {
|
||||
"bold": "FreeFont-Thaana Bold"
|
||||
@@ -560,11 +539,9 @@
|
||||
},
|
||||
"FreeFont-Thaana Bold": {
|
||||
"fontweight": "bold",
|
||||
"woff": "FreeFontThana/FreeFont-Thaana-Bold.woff?5eb85",
|
||||
"woff2": "FreeFontThana/FreeFont-Thaana-Bold.woff2?eaf55"
|
||||
},
|
||||
"GentiumPlus": {
|
||||
"woff": "GentiumPlus/GentiumPlus-Regular.woff?7a020",
|
||||
"woff2": "GentiumPlus/GentiumPlus-Regular.woff2?b04c9",
|
||||
"variants": {
|
||||
"bold": "GentiumPlus Bold",
|
||||
@@ -574,26 +551,21 @@
|
||||
},
|
||||
"GentiumPlus Bold": {
|
||||
"fontweight": "bold",
|
||||
"woff": "GentiumPlus/GentiumPlus-Bold.woff?2d222",
|
||||
"woff2": "GentiumPlus/GentiumPlus-Bold.woff2?264f1"
|
||||
},
|
||||
"GentiumPlus Bold Italic": {
|
||||
"fontweight": "bold",
|
||||
"fontstyle": "italic",
|
||||
"woff": "GentiumPlus/GentiumPlus-BoldItalic.woff?e8674",
|
||||
"woff2": "GentiumPlus/GentiumPlus-BoldItalic.woff2?191d0"
|
||||
},
|
||||
"GentiumPlus Italic": {
|
||||
"fontstyle": "italic",
|
||||
"woff": "GentiumPlus/GentiumPlus-Italic.woff?14b0e",
|
||||
"woff2": "GentiumPlus/GentiumPlus-Italic.woff2?8cd7c"
|
||||
},
|
||||
"GochiHand": {
|
||||
"woff": "GochiHand/GochiHand-Regular.woff?310cc",
|
||||
"woff2": "GochiHand/GochiHand-Regular.woff2?b6160"
|
||||
},
|
||||
"Hanuman": {
|
||||
"woff": "Hanuman/Hanuman.woff?d5078",
|
||||
"woff2": "Hanuman/Hanuman.woff2?0107a",
|
||||
"variants": {
|
||||
"bold": "Hanuman Bold"
|
||||
@@ -601,15 +573,12 @@
|
||||
},
|
||||
"Hanuman Bold": {
|
||||
"fontweight": "bold",
|
||||
"woff": "Hanuman/Hanumanb.woff?27aeb",
|
||||
"woff2": "Hanuman/Hanumanb.woff2?1b52d"
|
||||
},
|
||||
"Hussaini Nastaleeq": {
|
||||
"woff": "HussainiNastaleeq/hussaini-nastaleeq.woff?3fb01",
|
||||
"woff2": "HussainiNastaleeq/hussaini-nastaleeq.woff2?a4024"
|
||||
},
|
||||
"Iranian Sans": {
|
||||
"woff": "IranianSans/irsans.woff?ec963",
|
||||
"woff2": "IranianSans/irsans.woff2?17429",
|
||||
"variants": {
|
||||
"bold": "Iranian Sans Bold"
|
||||
@@ -617,15 +586,12 @@
|
||||
},
|
||||
"Iranian Sans Bold": {
|
||||
"fontweight": "bold",
|
||||
"woff": "IranianSans/irsansb.woff?cf164",
|
||||
"woff2": "IranianSans/irsansb.woff2?d24da"
|
||||
},
|
||||
"Iranian Serif": {
|
||||
"woff": "IranianSerif/irseri.woff?d153b",
|
||||
"woff2": "IranianSerif/irseri.woff2?2e4dd"
|
||||
},
|
||||
"Junicode": {
|
||||
"woff": "Junicode/Junicode.woff?c3176",
|
||||
"woff2": "Junicode/Junicode.woff2?a4f38",
|
||||
"variants": {
|
||||
"bold": "Junicode Bold",
|
||||
@@ -635,38 +601,30 @@
|
||||
},
|
||||
"Junicode Bold": {
|
||||
"fontweight": "bold",
|
||||
"woff": "Junicode/Junicode-Bold.woff?f0b3b",
|
||||
"woff2": "Junicode/Junicode-Bold.woff2?406ad"
|
||||
},
|
||||
"Junicode Bold Italic": {
|
||||
"fontweight": "bold",
|
||||
"fontstyle": "italic",
|
||||
"woff": "Junicode/Junicode-BoldItalic.woff?e1548",
|
||||
"woff2": "Junicode/Junicode-BoldItalic.woff2?7f6ef"
|
||||
},
|
||||
"Junicode Italic": {
|
||||
"fontstyle": "italic",
|
||||
"woff": "Junicode/Junicode-Italic.woff?999ec",
|
||||
"woff2": "Junicode/Junicode-Italic.woff2?c48b7"
|
||||
},
|
||||
"Kadiri": {
|
||||
"woff": "Kadiri/Kadiri.woff?98297",
|
||||
"woff2": "Kadiri/Kadiri.woff2?0cfa1"
|
||||
},
|
||||
"KhmerOS": {
|
||||
"woff": "KhmerOS/KhmerOS.woff?2ef9e",
|
||||
"woff2": "KhmerOS/KhmerOS.woff2?34973"
|
||||
},
|
||||
"KhmerOSbattambang": {
|
||||
"woff": "KhmerOSbattambang/KhmerOSbattambang.woff?69379",
|
||||
"woff2": "KhmerOSbattambang/KhmerOSbattambang.woff2?da936"
|
||||
},
|
||||
"Lateef": {
|
||||
"woff": "Lateef/LateefRegOT.woff?05c72",
|
||||
"woff2": "Lateef/LateefRegOT.woff2?3ce56"
|
||||
},
|
||||
"Linux Libertine": {
|
||||
"woff": "LinuxLibertine/LinLibertine_Rah.woff?c0828",
|
||||
"woff2": "LinuxLibertine/LinLibertine_Rah.woff2?4d59a",
|
||||
"variants": {
|
||||
"bold": "Linux Libertine Bold",
|
||||
@@ -676,42 +634,33 @@
|
||||
},
|
||||
"Linux Libertine Bold": {
|
||||
"fontweight": "bold",
|
||||
"woff": "LinuxLibertine/LinLibertine_RBah.woff?50e30",
|
||||
"woff2": "LinuxLibertine/LinLibertine_RBah.woff2?fbcf2"
|
||||
},
|
||||
"Linux Libertine Bold Italic": {
|
||||
"fontweight": "bold",
|
||||
"fontstyle": "italic",
|
||||
"woff": "LinuxLibertine/LinLibertine_RBIah.woff?8a853",
|
||||
"woff2": "LinuxLibertine/LinLibertine_RBIah.woff2?e02db"
|
||||
},
|
||||
"Linux Libertine Italic": {
|
||||
"fontstyle": "italic",
|
||||
"woff": "LinuxLibertine/LinLibertine_RIah.woff?1c058",
|
||||
"woff2": "LinuxLibertine/LinLibertine_RIah.woff2?4e887"
|
||||
},
|
||||
"Menaion": {
|
||||
"woff": "Menaion/MenaionUnicode.woff?50cc6",
|
||||
"woff2": "Menaion/MenaionUnicode.woff2?da37b"
|
||||
},
|
||||
"Miriam CLM": {
|
||||
"woff": "MiriamCLM/MiriamCLM-Book.woff?28216",
|
||||
"woff2": "MiriamCLM/MiriamCLM-Book.woff2?f3942"
|
||||
},
|
||||
"Monomakh": {
|
||||
"woff": "Monomakh/MonomakhUnicode.woff?0a8b3",
|
||||
"woff2": "Monomakh/MonomakhUnicode.woff2?ee286"
|
||||
},
|
||||
"Myanmar3": {
|
||||
"woff": "Myanmar3/Myanmar3.woff?60817",
|
||||
"woff2": "Myanmar3/Myanmar3.woff2?2b586"
|
||||
},
|
||||
"NafeesWeb": {
|
||||
"woff": "NafeesWeb/NafeesWeb.woff?809c8",
|
||||
"woff2": "NafeesWeb/NafeesWeb.woff2?5f501"
|
||||
},
|
||||
"Nazli": {
|
||||
"woff": "Nazli/Nazli.woff?6eb79",
|
||||
"woff2": "Nazli/Nazli.woff2?d54a3",
|
||||
"variants": {
|
||||
"bold": "Nazli Bold"
|
||||
@@ -719,23 +668,19 @@
|
||||
},
|
||||
"Nazli Bold": {
|
||||
"fontweight": "bold",
|
||||
"woff": "Nazli/Nazli-bold.woff?ae0c3",
|
||||
"woff2": "Nazli/Nazli-bold.woff2?8d27e"
|
||||
},
|
||||
"Nokora Bold": {
|
||||
"fontweight": "bold",
|
||||
"woff": "Nokora/Nokora-Bold.woff?cf0df",
|
||||
"woff2": "Nokora/Nokora-Bold.woff2?b50d8"
|
||||
},
|
||||
"Nokora Regular": {
|
||||
"woff": "Nokora/Nokora-Regular.woff?36345",
|
||||
"woff2": "Nokora/Nokora-Regular.woff2?66157",
|
||||
"variants": {
|
||||
"bold": "Nokora Bold"
|
||||
}
|
||||
},
|
||||
"Noto Serif Hentaigana": {
|
||||
"woff": "NotoSerifHentaigana/NotoSerifHentaigana-Regular.woff?339f3",
|
||||
"woff2": "NotoSerifHentaigana/NotoSerifHentaigana-Regular.woff2?79828",
|
||||
"variants": {
|
||||
"bold": "Noto Serif Hentaigana Bold"
|
||||
@@ -743,30 +688,24 @@
|
||||
},
|
||||
"Noto Serif Hentaigana Bold": {
|
||||
"fontweight": "bold",
|
||||
"woff": "NotoSerifHentaigana/NotoSerifHentaigana-Bold.woff?58245",
|
||||
"woff2": "NotoSerifHentaigana/NotoSerifHentaigana-Bold.woff2?f9e64"
|
||||
},
|
||||
"NotoNastaliqUrdu": {
|
||||
"woff": "NotoNastaliqUrdu/NotoNastaliqUrdu-Regular.woff?7414e",
|
||||
"woff2": "NotoNastaliqUrdu/NotoNastaliqUrdu-Regular.woff2?62ea7",
|
||||
"variants": {
|
||||
"bold": "NotoNastaliqUrdu Bold"
|
||||
}
|
||||
},
|
||||
"NotoNastaliqUrdu Bold": {
|
||||
"woff": "NotoNastaliqUrdu/NotoNastaliqUrdu-Bold.woff?3f54d",
|
||||
"woff2": "NotoNastaliqUrdu/NotoNastaliqUrdu-Bold.woff2?a8aac"
|
||||
},
|
||||
"NotoSansSundanese Regular": {
|
||||
"woff": "NotoSansSundanese/NotoSansSundanese-Regular.woff?a8907",
|
||||
"woff2": "NotoSansSundanese/NotoSansSundanese-Regular.woff2?97973"
|
||||
},
|
||||
"Nuosu SIL": {
|
||||
"woff": "NuosuSIL/NuosuSIL.woff?89513",
|
||||
"woff2": "NuosuSIL/NuosuSIL.woff2?223bb"
|
||||
},
|
||||
"OpenDyslexic": {
|
||||
"woff": "OpenDyslexic/OpenDyslexic-Regular.woff?e7081",
|
||||
"woff2": "OpenDyslexic/OpenDyslexic-Regular.woff2?209dd",
|
||||
"variants": {
|
||||
"bold": "OpenDyslexic Bold",
|
||||
@@ -776,22 +715,18 @@
|
||||
},
|
||||
"OpenDyslexic Bold": {
|
||||
"fontweight": "bold",
|
||||
"woff": "OpenDyslexic/OpenDyslexic-Bold.woff?cfd3b",
|
||||
"woff2": "OpenDyslexic/OpenDyslexic-Bold.woff2?df553"
|
||||
},
|
||||
"OpenDyslexic BoldItalic": {
|
||||
"fontweight": "bold",
|
||||
"fontstyle": "italic",
|
||||
"woff": "OpenDyslexic/OpenDyslexic-BoldI-talic.woff",
|
||||
"woff2": "OpenDyslexic/OpenDyslexic-Bold-Italic.woff2?b08af"
|
||||
},
|
||||
"OpenDyslexic Italic": {
|
||||
"fontstyle": "italic",
|
||||
"woff": "OpenDyslexic/OpenDyslexic-Italic.woff?999a0",
|
||||
"woff2": "OpenDyslexic/OpenDyslexic-Italic.woff2?7415e"
|
||||
},
|
||||
"OskiEast": {
|
||||
"woff": "OskiEast/oskie.woff?10d59",
|
||||
"woff2": "OskiEast/oskie.woff2?a87bf",
|
||||
"variants": {
|
||||
"bold": "OskiEast Bold",
|
||||
@@ -801,34 +736,27 @@
|
||||
},
|
||||
"OskiEast Bold": {
|
||||
"fontweight": "bold",
|
||||
"woff": "OskiEast/oskiebold.woff?d6ae5",
|
||||
"woff2": "OskiEast/oskiebold.woff2?30d18"
|
||||
},
|
||||
"OskiEast Bold Italic": {
|
||||
"fontweight": "bold",
|
||||
"fontstyle": "italic",
|
||||
"woff": "OskiEast/oskiebolditalic.woff?fcee2",
|
||||
"woff2": "OskiEast/oskiebolditalic.woff2?ae266"
|
||||
},
|
||||
"OskiEast Italic": {
|
||||
"fontstyle": "italic",
|
||||
"woff": "OskiEast/oskieitalic.woff?ecb14",
|
||||
"woff2": "OskiEast/oskieitalic.woff2?2745f"
|
||||
},
|
||||
"Padauk": {
|
||||
"woff": "Padauk/Padauk-Regular.woff?e67df",
|
||||
"woff2": "Padauk/Padauk-Regular.woff2?a9b3f"
|
||||
},
|
||||
"Pagul": {
|
||||
"woff": "Pagul/Pagul.woff?4d3bf",
|
||||
"woff2": "Pagul/Pagul.woff2?2d88b"
|
||||
},
|
||||
"Pangururan": {
|
||||
"woff": "Pangururan/Pangururan.woff?b079d",
|
||||
"woff2": "Pangururan/Pangururan.woff2?5fecd"
|
||||
},
|
||||
"Phetsarath": {
|
||||
"woff": "Phetsarath/Phetsarath-Regular.woff?dee5c",
|
||||
"woff2": "Phetsarath/Phetsarath-Regular.woff2?b9d92",
|
||||
"variants": {
|
||||
"bold": "Phetsarath-Bold"
|
||||
@@ -836,59 +764,45 @@
|
||||
},
|
||||
"Phetsarath-Bold": {
|
||||
"fontweight": "bold",
|
||||
"woff": "Phetsarath/Phetsarath-Bold.woff?8c43d",
|
||||
"woff2": "Phetsarath/Phetsarath-Bold.woff2?2d5a1"
|
||||
},
|
||||
"Ponomar": {
|
||||
"woff": "Ponomar/PonomarUnicode.woff?05ed0",
|
||||
"woff2": "Ponomar/PonomarUnicode.woff2?ea5c5"
|
||||
},
|
||||
"Pustaka Bali": {
|
||||
"woff": "PustakaBali/PustakaBali.woff?7c072",
|
||||
"woff2": "PustakaBali/PustakaBali.woff2?6b142"
|
||||
},
|
||||
"RailwaySans": {
|
||||
"woff": "RailwaySans/RailwaySans.woff?fda9a",
|
||||
"woff2": "RailwaySans/RailwaySans.woff2?a6c17"
|
||||
},
|
||||
"Saweri": {
|
||||
"woff": "saweri/saweri.woff?fe688",
|
||||
"woff2": "saweri/saweri.woff2?fe482"
|
||||
},
|
||||
"Scheherazade": {
|
||||
"woff": "Scheherazade/Scheherazade-R.woff?286b2",
|
||||
"woff2": "Scheherazade/Scheherazade-R.woff2?b340b"
|
||||
},
|
||||
"SertoUrhoy": {
|
||||
"woff": "SertoUrhoy/SyrCOMUrhoy.woff?82242",
|
||||
"woff2": "SertoUrhoy/SyrCOMUrhoy.woff2?845a8"
|
||||
},
|
||||
"Shapour": {
|
||||
"woff": "Shapour/Shapour.woff?ad380",
|
||||
"woff2": "Shapour/Shapour.woff2?977a2"
|
||||
},
|
||||
"Siyam Rupali": {
|
||||
"woff": "SiyamRupali/SiyamRupali.woff?5d2db",
|
||||
"woff2": "SiyamRupali/SiyamRupali.woff2?035b8"
|
||||
},
|
||||
"Skeirs II": {
|
||||
"woff": "Skeirs/Skeirs-II.woff?a5fc3",
|
||||
"woff2": "Skeirs/Skeirs-II.woff2?7d27b"
|
||||
},
|
||||
"Suwannaphum": {
|
||||
"woff": "Suwannaphum/Suwannaphum.woff?d5f25",
|
||||
"woff2": "Suwannaphum/Suwannaphum.woff2?d3394"
|
||||
},
|
||||
"Taamey Frank CLM": {
|
||||
"woff": "TaameyFrankCLM/TaameyFrankCLM.woff?73757",
|
||||
"woff2": "TaameyFrankCLM/TaameyFrankCLM.woff2?23293"
|
||||
},
|
||||
"TharLon": {
|
||||
"woff": "TharLon/TharLon.woff?0df3e",
|
||||
"woff2": "TharLon/TharLon.woff2?9012f"
|
||||
},
|
||||
"TiroBangla": {
|
||||
"woff": "TiroBangla/TiroBangla-Regular.woff?85533",
|
||||
"woff2": "TiroBangla/TiroBangla-Regular.woff2?436e2",
|
||||
"variants": {
|
||||
"italic": "TiroBangla Italic"
|
||||
@@ -896,23 +810,18 @@
|
||||
},
|
||||
"TiroBangla Italic": {
|
||||
"fontstyle": "italic",
|
||||
"woff": "TiroBangla/TiroBangla-Italic.woff?9f7be",
|
||||
"woff2": "TiroBangla/TiroBangla-Italic.woff2?12e77"
|
||||
},
|
||||
"Tuladha Jejeg": {
|
||||
"woff": "TuladhaJejeg/TuladhaJejeg_gr.woff?7ebe2",
|
||||
"woff2": "TuladhaJejeg/TuladhaJejeg_gr.woff2?8d13d"
|
||||
},
|
||||
"UnifrakturMaguntia": {
|
||||
"woff": "UnifrakturMaguntia/UnifrakturMaguntia.woff?cfde0",
|
||||
"woff2": "UnifrakturMaguntia/UnifrakturMaguntia.woff2?ee15f"
|
||||
},
|
||||
"Vimala": {
|
||||
"woff": "Vimala/Vimala.woff?f75ba",
|
||||
"woff2": "Vimala/Vimala.woff2?a3b10"
|
||||
},
|
||||
"lklug": {
|
||||
"woff": "lklug/lklug.woff?57de7",
|
||||
"woff2": "lklug/lklug.woff2?7d2c4"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -39,7 +39,7 @@ class FontRepoCompilerTest extends \PHPUnit\Framework\TestCase {
|
||||
$givenInfo = [
|
||||
'fontweight' => 'dummyFontWeight',
|
||||
'fontstyle' => 'dummyFontStyle',
|
||||
'woff' => 'Alef-Regular.woff',
|
||||
'woff2' => 'Alef-Regular.woff2',
|
||||
'bold' => 'dummyBold',
|
||||
'bolditalic' => 'dummyBoldItalic',
|
||||
'italic' => 'dummyItalic',
|
||||
@@ -49,7 +49,7 @@ class FontRepoCompilerTest extends \PHPUnit\Framework\TestCase {
|
||||
$this->assertSame( [
|
||||
'fontweight' => 'dummyFontWeight',
|
||||
'fontstyle' => 'dummyFontStyle',
|
||||
'woff' => 'Alef/Alef-Regular.woff?2b430',
|
||||
'woff2' => 'Alef/Alef-Regular.woff2?a2499',
|
||||
'variants' => [
|
||||
'bold' => 'dummyBold',
|
||||
'bolditalic' => 'dummyBoldItalic',
|
||||
@@ -63,7 +63,6 @@ class FontRepoCompilerTest extends \PHPUnit\Framework\TestCase {
|
||||
|
||||
$result = $instance->getFontInfo( [], __DIR__ . '/../../data/fontrepo/fonts/Alef' );
|
||||
$this->assertSame( [
|
||||
'woff' => 'Alef/Alef-Regular.woff?2b430',
|
||||
'woff2' => 'Alef/Alef-Regular.woff2?a2499',
|
||||
], $result );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user