Preload Arabic font (Vazitmatn Regular)
This change should improve performance when switching between the English, and Arabic languages. Fix #66
This commit is contained in:
parent
8626dad6d9
commit
56c8bfbbc6
1 changed files with 1 additions and 0 deletions
|
@ -14,6 +14,7 @@ import WebPackage from "lib/WebPackage";
|
|||
others: [`/${locale}/${surahId}/surah.json`],
|
||||
fonts: [
|
||||
["Kanit Regular", "url(/fonts/kanit-regular.ttf)"],
|
||||
["Vazirmatn Regular", "url(/fonts/vazirmatn-regular.ttf)"],
|
||||
["Roboto Mono Regular", "url(/fonts/roboto-mono-regular.ttf)"]
|
||||
],
|
||||
onprogress: (percent: number) => {
|
||||
|
|
Loading…
Reference in a new issue