Lines Matching defs:text
52 //Output text in flowing mode
278 function CircularText($x, $y, $r, $text, $align = 'top', $fontfamily = '', $fontsizePt = 0, $fontstyle = '', $kerning = 120, $fontwidth = 100, $divider = '')
295 $text = str_replace("\r", '', $text);
306 $nb = strlen($text);
308 $w[$i] = $this->mpdf->GetStringWidth($text[$i]);
313 $nb = mb_strlen($text, $this->mpdf->mb_enc);
315 $unicode = $this->mpdf->UTF8StringToArray($text);
317 $c = mb_substr($text, $i, 1, $this->mpdf->mb_enc);
353 // rotate matrix for the first letter to center the text
397 $c = $text[$i];
399 $c = mb_substr($text, $i, 1, $this->mpdf->mb_enc);
430 function Shaded_box($text, $font = '', $fontstyle = 'B', $szfont = '', $width = '70%', $style = 'DF', $radius = 2.5, $fill = '#FFFFFF', $color = '#000000', $pad = 2)
440 $text = ' ' . $text . ' ';
443 $text = $this->mpdf->purify_utf8_text($text);
446 $text = $this->mpdf->all_entities_to_utf8($text);
450 $text = mb_convert_encoding($text, $this->mpdf->mb_enc, 'UTF-8');
455 if (preg_match('/([' . $this->mpdf->pregRTLchars . '])/u', $text)) {
472 $text = $this->otl->applyOTL($text, $this->mpdf->CurrentFont['useOTL']);
477 $this->mpdf->magic_reverse_dir($text, $this->mpdf->directionality, $OTLdata);
493 $sz = $this->mpdf->GetStringWidth($text, true, $OTLdata, $textvar);
511 $this->mpdf->Cell($r2 - $r1, $y2, $text, 0, 1, 'C', 0, '', 0, 0, 0, 'M', 0, false, $OTLdata, $textvar);