1<?php 2 3namespace Mpdf\Language; 4 5/** 6 * mPDF recognises IETF language tags as: 7 * - a single primary language subtag composed of a two letter language code from ISO 639-1 (2002), 8 * or a three letter code from ISO 639-2 (1998), ISO 639-3 (2007) or ISO 639-5 (2008) (usually written in lower case); 9 * - an optional script subtag, composed of a four letter script code from ISO 15924 (usually written in title case); 10 * - an optional region subtag composed of a two letter country code from ISO 3166-1 alpha-2 (usually written in upper case), 11 * or a three digit code from UN M.49 for geographical regions; 12 * 13 * Subtags are not case sensitive, but the specification recommends using the same case as in the Language Subtag Registry, 14 * where region subtags are uppercase, script subtags are titlecase and all other subtags are lowercase. 15 * 16 * Region subtags are often deprecated by the registration of specific primary language subtags from ISO 639-3 which are now 17 * "preferred values". For example, "ar-DZ" is deprecated with the preferred value "arq" for Algerian Spoken Arabic; 18 * 19 * Example: Serbian written in the Cyrillic (sr-Cyrl) or Latin (sr-Latn) script 20 * 21 * und (for undetermined or undefined) is used in situations in which a script must be indicated but the language cannot be identified. 22 * e.g. und-Cyrl is an undefined language written in Cyrillic script. 23 */ 24interface LanguageToFontInterface 25{ 26 27 public function getLanguageOptions($llcc, $adobeCJK); 28 29} 30