芝麻web文件管理V1.00
编辑当前文件:/home/mgatv524/giga.mgaplay.com.br/vendor/mpdf/mpdf/src/Language/LanguageToFont.php
fontByScript($script, $adobeCJK); break; } return [$coreSuitable, $unifont]; } protected function fontByScript($script, $adobeCJK) { switch ($script) { /* European */ case 'latn': // LATIN return 'dejavusanscondensed'; case 'cyrl': // CYRILLIC return 'dejavusanscondensed'; /* freeserif best coverage for supplements etc. */ case 'cprt': // CYPRIOT return 'aegean'; case 'glag': // GLAGOLITIC return 'mph2bdamase'; case 'linb': // LINEAR_B return 'aegean'; case 'ogam': // OGHAM return 'dejavusans'; case 'ital': // OLD_ITALIC return 'aegean'; case 'runr': // RUNIC return 'sun-exta'; case 'shaw': // SHAVIAN return 'mph2bdamase'; /* African */ case 'egyp': // EGYPTIAN_HIEROGLYPHS return 'aegyptus'; case 'ethi': // ETHIOPIC return 'abyssinicasil'; //CASE 'merc': // MEROITIC_CURSIVE //CASE 'mero': // MEROITIC_HIEROGLYPHS case 'osma': // OSMANYA return 'mph2bdamase'; case 'tfng': // TIFINAGH return 'dejavusans'; /* Middle Eastern */ case 'arab': // ARABIC return 'xbriyaz'; case 'xsux': // CUNEIFORM return 'akkadian'; //CASE 'sarb': // OLD_SOUTH_ARABIAN //CASE 'prti': // INSCRIPTIONAL_PARTHIAN //CASE 'phli': // INSCRIPTIONAL_PAHLAVI /* Central Asian */ //CASE 'orkh': // OLD_TURKIC //CASE 'phag': // PHAGS_PA (Vertical script) /* South Asian */ //CASE 'brah': // BRAHMI //CASE 'kthi': // KAITHI case 'khar': // KHAROSHTHI return 'mph2bdamase'; case 'mtei': // MEETEI_MAYEK return 'eeyekunicode'; //CASE 'shrd': // SHARADA //CASE 'sora': // SORA_SOMPENG /* South East Asian */ case 'kali': // KAYAH_LI return 'freemono'; //CASE 'rjng': // REJANG case 'lana': // TAI_THAM return 'lannaalif'; case 'talu': // NEW_TAI_LUE return 'daibannasilbook'; /* East Asian */ case 'hans': // HAN (SIMPLIFIED) if ($adobeCJK) { return 'gb'; } return 'sun-exta'; case 'bopo': // BOPOMOFO return 'sun-exta'; //CASE 'plrd': // MIAO case 'yiii': // YI return 'sun-exta'; /* American */ case 'dsrt': // DESERET return 'mph2bdamase'; /* Other */ case 'brai': // BRAILLE return 'dejavusans'; } return null; } }