Lines Matching defs:shaper

79 	var $shaper;
232 // Based on actual script block of text, select shaper (and line-breaking dictionaries)
234 $this->shaper = "I";
235 } // INDIC shaper
237 $this->shaper = "A";
238 } // ARABIC shaper
240 $this->shaper = "A";
241 } // ARABIC shaper
243 $this->shaper = "K";
244 } // KHMER shaper
246 $this->shaper = "T";
247 } // THAI shaper
249 $this->shaper = "L";
250 } // LAO shaper
252 $this->shaper = "S";
253 } // SINHALA shaper
255 $this->shaper = "M";
256 } // MYANMAR shaper
258 $this->shaper = "E";
259 } // SEA South East Asian shaper
261 $this->shaper = "E";
262 } // SEA South East Asian shaper
264 $this->shaper = "E";
265 } // SEA South East Asian shaper
267 $this->shaper = "";
280 list($GSUBscriptTag, $is_old_spec) = $this->_getOTLscriptTag($ScriptLang, $scripttag, $scriptblock, $this->shaper, $useOTL, 'GSUB');
296 list($GPOSscriptTag, $dummy) = $this->_getOTLscriptTag($ScriptLang, $scripttag, $scriptblock, $this->shaper, $useOTL, 'GPOS');
323 // Don't use MYANMAR shaper unless using v2 scripttag
324 if ($this->shaper == 'M' && $GSUBscriptTag != 'mym2') {
325 $this->shaper = '';
351 if ($this->mpdf->useDictionaryLBR && ($this->shaper == "K" || $this->shaper == "T" || $this->shaper == "L")) {
377 if ($this->shaper == 'I') {
403 if ($this->shaper == 'A') {
541 elseif ($this->shaper == 'I' || $this->shaper == 'K' || $this->shaper == 'S') {
570 if ($this->shaper == 'I') {
599 if ($this->shaper == 'I') {
601 } elseif ($this->shaper == 'S') {
603 } elseif ($this->shaper == 'K') {
636 if ($this->shaper == 'I' || $this->shaper == 'S') {
638 } elseif ($this->shaper == 'K') {
655 if ($this->shaper == 'I' || $this->shaper == 'S') {
670 if ($this->shaper == 'K') { // Features are applied one at a time, working through each codepoint
678 // NB Old style 'mymr' is left to go through the default shaper
679 elseif ($this->shaper == 'M') {
732 elseif ($this->shaper == 'E') {
734 * use the default shaper. Otherwise, use the SEA shaper.
851 if ($this->shaper == 'T' || $this->shaper == 'L') {
910 // Tibetan does not need to need a shaper generally, as long as characters are presented in the correct order
980 // Also TIBETAN (no shaper)
982 if (($this->shaper == "K" || $this->shaper == "T" || $this->shaper == "L") || $scriptblock == Ucdn::SCRIPT_TIBETAN) {
1007 if ($this->shaper == 'I' || $this->shaper == 'S' || $this->shaper == 'A' || $this->shaper == 'K' || $this->shaper == 'M') {
1048 //if ($this->shaper) {$tags .= ' kern'; }
2459 if ($this->shaper == 'I' || $this->shaper == 'K' || $this->shaper == 'S') {
2462 } elseif ($this->shaper == 'M') {
2473 if ($this->shaper == 'K' || $this->shaper == 'T' || $this->shaper == 'L') {
2651 if ($this->shaper == 'I' || $this->shaper == 'K' || $this->shaper == 'S') {
2654 } elseif ($this->shaper == 'M') {
3019 if (!isset($this->lbdicts[$this->shaper]) && file_exists(__DIR__ . '/../data/linebrdict' . $this->shaper . '.dat')) {
3020 $this->lbdicts[$this->shaper] = file_get_contents(__DIR__ . '/../data/linebrdict' . $this->shaper . '.dat');
3023 $dict = &$this->lbdicts[$this->shaper];
3520 if ($this->shaper == 'I' && $is_old_spec && strpos($this->GlyphClassMarks, $this->OTLdata[$ptr]['hex']) === false) {
6005 private function _getOTLscriptTag($ScriptLang, $scripttag, $scriptblock, $shaper, $useOTL, $mode)
6059 if ($shaper) {