Lines Matching refs:TextVars

9 use Mpdf\Css\TextVars;
3513 } elseif (($this->textvar & TextVars::FC_SMALLCAPS) && isset($this->upperCase[ord($c)])) { // mPDF 5.7.1
3560 elseif (($this->textvar & TextVars::FC_SMALLCAPS) && isset($this->upperCase[$char])) { // mPDF 5.7.1
3656 if (($textvar & TextVars::FC_SMALLCAPS) && isset($this->upperCase[$char])) {
3698 if (($textvar & TextVars::FC_KERNING) && $lastchar) {
3716 if (($textvar & TextVars::FC_SMALLCAPS) && isset($this->upperCase[ord($s[$i])])) { // mPDF 5.7.1
3727 if (($textvar & TextVars::FC_KERNING) && $i > 0) { // mPDF 5.7.1
3735 if ($textvar & TextVars::FC_KERNING) {
4397 if ($this->usingCoreFont && !($textvar & TextVars::FC_SMALLCAPS) && !($textvar & TextVars::FC_KERNING)) {
4402 elseif (!$this->usingCoreFont && !($textvar & TextVars::FC_SMALLCAPS) && !($textvar & TextVars::FC_KERNING) && !(isset($this->CurrentFont['useOTL']) && ($this->CurrentFont['useOTL'] & 0xFF) && !empty($OTLdata['GPOSinfo']))) {
4423 if (($textvar & TextVars::FD_UNDERLINE) && $txt != '') { // mPDF 5.7.1
4448 if (($textvar & TextVars::FD_LINETHROUGH) && $txt != '') { // mPDF 5.7.1
4506 $textvar = ($textvar | TextVars::FC_KERNING);
4546 $textvar = ($textvar | TextVars::FC_KERNING);
4859 if ($textvar & TextVars::FA_SUPERSCRIPT) {
4861 } elseif ($textvar & TextVars::FA_SUBSCRIPT) {
5149 if (isset($this->textparam['outline-s']) && $this->textparam['outline-s'] && !($textvar & TextVars::FC_SMALLCAPS)) { // mPDF 5.7.1
5153 } elseif ($this->falseBoldWeight && strpos($this->ReqFontStyle, "B") !== false && strpos($this->FontStyle, "B") === false && !($textvar & TextVars::FC_SMALLCAPS)) { // can't use together with OUTLINE or Small Caps // mPDF 5.7.1 ??? why not with SmallCaps ???
5182 if ($this->usingCoreFont && !($textvar & TextVars::FC_SMALLCAPS) && !($textvar & TextVars::FC_KERNING)) {
5187 elseif (!$this->usingCoreFont && !$this->ws && !($textvar & TextVars::FC_SMALLCAPS) && !($textvar & TextVars::FC_KERNING) && !(isset($this->CurrentFont['useOTL']) && ($this->CurrentFont['useOTL'] & 0xFF) && !empty($OTLdata['GPOSinfo']))) {
5201 elseif (!$this->usingCoreFont && $this->ws && !((isset($this->CurrentFont['sip']) && $this->CurrentFont['sip']) || (isset($this->CurrentFont['smp']) && $this->CurrentFont['smp'])) && !($textvar & TextVars::FC_SMALLCAPS) && !($textvar & TextVars::FC_KERNING) && !(isset($this->CurrentFont['useOTL']) && ($this->CurrentFont['useOTL'] & 0xFF) && (!empty($OTLdata['GPOSinfo']) || (strpos($OTLdata['group'], 'M') !== false && $this->charspacing)) )) {
5234 if ($textvar & TextVars::FD_UNDERLINE) { // mPDF 5.7.1 // mPDF 6
5276 if ($textvar & TextVars::FD_LINETHROUGH) { // mPDF 5.7.1 // mPDF 6
5328 if ($textvar & TextVars::FD_OVERLINE) { // mPDF 5.7.1 // mPDF 6
5428 if ($textvar & TextVars::FC_SMALLCAPS) {
5523 if ($textvar & TextVars::FC_KERNING) {
7886 if (($this->textvar & TextVars::FC_KERNING) && $i > 0) { // mPDF 5.7.1
7904 if (($this->textvar & TextVars::FC_KERNING) && $i > 0) { // mPDF 5.7.1
10514 $textvar = ($textvar | TextVars::FC_KERNING);
13454 if ($this->textvar & TextVars::FT_UPPERCASE) {
13457 elseif ($this->textvar & TextVars::FT_LOWERCASE) {
13460 elseif ($this->textvar & TextVars::FT_CAPITALIZE) {
13472 if ($this->textvar & TextVars::FT_UPPERCASE) {
13474 } elseif ($this->textvar & TextVars::FT_LOWERCASE) {
13476 } elseif ($this->textvar & TextVars::FT_CAPITALIZE) {
15783 $this->textvar = ($this->textvar | TextVars::FC_KERNING);
15846 $this->textvar = ($this->textvar | TextVars::FC_KERNING);
18513 $this->textvar = ($this->textvar | TextVars::FA_SUPERSCRIPT); // mPDF 5.7.1
18514 $this->textvar = ($this->textvar & ~TextVars::FA_SUBSCRIPT);
18523 $this->textvar = ($this->textvar | TextVars::FA_SUBSCRIPT);
18524 $this->textvar = ($this->textvar & ~TextVars::FA_SUPERSCRIPT);
18533 $this->textvar = ($this->textvar & ~TextVars::FA_SUBSCRIPT);
18534 $this->textvar = ($this->textvar & ~TextVars::FA_SUPERSCRIPT);
18544 $this->textvar = ($this->textvar & ~TextVars::FA_SUBSCRIPT);
18545 $this->textvar = ($this->textvar & ~TextVars::FA_SUPERSCRIPT);
18548 $this->textvar = ($this->textvar | TextVars::FA_SUPERSCRIPT);
18550 $this->textvar = ($this->textvar | TextVars::FA_SUBSCRIPT);
18613 $this->textvar = ($this->textvar | TextVars::FC_KERNING);
18622 $this->textvar = ($this->textvar & ~TextVars::FC_KERNING);
18659 $this->textvar = ($this->textvar & ~TextVars::FC_SMALLCAPS); // ?????????????? <small-caps>
18666 $this->textvar = ($this->textvar | TextVars::FC_SMALLCAPS);
18807 $this->textvar = ($this->textvar | TextVars::FT_CAPITALIZE); // mPDF 5.7.1
18808 $this->textvar = ($this->textvar & ~TextVars::FT_UPPERCASE); // mPDF 5.7.1
18809 $this->textvar = ($this->textvar & ~TextVars::FT_LOWERCASE); // mPDF 5.7.1
18812 $this->textvar = ($this->textvar | TextVars::FT_UPPERCASE); // mPDF 5.7.1
18813 $this->textvar = ($this->textvar & ~TextVars::FT_LOWERCASE); // mPDF 5.7.1
18814 $this->textvar = ($this->textvar & ~TextVars::FT_CAPITALIZE); // mPDF 5.7.1
18817 $this->textvar = ($this->textvar | TextVars::FT_LOWERCASE); // mPDF 5.7.1
18818 $this->textvar = ($this->textvar & ~TextVars::FT_UPPERCASE); // mPDF 5.7.1
18819 $this->textvar = ($this->textvar & ~TextVars::FT_CAPITALIZE); // mPDF 5.7.1
18823 $this->textvar = ($this->textvar & ~TextVars::FT_UPPERCASE); // mPDF 5.7.1
18824 $this->textvar = ($this->textvar & ~TextVars::FT_LOWERCASE); // mPDF 5.7.1
18825 $this->textvar = ($this->textvar & ~TextVars::FT_CAPITALIZE); // mPDF 5.7.1
18905 $this->textvar = ($this->textvar | TextVars::FD_LINETHROUGH);
18917 $this->textvar = ($this->textvar | TextVars::FD_UNDERLINE);
18929 $this->textvar = ($this->textvar | TextVars::FD_OVERLINE);
18941 $this->textvar = ($this->textvar & ~TextVars::FD_UNDERLINE);
18942 $this->textvar = ($this->textvar & ~TextVars::FD_LINETHROUGH);
18943 $this->textvar = ($this->textvar & ~TextVars::FD_OVERLINE);
25389 $textvar = ($textvar | TextVars::FC_KERNING);