Home
last modified time | relevance | path

Searched refs:s (Results 226 – 250 of 3948) sorted by last modified time

12345678910>>...158

/plugin/dw2pdf/vendor/mpdf/mpdf/src/
H A DGradient.php45 $s = ' q ';
46 $s.=sprintf(' %.3F %.3F %.3F %.3F re W n ', $x * Mpdf::SCALE, ($this->mpdf->h - $y) * Mpdf::SCALE, $w * Mpdf::SCALE, -$h * Mpdf::SCALE);
47 $s.=sprintf(' %.3F 0 0 %.3F %.3F %.3F cm ', $w * Mpdf::SCALE, $h * Mpdf::SCALE, $x * Mpdf::SCALE, ($this->mpdf->h - ($y + $h)) * Mpdf::SCALE);
131 $s .= ' /TGS' . $n . ' gs ';
135 $s .= '/Sh' . $n . ' sh' . "\n";
138 $s .= 'Q' . "\n";
141 return $s;
144 $this->writer->write($s);
285 // -moz If the first parameter is only an <angle>, the gradient axis starts from the box's corner that would ensure the
480 $s
[all...]
H A DMpdf.php1365 if ($mode == 's') {
1372 } elseif (substr($mode, -2) == '-s') {
1465 throw new \Mpdf\MpdfException(sprintf('Unable to read default CSS file "%s"', $this->defaultCssFile));
1555 // this will free up the readers, based on code from Setasign's FpdiTrait::cleanUp()
1866 function SetAdditionalXmpRdf($s)
1868 $this->additionalXmpRdf = $s;
2015 $s = '';
2017 $s .= $this->PrintBodyBackgrounds();
2018 $s .= $this->PrintPageBackgrounds();
2022 "\n" . $s
1855 SetAdditionalXmpRdf($s) global() argument
3578 GetStringWidth($s, $addSubset = true, $OTLdata = false, $textvar = 0, $includeKashida = false) global() argument
7706 WriteFlowingBlock($s, $sOTLdata) global() argument
26839 ConvertAngle($s, $makepositive = true) global() argument
27328 _out($s) global() argument
[all...]
H A DOtl.php834 * when it's there to start with. The string <0E14, 0E4B, 0E4D> is probably
1922 for ($s = 0; $s < $SubClassSetCnt; $s++) { // $SubClassSet is ordered by input class-may be NULL
1924 if ($SubClassSetOffset[$s] > 0 && isset($InputClasses[$s][$currGID])) {
1925 $this->seek($SubClassSetOffset[$s]);
1929 $SubClassRule[$b] = $SubClassSetOffset[$s] + $this->read_ushort();
1941 $inputClass = $s;
2038 for ($s
[all...]
H A DOtlDump.php26 return (sprintf("%05s", strtoupper(dechex($unicode_dec))));
181 throw new \Mpdf\Exception\FontException(sprintf('Unable to open file "%s"', $file));
199 throw new \Mpdf\Exception\FontException(sprintf('Fonts with postscript outlines are not supported (%s)', $file));
262 throw new \Mpdf\Exception\FontException(sprintf('TTF file "%s": invalid checksum %s table: %s (expected %s)', $this->filename, dechex($checksum[0]) . dechex($checksum[1]), $t['tag'], dechex($xchecksum[0]) . dechex($xchecksum[1])));
345 $s = fread($this->fh, 2);
346 $a = (ord($s[0]) << 8) + ord($s[
354 unpack_short($s) global() argument
[all...]
H A DRemoteContentFetcher.php30 $this->logger->debug(sprintf('Fetching (cURL) content of remote URL "%s"', $url), ['context' => LogContext::REMOTE_CONTENT]);
67 $message = sprintf('cURL error: "%s"', curl_error($ch));
92 $this->logger->debug(sprintf('Fetching (socket) content of remote URL "%s"', $url), ['context' => LogContext::REMOTE_CONTENT]);
114 $this->logger->error(sprintf('Socket error "%s": "%s"', $errno, $errstr), ['context' => LogContext::REMOTE_CONTENT]);
125 $s = fgets($fh, 1024);
126 if (!$s) {
131 $s = fgets($fh, 1024);
132 if ($s === "\r\n") {
H A DTTFontFile.php33 return sprintf("%05s", strtoupper(dechex($unicode_dec)));
231 throw new \Mpdf\Exception\FontException(sprintf('Unable to open font file "%s"', $file));
268 throw new \Mpdf\Exception\FontException(sprintf('Fonts with postscript outlines are not supported (%s)', $file));
272 throw new \Mpdf\Exception\FontException(sprintf('TTCfontID for a TrueType Collection is not defined in mPDF "fontdata" configuration (%s)', $file));
276 throw new \Mpdf\Exception\FontException(sprintf('Not a TrueType font: version=%s)', $version));
282 throw new \Mpdf\Exception\FontException(sprintf('Error parsing TrueType Collection: version=%s - (%s)', $version, $file));
335 throw new \Mpdf\Exception\FontException(sprintf('TTF file "%s": invalid checksum %s table: %s (expecte
435 unpack_short($s) global() argument
[all...]
H A DTableOfContents.php307 * It's then a matter of copying the correct page numbers to the original object and letting the TOC functionality
512 $s = '';
514 $s .= $this->mpdf->PrintBodyBackgrounds();
516 $s .= $this->mpdf->PrintPageBackgrounds();
517 $this->mpdf->pages[$this->mpdf->page] = preg_replace('/(___BACKGROUND___PATTERNS' . $this->mpdf->uniqstr . ')/', "\n" . $s . "\n" . '\\1', $this->mpdf->pages[$this->mpdf->page]);
/plugin/dw2pdf/vendor/mpdf/mpdf/src/Image/
H A DBmp.php165 * @param $s
168 private function _fourbytes2int_le($s) argument
170 return (ord($s[3]) << 24) + (ord($s[2]) << 16) + (ord($s[1]) << 8) + ord($s[0]);
176 * @param $s
179 private function _twobytes2int_le($s) argument
181 return (ord(substr($s, 1, 1)) << 8) + ord(substr($s,
[all...]
H A DImageProcessor.php164 if (preg_match('/var:\s*(.*)/', $file, $v)) {
211 if ($firsttime && isset($this->failedImages[$file])) { // Save re-trying image URL's which have already failed
222 $this->logger->debug(sprintf('Fetching (file_get_contents) content of file "%s" with local basepath', $file), ['context' => LogContext::REMOTE_CONTENT]);
229 $this->logger->debug(sprintf('Fetching (file_get_contents) content of file "%s" with non-local basepath', $file), ['context' => LogContext::REMOTE_CONTENT]);
334 throw new \Mpdf\MpdfException(sprintf('JPG image may not use CMYK color space (%s).', $file));
338 $this->mpdf->PDFAXwarnings[] = sprintf('JPG image may not use CMYK color space - %s - (Image converted to RGB. NB This will alter the colour profile of the image.)', $file);
373 $this->mpdf->PDFAXwarnings[] = sprintf('JPG image may not use RGB color space - %s - (Image converted to CMYK. NB This will alter the colour profile of the image.)', $file);
519 // "If the source file's gamma value is greater than 1.0, it is probably a display system exponent,..."
523 // Test Case - image(s) on http://www.w3.org/TR/CSS21/intro.html - PNG has gAMA set as 1.45454
550 $this->mpdf->PDFAXwarnings[] = sprintf('PNG image may not use RGB color space - %s
1361 translateValue($s, $bpc) global() argument
1378 fourBytesToInt($s) global() argument
1387 twoBytesToInt($s) global() argument
[all...]
H A DSvg.php299 $ar = preg_split('/\s+/', strtolower($par));
352 $s = ' q 0 w '; // Line width=0
353 $s .= sprintf('%.3F %.3F m ', ($x) * $this->kp, (-($y + $h)) * $this->kp); // start point TL before the arc
354 $s .= sprintf('%.3F %.3F l ', ($x) * $this->kp, (-($y)) * $this->kp); // line to BL
355 $s .= sprintf('%.3F %.3F l ', ($x + $w) * $this->kp, (-($y)) * $this->kp); // line to BR
356 $s .= sprintf('%.3F %.3F l ', ($x + $w) * $this->kp, (-($y + $h)) * $this->kp); // line to TR
357 $s .= sprintf('%.3F %.3F l ', ($x) * $this->kp, (-($y + $h)) * $this->kp); // line to TL
358 $s .= ' W n '; // Ends path no-op & Sets the clipping path
359 $this->svgWriteString($s);
1043 $vb = preg_split('/\s
[all...]
H A DWmf.php156 $s = '[';
158 $s .= $dashArray[$i] * $k;
160 $s .= ' ';
163 $s .= '] 0 d';
164 $wmfdata .= $s . "\n";
171 $coords = unpack('s' . ($size - 3), $parms);
184 $op = 's';
195 $op = 's';
208 $coords = unpack('s' . ($size - 3), $parms);
234 $op = 's';
[all...]
/plugin/dw2pdf/vendor/mpdf/mpdf/src/Pdf/
H A DProtection.php240 throw new \Mpdf\MpdfException(sprintf('Invalid permission type "%s"', $permission));
348 $s = '';
355 $s .= chr(hexdec($hs[$i] . $hs[($i + 1)]));
358 return $s;
/plugin/dw2pdf/vendor/mpdf/mpdf/src/Shaper/
H A DIndic.php99 's',
208 public static function set_syllables(&$o, $s, &$broken_syllables) argument
214 while ($ptr < strlen($s)) {
220 if (preg_match('/^([CR]m*[N]?(H[ZJ]?|[ZJ]H))*[CR]m*[N]?[A]?(H[ZJ]?|[M]*[N]?[H]?)?[S]?[v]{0,2}/', substr($s, $ptr), $ma)) {
222 //if (preg_match('/^r?([CR]J?(Z?[N]{0,2})?[ZJ]?H(J[N]?)?){0,4}[CR]J?(Z?[N]{0,2})?A?((([ZJ]?H(J[N]?)?)|HZ)|(HJ)?([ZJ]{0,3}M[N]?(H|JHJR)?){0,4})?(S[Z]?)?[v]{0,2}/', substr($s,$ptr), $ma)) {
227 elseif (preg_match('/^(RH|r)?V[N]?([ZJ]?H[CR]m*|J[CR]m*)?([M]*[N]?[H]?)?[S]?[v]{0,2}/', substr($s, $ptr), $ma)) {
229 //else if (preg_match('/^(RH|r)?V(Z?[N]{0,2})?(J|([ZJ]?H(J[N]?)?[CR]J?(Z?[N]{0,2})?){0,4}((([ZJ]?H(J[N]?)?)|HZ)|(HJ)?([ZJ]{0,3}M[N]?(H|JHJR)?){0,4})?(S[Z]?)?[v]{0,2})/', substr($s,$ptr), $ma)) {
232 } /* Apply only if it's a word start. */
238 ) && (preg_match('/^(RH|r)?[sD][N]?([ZJ]?H[CR]m*)?([M]*[N]?[H]?)?[S]?[v]{0,2}/', substr($s, $ptr), $ma))) {
240 // && (preg_match('/^(RH|r)?[sD](Z?[N]{0,2})?(([ZJ]?H(J[N]?)?)[CR]J?(Z?[N]{0,2})?){0,4}((([ZJ]?H(J[N]?)?)|HZ)|(HJ)?([ZJ]{0,3}M[N]?(H|JHJR)?){0,4})?(S[Z]?)?[v]{0,2}/', substr($s,
265 set_syllables_sinhala(& $o, $s, & $broken_syllables) global() argument
298 set_syllables_khmer(& $o, $s, & $broken_syllables) global() argument
[all...]
H A DMyanmar.php110 's', /* variation Selector */
262 public static function set_syllables(&$o, $s, &$broken_syllables) argument
268 while ($ptr < strlen($s)) {
274 if (preg_match('/^(RaH)?([C|R]|V|d|D)[s]?(H([C|R|V])[s]?)*(H|[a]*[n]?[l]?((m[k]?|k)[a]?)?[e]*[v]*[b]*[A]*(N[a]?)?(t[k]?[a]*[v]*[A]*(N[a]?)?)*(p[A]*(N[a]?)?)*S*[J|Z]?)/', substr($s, $ptr), $ma)) {
278 elseif (preg_match('/^(RaH)?s?(H|[a]*[n]?[l]?((m[k]?|k)[a]?)?[e]*[v]*[b]*[A]*(N[a]?)?(t[k]?[a]*[v]*[A]*(N[a]?)?)*(p[A]*(N[a]?)?)*S*[J|Z]?)/', substr($s, $ptr), $ma)) {
H A DSea.php171 public static function set_syllables(&$o, $s, &$broken_syllables) argument
176 while ($ptr < strlen($s)) {
182 if (preg_match('/^(C|V|G)(p|a|b|t|HC|M|R|T|A)*/', substr($s, $ptr), $ma)) {
186 elseif (preg_match('/^(p|a|b|t|HC|M|R|T|A)+/', substr($s, $ptr), $ma)) {
/plugin/dw2pdf/vendor/mpdf/mpdf/src/Tag/
H A DBlockTag.php117 if ($this->mpdf->cell[$this->mpdf->row][$this->mpdf->col]['s'] > 0 && !$this->mpdf->nestedtablejustfinished) {
120 $this->mpdf->cell[$this->mpdf->row][$this->mpdf->col]['maxs'] = $this->mpdf->cell[$this->mpdf->row][$this->mpdf->col]['s'];
121 } elseif ($this->mpdf->cell[$this->mpdf->row][$this->mpdf->col]['maxs'] < $this->mpdf->cell[$this->mpdf->row][$this->mpdf->col]['s']) {
122 $this->mpdf->cell[$this->mpdf->row][$this->mpdf->col]['maxs'] = $this->mpdf->cell[$this->mpdf->row][$this->mpdf->col]['s'];
124 $this->mpdf->cell[$this->mpdf->row][$this->mpdf->col]['s'] = 0; // reset
219 $this->mpdf->cell[$this->mpdf->row][$this->mpdf->col]['s'] += $this->mpdf->GetStringWidth($ls);
1054 $s = $this->mpdf->PrintPageBackgrounds();
1058 '\\1' . "\n" . $s . "\n",
1147 $s = $this->mpdf->PrintPageBackgrounds();
1149 $this->mpdf->pages[$this->mpdf->page] = preg_replace('/(___BACKGROUND___PATTERNS' . $this->mpdf->uniqstr . ')/', '\\1' . "\n" . $s
[all...]
/plugin/dw2pdf/vendor/mpdf/mpdf/src/Writer/
H A DBackgroundWriter.php208 $s = sprintf('q %.3F 0 0 %.3F %.3F %.3F cm /FO%d Do Q', $orig_w / $fo_w, -$orig_h / $fo_h, -($orig_w / $fo_w) * $wmf_x, ($orig_w / $fo_w) * $wmf_y, $image_id);
211 $s = sprintf('q %.3F 0 0 %.3F 0 0 cm /I%d Do Q', $orig_w, $orig_h, $image_id);
216 $s = gzcompress($s);
218 $this->writer->write('/Length ' . strlen($s) . '>>');
219 $this->writer->stream($s);
H A DBaseWriter.php30 public function write($s, $ln = true)
33 $this->endPage($s, $ln);
35 $this->mpdf->buffer .= $s . ($ln ? "\n" : '');
39 public function string($s)
42 $s = $this->protection->rc4($this->protection->objectKey($this->mpdf->currentObjectNumber), $s);
45 return '(' . $this->escape($s) . ')';
62 public function stream($s)
65 $s = $this->protection->rc4($this->protection->objectKey($this->mpdf->currentObjectNumber), $s);
31 write($s, $ln = true) global() argument
40 string($s) global() argument
63 stream($s) global() argument
74 utf16BigEndianTextString($s) global() argument
107 escape($s) global() argument
112 escapeSlashes($s) global() argument
123 unescape($s) global() argument
182 endPage($s, $ln) global() argument
[all...]
H A DFontWriter.php201 $toUnistring .= sprintf("<%02s> <%02s%02s%02s%02s>\n", strtoupper(dechex($cp)), strtoupper(dechex($l1)), strtoupper(dechex($h1)), strtoupper(dechex($l2)), strtoupper(dechex($h2)));
203 $toUnistring .= sprintf("<%02s> <%04s>\n", strtoupper(dechex($cp)), strtoupper(dechex($u)));
226 $s = '<</Type /FontDescriptor /FontName /' . $subsetname . "\n";
232 $s .= ' /' . $kd . ' ' . $v . "\n";
234 $s
[all...]
H A DMetadataWriter.php59 $CreationDate = date('Y-m-d\TH:i:s') . $offset; // 2006-03-10T10:47:26-05:00 2006-06-19T09:05:17Z
126 throw new \Mpdf\MpdfException(sprintf('PDFA version (%s) is not valid. (Use: 1-B, 3-B, etc.)', $this->mpdf->PDFAversion));
233 throw new \Mpdf\MpdfException(sprintf('Unable to find ICC profile "%s"', $this->mpdf->ICCProfile));
235 $s = file_get_contents($this->mpdf->ICCProfile);
237 $s = file_get_contents(__DIR__ . '/../../data/iccprofiles/sRGB_IEC61966-2-1.icc');
241 $s = gzcompress($s);
256 $this->writer->write('/Length ' . strlen($s) . '>>');
257 $this->writer->stream($s);
296 throw new \Mpdf\MpdfException(sprintf('Cannot access associated file - %s',
[all...]
H A DPageWriter.php122 $thispage = preg_replace('/\s\/F' . $fid . ' \d[\d.]* Tf\s/is', ' ', $thispage);
125 $thispage = preg_replace('/\s\/F' . $this->mpdf->fonts[$fk]['i'] . ' \d[\d.]* Tf\s/is', ' ', $thispage);
133 $thispage = preg_replace('/(\s*___BACKGROUND___PATTERNS' . $this->mpdf->uniqstr . '\s*)/', ' ', $thispage);
134 $thispage = preg_replace('/(\s*___HEADER___MARKER' . $this->mpdf->uniqstr . '\s*)/', ' ', $thispage);
135 $thispage = preg_replace('/(\s*___PAGE___START' . $this->mpdf->uniqstr . '\s*)/', ' ',
[all...]
/plugin/dw2pdf/vendor/mpdf/mpdf/ttfonts/
H A DTharlonOFL.txt30 Holder(s) under this license and clearly marked as such. This may
34 copyright statement(s).
37 distributed by the Copyright Holder(s).
64 Name(s) unless explicit written permission is granted by the corresponding
68 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
70 Modified Version, except to acknowledge the contribution(s) of the
71 Copyright Holder(s) and the Author(s) o
[all...]
H A Docrbinfo.txt6 A freely distributable version seems to be sorely needed. Until now, it's
25 Schwarz in the 1980s, based on German standards documents. He has attached
33 (Matthew Skala's) understanding of copyright law, at least in the USA and
36 and Schwarz's release makes it available for whatever "non commercial use"
/plugin/dw2pdf/vendor/setasign/fpdi/src/PdfParser/Type/
H A DPdfString.php85 * @param string $s
88 public static function unescape($s) argument
92 for ($count = 0, $n = \strlen($s); $count < $n; $count++) {
93 if ($s[$count] !== '\\') {
94 $out .= $s[$count];
101 switch ($s[++$count]) {
105 $out .= $s[$count];
129 if ($count !== $n - 1 && $s[$count + 1] === "\n") {
138 $actualChar = \ord($s[$count]);
143 $oct = '' . $s[
[all...]
/plugin/dw2pdf/vendor/setasign/fpdi/src/Tfpdf/
H A DFpdi.php148 protected function _put($s, $newLine = true) argument
151 $this->buffer .= $s . "\n";
153 $this->buffer .= $s;

12345678910>>...158