Lines Matching refs:i

68 		$i = 0;
76 while ($i < $nb) {
78 $c = mb_substr($s, $i, 1, $this->mpdf->mb_enc);
83 $tmp = rtrim(mb_substr($s, $j, $i - $j, $this->mpdf->mb_enc));
85 $i++;
87 $j = $i;
102 $sep = $i;
120 $i++;
124 if ($i == $j) {
125 $i++;
127 $tmp = rtrim(mb_substr($s, $j, $i - $j, $this->mpdf->mb_enc));
150 $i = $sep + 1;
153 $j = $i;
166 $i++;
173 while ($i < $nb) {
175 $c = $s[$i];
180 $this->mpdf->Cell($w, $h, substr($s, $j, $i - $j), 0, 2, $align, $fill, $link);
181 $i++;
183 $j = $i;
198 $sep = $i;
216 $i++;
220 if ($i == $j) {
221 $i++;
223 $this->mpdf->Cell($w, $h, substr($s, $j, $i - $j), 0, 2, $align, $fill, $link);
240 $i = $sep + 1;
243 $j = $i;
256 $i++;
263 if ($i != $j) {
270 $tmp = substr($s, $j, $i - $j);
272 $tmp = mb_substr($s, $j, $i - $j, $this->mpdf->mb_enc);
307 for ($i = 0; $i < $nb; $i++) {
308 $w[$i] = $this->mpdf->GetStringWidth($text[$i]);
309 $w[$i]*=$kerning * $fontwidth;
310 $t+=$w[$i];
316 for ($i = 0; $i < $nb; $i++) {
317 $c = mb_substr($text, $i, 1, $this->mpdf->mb_enc);
318 $w[$i] = $this->mpdf->GetStringWidth($c);
319 $w[$i]*=$kerning * $fontwidth;
320 $char = $unicode[$i];
323 $w[$i] += $tk / 2;
324 $w[$i - 1] += $tk / 2;
328 $t+=$w[$i];
362 for ($i = 0; $i < $nb; $i++) {
367 if ($i === 0) {
368 $this->mpdf->transformRotate((($w[$i] / 2) / $u) * 360, $x, $y);
370 $this->mpdf->transformRotate((($w[$i] / 2 + $w[$i - 1] / 2) / $u) * 360, $x, $y);
378 $this->mpdf->SetXY($x - $w[$i] / 2, $y - $r);
383 if ($i === 0) {
384 $this->mpdf->transformRotate(-(($w[$i] / 2) / $u) * 360, $x, $y);
386 $this->mpdf->transformRotate(-(($w[$i] / 2 + $w[$i - 1] / 2) / $u) * 360, $x, $y);
393 $this->mpdf->SetXY($x - $w[$i] / 2, $y + $r - $this->mpdf->FontSize);
397 $c = $text[$i];
399 $c = mb_substr($text, $i, 1, $this->mpdf->mb_enc);
402 $this->mpdf->Cell($w[$i], $this->mpdf->FontSize, $c, 0, 0, 'C'); // mPDF 5.3.53