Änderungen https Andy Müller rückgängig gemacht
This commit is contained in:
parent
faad1bfa71
commit
6c8e6aff95
@ -5,7 +5,7 @@ Copyright (c) 2014-2020, CKSource - Frederico Knabben. All rights reserved.
|
||||
|
||||
Online builder code samples are licensed under the terms of the MIT License (see Appendix A):
|
||||
|
||||
https://en.wikipedia.org/wiki/MIT_License
|
||||
http://en.wikipedia.org/wiki/MIT_License
|
||||
|
||||
CKEditor 5 collaboration features are only available under a commercial license. [Contact us](https://ckeditor.com/contact/) for more details.
|
||||
|
||||
|
2
ckeditor5/build/ckeditor.js
vendored
2
ckeditor5/build/ckeditor.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -37,8 +37,8 @@
|
||||
// is_dec, is_sinix, is_freebsd, is_bsd
|
||||
// is_vms
|
||||
//
|
||||
// See https://www.it97.de/JavaScript/JS_tutorial/bstat/navobj.html and
|
||||
// https://www.it97.de/JavaScript/JS_tutorial/bstat/Browseraol.html
|
||||
// See http://www.it97.de/JavaScript/JS_tutorial/bstat/navobj.html and
|
||||
// http://www.it97.de/JavaScript/JS_tutorial/bstat/Browseraol.html
|
||||
// for detailed lists of userAgent strings.
|
||||
//
|
||||
// Note: you don't want your Nav4 or IE4 code to "turn off" or
|
||||
|
@ -5,7 +5,7 @@
|
||||
* | that the code is free to use for non-commercial purposes. For commercial |
|
||||
* | purposes of any kind there is a small license fee to pay. You can read more |
|
||||
* | at: |
|
||||
* | https://www.phpguru.org/static/license.html |
|
||||
* | http://www.phpguru.org/static/license.html |
|
||||
* o------------------------------------------------------------------------------o
|
||||
*
|
||||
* © Copyright 2008 Richard Heyes
|
||||
|
@ -3,9 +3,9 @@ fancyBox
|
||||
|
||||
fancyBox is a tool that offers a nice and elegant way to add zooming functionality for images, html content and multi-media on your webpages.
|
||||
|
||||
More information and examples: https://www.fancyapps.com/fancybox/
|
||||
More information and examples: http://www.fancyapps.com/fancybox/
|
||||
|
||||
License: https://www.fancyapps.com/fancybox/#license
|
||||
License: http://www.fancyapps.com/fancybox/#license
|
||||
|
||||
Copyright (c) 2017 fancyapps.com
|
||||
|
||||
@ -18,7 +18,7 @@ Load files in the <head> section of your HTML document. Make sure you also add t
|
||||
|
||||
```html
|
||||
<head>
|
||||
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
|
||||
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
|
||||
<link rel="stylesheet" href="/fancybox/jquery.fancybox.css" type="text/css" media="screen" />
|
||||
<script type="text/javascript" src="/fancybox/jquery.fancybox.pack.js"></script>
|
||||
</head>
|
||||
@ -90,7 +90,7 @@ You can specify type directly by adding classname (fancybox.image, fancybox.ifra
|
||||
<a href="example.jpg" class="fancybox">Example</a>
|
||||
```
|
||||
|
||||
Note, ajax requests are subject to the [same origin policy](https://en.wikipedia.org/wiki/Same_origin_policy).
|
||||
Note, ajax requests are subject to the [same origin policy](http://en.wikipedia.org/wiki/Same_origin_policy).
|
||||
If fancyBox will not be able to get content type, it will try to guess based on 'href' and will quit silently if would not succeed.
|
||||
(this is different from previsous versions where 'ajax' was used as default type or an error message was displayed).
|
||||
|
||||
|
@ -12,7 +12,7 @@
|
||||
"ui"
|
||||
],
|
||||
"license": "GPLv3",
|
||||
"homepage": "https://fancyapps.com/fancybox/",
|
||||
"homepage": "http://fancyapps.com/fancybox/",
|
||||
"main": [
|
||||
"source/jquery.fancybox.css",
|
||||
"source/jquery.fancybox.pack.js",
|
||||
|
@ -215,7 +215,7 @@
|
||||
<body>
|
||||
<h1>fancyBox</h1>
|
||||
|
||||
<p>This is a demonstration. More information and examples: <a href="https://fancyapps.com/fancybox/">www.fancyapps.com/fancybox/</a></p>
|
||||
<p>This is a demonstration. More information and examples: <a href="http://fancyapps.com/fancybox/">www.fancyapps.com/fancybox/</a></p>
|
||||
|
||||
<h3>Simple image gallery</h3>
|
||||
<p>
|
||||
@ -247,7 +247,7 @@
|
||||
<li><a class="fancybox" href="#inline1" title="Lorem ipsum dolor sit amet">Inline</a></li>
|
||||
<li><a class="fancybox fancybox.ajax" href="ajax.txt">Ajax</a></li>
|
||||
<li><a class="fancybox fancybox.iframe" href="iframe.html">Iframe</a></li>
|
||||
<li><a class="fancybox" href="https://www.adobe.com/jp/events/cs3_web_edition_tour/swfs/perform.swf">Swf</a></li>
|
||||
<li><a class="fancybox" href="http://www.adobe.com/jp/events/cs3_web_edition_tour/swfs/perform.swf">Swf</a></li>
|
||||
</ul>
|
||||
|
||||
<div id="inline1" style="width:400px;display: none;">
|
||||
@ -289,13 +289,13 @@
|
||||
</p>
|
||||
|
||||
<ul>
|
||||
<li><a class="fancybox-media" href="https://www.youtube.com/watch?v=opj24KnzrWo">Youtube</a></li>
|
||||
<li><a class="fancybox-media" href="https://vimeo.com/47480346">Vimeo</a></li>
|
||||
<li><a class="fancybox-media" href="https://www.metacafe.com/watch/7635964/">Metacafe</a></li>
|
||||
<li><a class="fancybox-media" href="https://www.dailymotion.com/video/xoeylt_electric-guest-this-head-i-hold_music">Dailymotion</a></li>
|
||||
<li><a class="fancybox-media" href="https://twitvid.com/QY7MD">Twitvid</a></li>
|
||||
<li><a class="fancybox-media" href="https://twitpic.com/7p93st">Twitpic</a></li>
|
||||
<li><a class="fancybox-media" href="https://instagr.am/p/IejkuUGxQn">Instagram</a></li>
|
||||
<li><a class="fancybox-media" href="http://www.youtube.com/watch?v=opj24KnzrWo">Youtube</a></li>
|
||||
<li><a class="fancybox-media" href="http://vimeo.com/47480346">Vimeo</a></li>
|
||||
<li><a class="fancybox-media" href="http://www.metacafe.com/watch/7635964/">Metacafe</a></li>
|
||||
<li><a class="fancybox-media" href="http://www.dailymotion.com/video/xoeylt_electric-guest-this-head-i-hold_music">Dailymotion</a></li>
|
||||
<li><a class="fancybox-media" href="http://twitvid.com/QY7MD">Twitvid</a></li>
|
||||
<li><a class="fancybox-media" href="http://twitpic.com/7p93st">Twitpic</a></li>
|
||||
<li><a class="fancybox-media" href="http://instagr.am/p/IejkuUGxQn">Instagram</a></li>
|
||||
</ul>
|
||||
|
||||
<h3>Open manually</h3>
|
||||
|
@ -13,17 +13,17 @@
|
||||
"version": "2.1.5",
|
||||
"author": {
|
||||
"name": "Janis Skarnelis",
|
||||
"url": "https://fancyapps.com/contact/"
|
||||
"url": "http://fancyapps.com/contact/"
|
||||
},
|
||||
"licenses": [
|
||||
{
|
||||
"type": "fancyBox",
|
||||
"url": "https://fancyapps.com/fancybox/#license"
|
||||
"url": "http://fancyapps.com/fancybox/#license"
|
||||
}
|
||||
],
|
||||
"homepage": "https://fancyapps.com/fancybox/",
|
||||
"docs": "https://fancyapps.com/fancybox/#docs",
|
||||
"download": "https://fancyapps.com/fancybox/#license",
|
||||
"homepage": "http://fancyapps.com/fancybox/",
|
||||
"docs": "http://fancyapps.com/fancybox/#docs",
|
||||
"download": "http://fancyapps.com/fancybox/#license",
|
||||
"bugs": "https://github.com/fancyapps/fancyBox/issues",
|
||||
"dependencies": {
|
||||
"jquery": ">=1.7"
|
||||
|
2
fancybox-2.1.7/lib/jquery-1.10.2.min.js
vendored
2
fancybox-2.1.7/lib/jquery-1.10.2.min.js
vendored
File diff suppressed because one or more lines are too long
@ -1,8 +1,8 @@
|
||||
/*! Copyright (c) 2013 Brandon Aaron (https://brandonaaron.net)
|
||||
/*! Copyright (c) 2013 Brandon Aaron (http://brandonaaron.net)
|
||||
* Licensed under the MIT License (LICENSE.txt).
|
||||
*
|
||||
* Thanks to: https://adomas.org/javascript-mouse-wheel/ for some pointers.
|
||||
* Thanks to: Mathias Bank(https://www.mathias-bank.de) for a scope bug fix.
|
||||
* Thanks to: http://adomas.org/javascript-mouse-wheel/ for some pointers.
|
||||
* Thanks to: Mathias Bank(http://www.mathias-bank.de) for a scope bug fix.
|
||||
* Thanks to: Seamus Leahy for adding deltaX and deltaY
|
||||
*
|
||||
* Version: 3.1.3
|
||||
|
@ -12,7 +12,7 @@
|
||||
"ui"
|
||||
],
|
||||
"license": "GPLv3",
|
||||
"homepage": "https://fancyapps.com/fancybox/",
|
||||
"homepage": "http://fancyapps.com/fancybox/",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/fancyapps/fancyBox"
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 1007 B After Width: | Height: | Size: 1003 B |
@ -36,31 +36,31 @@
|
||||
* Supports:
|
||||
*
|
||||
* Youtube
|
||||
* https://www.youtube.com/watch?v=opj24KnzrWo
|
||||
* https://www.youtube.com/embed/opj24KnzrWo
|
||||
* https://youtu.be/opj24KnzrWo
|
||||
* https://www.youtube-nocookie.com/embed/opj24KnzrWo
|
||||
* http://www.youtube.com/watch?v=opj24KnzrWo
|
||||
* http://www.youtube.com/embed/opj24KnzrWo
|
||||
* http://youtu.be/opj24KnzrWo
|
||||
* http://www.youtube-nocookie.com/embed/opj24KnzrWo
|
||||
* Vimeo
|
||||
* https://vimeo.com/40648169
|
||||
* https://vimeo.com/channels/staffpicks/38843628
|
||||
* https://vimeo.com/groups/surrealism/videos/36516384
|
||||
* https://player.vimeo.com/video/45074303
|
||||
* http://vimeo.com/40648169
|
||||
* http://vimeo.com/channels/staffpicks/38843628
|
||||
* http://vimeo.com/groups/surrealism/videos/36516384
|
||||
* http://player.vimeo.com/video/45074303
|
||||
* Metacafe
|
||||
* https://www.metacafe.com/watch/7635964/dr_seuss_the_lorax_movie_trailer/
|
||||
* https://www.metacafe.com/watch/7635964/
|
||||
* http://www.metacafe.com/watch/7635964/dr_seuss_the_lorax_movie_trailer/
|
||||
* http://www.metacafe.com/watch/7635964/
|
||||
* Dailymotion
|
||||
* https://www.dailymotion.com/video/xoytqh_dr-seuss-the-lorax-premiere_people
|
||||
* http://www.dailymotion.com/video/xoytqh_dr-seuss-the-lorax-premiere_people
|
||||
* Twitvid
|
||||
* https://twitvid.com/QY7MD
|
||||
* http://twitvid.com/QY7MD
|
||||
* Twitpic
|
||||
* https://twitpic.com/7p93st
|
||||
* http://twitpic.com/7p93st
|
||||
* Instagram
|
||||
* https://instagr.am/p/IejkuUGxQn/
|
||||
* https://instagram.com/p/IejkuUGxQn/
|
||||
* http://instagr.am/p/IejkuUGxQn/
|
||||
* http://instagram.com/p/IejkuUGxQn/
|
||||
* Google maps
|
||||
* https://maps.google.com/maps?q=Eiffel+Tower,+Avenue+Gustave+Eiffel,+Paris,+France&t=h&z=17
|
||||
* https://maps.google.com/?ll=48.857995,2.294297&spn=0.007666,0.021136&t=m&z=16
|
||||
* https://maps.google.com/?ll=48.859463,2.292626&spn=0.000965,0.002642&t=m&z=19&layer=c&cbll=48.859524,2.292532&panoid=YJ0lq28OOy3VT2IqIuVY0g&cbp=12,151.58,,0,-15.56
|
||||
* http://maps.google.com/maps?q=Eiffel+Tower,+Avenue+Gustave+Eiffel,+Paris,+France&t=h&z=17
|
||||
* http://maps.google.com/?ll=48.857995,2.294297&spn=0.007666,0.021136&t=m&z=16
|
||||
* http://maps.google.com/?ll=48.859463,2.292626&spn=0.000965,0.002642&t=m&z=19&layer=c&cbll=48.859524,2.292532&panoid=YJ0lq28OOy3VT2IqIuVY0g&cbp=12,151.58,,0,-15.56
|
||||
*/
|
||||
;(function ($) {
|
||||
"use strict";
|
||||
|
8
fancybox-2.1.7/source/jquery.fancybox.js
vendored
8
fancybox-2.1.7/source/jquery.fancybox.js
vendored
@ -3,7 +3,7 @@
|
||||
* version: 2.1.7 (Tue, 28 Feb 2017)
|
||||
* requires jQuery v1.6 or later
|
||||
*
|
||||
* Examples at https://fancyapps.com/fancybox/
|
||||
* Examples at http://fancyapps.com/fancybox/
|
||||
* License: www.fancyapps.com/fancybox/#license
|
||||
*
|
||||
* Copyright 2017 fancyapps.com
|
||||
@ -651,7 +651,7 @@
|
||||
rez.h = locked[0].clientHeight;
|
||||
|
||||
} else {
|
||||
// See https://bugs.jquery.com/ticket/6724
|
||||
// See http://bugs.jquery.com/ticket/6724
|
||||
rez.w = isTouch && window.innerWidth ? window.innerWidth : W.width();
|
||||
rez.h = isTouch && window.innerHeight ? window.innerHeight : W.height();
|
||||
}
|
||||
@ -1655,7 +1655,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
// Workaround for https://bugs.jquery.com/ticket/12273
|
||||
// Workaround for http://bugs.jquery.com/ticket/12273
|
||||
if (effect === 'none') {
|
||||
F._afterZoomIn();
|
||||
|
||||
@ -1974,7 +1974,7 @@
|
||||
var w1, w2;
|
||||
|
||||
if ( $.scrollbarWidth === undefined ) {
|
||||
// https://benalman.com/projects/jquery-misc-plugins/#scrollbarwidth
|
||||
// http://benalman.com/projects/jquery-misc-plugins/#scrollbarwidth
|
||||
$.scrollbarWidth = function() {
|
||||
var parent = $('<div style="width:50px;height:50px;overflow:auto"><div/></div>').appendTo('body'),
|
||||
child = parent.children(),
|
||||
|
Binary file not shown.
2
mpdf/composer.lock
generated
2
mpdf/composer.lock
generated
@ -203,7 +203,7 @@
|
||||
"authors": [
|
||||
{
|
||||
"name": "PHP-FIG",
|
||||
"homepage": "https://www.php-fig.org/"
|
||||
"homepage": "http://www.php-fig.org/"
|
||||
}
|
||||
],
|
||||
"description": "Common interface for logging libraries",
|
||||
|
Binary file not shown.
4
mpdf/vendor/composer/ClassLoader.php
vendored
4
mpdf/vendor/composer/ClassLoader.php
vendored
@ -37,8 +37,8 @@ namespace Composer\Autoload;
|
||||
*
|
||||
* @author Fabien Potencier <fabien@symfony.com>
|
||||
* @author Jordi Boggiano <j.boggiano@seld.be>
|
||||
* @see https://www.php-fig.org/psr/psr-0/
|
||||
* @see https://www.php-fig.org/psr/psr-4/
|
||||
* @see http://www.php-fig.org/psr/psr-0/
|
||||
* @see http://www.php-fig.org/psr/psr-4/
|
||||
*/
|
||||
class ClassLoader
|
||||
{
|
||||
|
2
mpdf/vendor/composer/installed.json
vendored
2
mpdf/vendor/composer/installed.json
vendored
@ -205,7 +205,7 @@
|
||||
"authors": [
|
||||
{
|
||||
"name": "PHP-FIG",
|
||||
"homepage": "https://www.php-fig.org/"
|
||||
"homepage": "http://www.php-fig.org/"
|
||||
}
|
||||
],
|
||||
"description": "Common interface for logging libraries",
|
||||
|
12
mpdf/vendor/mpdf/mpdf/CHANGELOG.md
vendored
12
mpdf/vendor/mpdf/mpdf/CHANGELOG.md
vendored
@ -283,7 +283,7 @@ Bug Fixes & Minor Additions
|
||||
- SVG text which contains a `<` sign, it will break the text - now processed as `<` (despite the fact that this does not conform to XML spec)
|
||||
- SVG images - support automatic font selection and (minimal) use of CSS classes - cf. the defined constants at top of svg.php file
|
||||
- SVG images - text-anchor now supported as a CSS style, as well as an HTML attribute
|
||||
- CSS support for :nth-child() selector improved to fully support the draft CSS3 spec - https://www.w3.org/TR/selectors/#nth-child-pseudo
|
||||
- CSS support for :nth-child() selector improved to fully support the draft CSS3 spec - http://www.w3.org/TR/selectors/#nth-child-pseudo
|
||||
[NB only works on table columns or rows]
|
||||
- text-indent when set as "em" - incorrectly calculated if last text in line in different font size than for block
|
||||
- CSS not applying cascaded styles on `<A>` elements - [changed MergeCSS() type to INLINE for 'A', LEGEND, METER and PROGRESS]
|
||||
@ -294,7 +294,7 @@ Bug Fixes & Minor Additions
|
||||
- bug fixed in Overwrite() when specifying replacement as a string
|
||||
- barcode C93 - updated C93 code from TCPDF because of bug - incorrect checksum character for "153-2-4"
|
||||
- Tables - bug when using colspan across columns which may have a cell width specified
|
||||
cf. https://www.mpdf1.com/forum/discussion/2221/colspan-bug
|
||||
cf. http://www.mpdf1.com/forum/discussion/2221/colspan-bug
|
||||
- Tables - cell height (when specified) is not resized when table is shrunk
|
||||
- Tables - if table width specified, but narrower than minimum cell wdith, and less than page width - table will expand to
|
||||
minimum cell width(s) as long as $keep_table_proportions = true
|
||||
@ -315,7 +315,7 @@ Bug Fixes & Minor Additions
|
||||
--------------------------------
|
||||
|
||||
NB Spec. for embedded SVG images:
|
||||
as per https://www.w3.org/TR/2003/REC-SVG11-20030114/struct.html#ImageElement
|
||||
as per http://www.w3.org/TR/2003/REC-SVG11-20030114/struct.html#ImageElement
|
||||
Attributes supported:
|
||||
- x
|
||||
- y
|
||||
@ -338,7 +338,7 @@ Bug Fixes & Minor Additions
|
||||
- Tables - cellSpacing and cellPadding taking preference over CSS stylesheet
|
||||
- Tables - background images in table inside HTML Footer incorrectly positioned
|
||||
- Tables - cell in a nested table with a specified width, should determine width of parent table cell
|
||||
(cf. https://www.mpdf1.com/forum/discussion/1648/nested-table-bug-)
|
||||
(cf. http://www.mpdf1.com/forum/discussion/1648/nested-table-bug-)
|
||||
- Tables - colspan (on a row after first row) exceeds number of columns in table
|
||||
- Gradients in Imported documents (mPDFI) causing error in some browsers
|
||||
- Fatal error after page-break-after:always on root level block element
|
||||
@ -360,7 +360,7 @@ Bug Fixes & Minor Additions
|
||||
- tables - font size carrying over from one nested table to the next nested table
|
||||
- tables - border set as attribute on `<TABLE>` overrides border set as CSS on `<TD>`
|
||||
- tables - if table width set to 100% and one cell/column is empty with no padding/border, sizing incorrectly
|
||||
(https://www.mpdf1.com/forum/discussion/1886/td-fontsize-in-nested-table-bug-#Item_5)
|
||||
(http://www.mpdf1.com/forum/discussion/1886/td-fontsize-in-nested-table-bug-#Item_5)
|
||||
- `<main>` added as recognised tag
|
||||
- CSS style transform supported on `<img>` element (only)
|
||||
All transform functions are supported except matrix() i.e. translate(), translateX(), translateY(), skew(), skewX(), skewY(),
|
||||
@ -573,7 +573,7 @@ Bug fixes
|
||||
- Bookmarks will now work if jump more than one level e.g. 0,2,1 Inserts a new blank entry at level 1
|
||||
- Paths to img or stylesheets - incorrectly reading "//www.domain.com" i.e. when starting with two /
|
||||
- data:image as background url() - incorrectly adjusting path on server if MPDF_PATH not specified (included in release mPDF 5.6.1)
|
||||
- Image problem if spaces or commas in path using https:// URL (included in release mPDF 5.6.1)
|
||||
- Image problem if spaces or commas in path using http:// URL (included in release mPDF 5.6.1)
|
||||
- Image URL parsing rewritten to handle both urlencoded URLs and not urlencoded (included in release mPDF 5.6.1)
|
||||
- `<dottab>` fixed to allow color, font-size and font-family to be correctly used, avoid dots being moved to new page, and to work in RTL
|
||||
- Table {colsum} summed figures in table header
|
||||
|
14
mpdf/vendor/mpdf/mpdf/CREDITS.txt
vendored
14
mpdf/vendor/mpdf/mpdf/CREDITS.txt
vendored
@ -19,19 +19,19 @@
|
||||
|
||||
CREDITS From HTML2FPDF:
|
||||
|
||||
-Olivier Plathey for the fpdf.php class [https://www.fpdf.org]
|
||||
-Olivier Plathey for the fpdf.php class [http://www.fpdf.org]
|
||||
-Damon Kohler for the Flowing Block script [mailto:damonkohler@yahoo.com]
|
||||
-Clément Lavoillotte for HTML-oriented FPDF idea
|
||||
-Yamasoft for the gif.php class [https://www.yamasoft.com/]
|
||||
-Yamasoft for the gif.php class [http://www.yamasoft.com/]
|
||||
-Jérôme Fenal for the _parsegif() function
|
||||
-"VIETCOM" for the PDFTable code [https://www.freepgs.com/vietcom/tool/pdftable/] [mailto:vncommando@yahoo.com]
|
||||
-"VIETCOM" for the PDFTable code [http://www.freepgs.com/vietcom/tool/pdftable/] [mailto:vncommando@yahoo.com]
|
||||
-Yukihiro O. for the SetDash() function [mailto:yukihiro_o@infoseek.jp]
|
||||
-Ron Korving for the WordWrap() function
|
||||
-Michel Poulain for the DisplayPreferences() function
|
||||
-Patrick Benny for the MultiCellBlt() function idea [no longer in use]
|
||||
-Seb for the _SetTextRendering() and SetTextOutline() functions [mailto:captainseb@wanadoo.fr]
|
||||
-MorphSoft for the colornames list idea
|
||||
-W3SCHOOLS for HTML-related reference info [https://www.w3schools.com/]
|
||||
-W3SCHOOLS for HTML-related reference info [http://www.w3schools.com/]
|
||||
|
||||
|
||||
|
||||
@ -55,7 +55,7 @@ CREDITS From HTML2FPDF:
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// https://www.apache.org/licenses/LICENSE-2.0
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
@ -66,7 +66,7 @@ CREDITS From HTML2FPDF:
|
||||
|
||||
/****************************************************************************
|
||||
* @copyright Khaled Al-Shamaa 2008
|
||||
* @link https://www.ar-php.org
|
||||
* @link http://www.ar-php.org
|
||||
* @author Khaled Al-Shamaa <khaled@ar-php.org>
|
||||
* @desc Set of PHP5 / UTF-8 Classes developed to enhance Arabic web
|
||||
* applications by providing set of tools includes stem-based searching,
|
||||
@ -88,4 +88,4 @@ This library is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
Lesser General Public License for more details.
|
||||
[https://www.opensource.org/licenses/lgpl-license.php]
|
||||
[http://www.opensource.org/licenses/lgpl-license.php]
|
||||
|
2
mpdf/vendor/mpdf/mpdf/README.md
vendored
2
mpdf/vendor/mpdf/mpdf/README.md
vendored
@ -1,6 +1,6 @@
|
||||
mPDF is a PHP library which generates PDF files from UTF-8 encoded HTML.
|
||||
|
||||
It is based on [FPDF](https://www.fpdf.org/) and [HTML2FPDF](https://html2fpdf.sourceforge.net/)
|
||||
It is based on [FPDF](http://www.fpdf.org/) and [HTML2FPDF](http://html2fpdf.sourceforge.net/)
|
||||
(see [CREDITS](CREDITS.txt)), with a number of enhancements. mPDF was written by Ian Back and is released
|
||||
under the [GNU GPL v2 licence](LICENSE.txt).
|
||||
|
||||
|
2
mpdf/vendor/mpdf/mpdf/composer.json
vendored
2
mpdf/vendor/mpdf/mpdf/composer.json
vendored
@ -25,7 +25,7 @@
|
||||
|
||||
"issues": "https://github.com/mpdf/mpdf/issues",
|
||||
"source": "https://github.com/mpdf/mpdf",
|
||||
"docs": "https://mpdf.github.io"
|
||||
"docs": "http://mpdf.github.io"
|
||||
|
||||
},
|
||||
|
||||
|
BIN
mpdf/vendor/mpdf/mpdf/data/no_image.jpg
vendored
BIN
mpdf/vendor/mpdf/mpdf/data/no_image.jpg
vendored
Binary file not shown.
Before Width: | Height: | Size: 7.7 KiB After Width: | Height: | Size: 7.7 KiB |
@ -1,5 +1,5 @@
|
||||
Alternative sources of Hyphenation programs or TEX files:
|
||||
|
||||
OpenOffice: https://wiki.services.openoffice.org/wiki/Dictionaries
|
||||
OpenOffice: http://wiki.services.openoffice.org/wiki/Dictionaries
|
||||
|
||||
Hyphenator4PHP- alternative PHP hyphenator scripts: https://apps.sourceforge.net/trac/hyphenator4php/
|
||||
Hyphenator4PHP- alternative PHP hyphenator scripts: http://apps.sourceforge.net/trac/hyphenator4php/
|
||||
|
2
mpdf/vendor/mpdf/mpdf/data/patterns/de.php
vendored
2
mpdf/vendor/mpdf/mpdf/data/patterns/de.php
vendored
File diff suppressed because one or more lines are too long
2
mpdf/vendor/mpdf/mpdf/data/patterns/en.php
vendored
2
mpdf/vendor/mpdf/mpdf/data/patterns/en.php
vendored
File diff suppressed because one or more lines are too long
2
mpdf/vendor/mpdf/mpdf/data/patterns/es.php
vendored
2
mpdf/vendor/mpdf/mpdf/data/patterns/es.php
vendored
@ -2,7 +2,7 @@
|
||||
|
||||
/**
|
||||
Adapted from Hyphenator 1.0.2
|
||||
https://code.google.com/p/hyphenator/
|
||||
http://code.google.com/p/hyphenator/
|
||||
|
||||
Created by Luis Pabon (lpabon at metagrama dot es)
|
||||
*/
|
||||
|
2
mpdf/vendor/mpdf/mpdf/data/patterns/fi.php
vendored
2
mpdf/vendor/mpdf/mpdf/data/patterns/fi.php
vendored
@ -2,7 +2,7 @@
|
||||
|
||||
/**
|
||||
Adapted from Hyphenator 1.0.2
|
||||
https://code.google.com/p/hyphenator/
|
||||
http://code.google.com/p/hyphenator/
|
||||
*/
|
||||
|
||||
return "1ba 1be 1bi 1bo 1bu 1by 1da 1de 1di 1do 1du 1dy 1d\xc3\xa4 1d\xc3\xb6 1fa 1fe 1fi 1fo 1fu 1fy 1ga 1ge 1gi 1go 1gu 1gy 1g\xc3\xa4 1g\xc3\xb6 1ha 1he 1hi 1ho 1hu 1hy 1h\xc3\xa4 1h\xc3\xb6 1ja 1je 1ji 1jo 1ju 1jy 1j\xc3\xa4 1j\xc3\xb6 1ka 1ke 1ki 1ko 1ku 1ky 1k\xc3\xa4 1k\xc3\xb6 1la 1le 1li 1lo 1lu 1ly 1l\xc3\xa4 1l\xc3\xb6 1ma 1me 1mi 1mo 1mu 1my 1m\xc3\xa4 1m\xc3\xb6 1na 1ne 1ni 1no 1nu 1ny 1n\xc3\xa4 1n\xc3\xb6 1pa 1pe 1pi 1po 1pu 1py 1p\xc3\xa4 1p\xc3\xb6 1ra 1re 1ri 1ro 1ru 1ry 1r\xc3\xa4 1r\xc3\xb6 1sa 1se 1si 1so 1su 1sy 1s\xc3\xa4 1s\xc3\xb6 1ta 1te 1ti 1to 1tu 1ty 1t\xc3\xa4 1t\xc3\xb6 1va 1ve 1vi 1vo 1vu 1vy 1v\xc3\xa4 1v\xc3\xb6 1st2r \xc3\xa42y y1a2 y1o2 o1y \xc3\xb62y u1y2 y1u2 \xc3\xb63a2 \xc3\xb63o2 \xc3\xa43a2 \xc3\xa43o2 \xc3\xa41u2 \xc3\xb61u2 a1\xc3\xa4 a1\xc3\xb6 o1\xc3\xa4 o1\xc3\xb6 u1\xc3\xa42 u1\xc3\xb62 \xc3\xa42\xc3\xa4 \xc3\xb62\xc3\xb6 \xc3\xa42\xc3\xb6 \xc3\xb62\xc3\xa4 aa1i2 aa1e2 aa1o2 aa1u2 ee1a2 ee1i2 ee1u2 ee1y2 ii1a2 ii1e2 ii1o2 uu1a2 uu1e2 uu1o2 uu1i2 e1aa i1aa o1aa u1aa u1ee a1uu i1uu e1uu o1uu \xc3\xa4\xc3\xa41i \xc3\xa4\xc3\xa41e \xc3\xa4\xc3\xa43y i1\xc3\xa4\xc3\xa4 e1\xc3\xa4\xc3\xa4 y1\xc3\xa4\xc3\xa4 i1\xc3\xb6\xc3\xb6 a1ei a1oi e1ai i1au y1ei ai1a ai1e ai1o ai1u au1a au1e eu1a ie1a ie1o ie1y io1a2 io1e2 iu1a iu1e iu1o oi1a oi1e oi1o oi1u o1ui ou1e ou1o ue1a ui1e uo1a uo1u e1\xc3\xb62 \xc3\xb61e2 _\xc3\xa42 u2s yli1o2p ali1a2v 1sp2li alous1 keus1 rtaus1 2s1ohje 2s1a2sia 1a2sian 1a2siat 1a2sioi r2as l2as 2s1o2pisk 2n1o2pet 2s1a2loi 2n1o2pist 2s1o2pist 2s1o2sa 2n1o2sa alkei2s1 perus1 2s1i2dea_ 2s1i2dean 2s1e2sity 2n1e2dus 2s1ajatu 2s1ase 2s1apu 2s1y2rit _ydi2n1 _suu2r1a2 2s1y2hti 2n1otto 2n1oton 2n1anto 2n1anno 2n1a2jan 2n1aika 2n1o2mai 2n1y2lit 2s1a2len 2n1a2len 1a2siaka2s1 ulo2s1 2n1a2jo 2s1a2jo b2l 1b2lo bib3li b2r 1b2ri 1b2ro 1b2ru d2r 1d2ra f2l 1f2la f2r 1f2ra 1f2re g2l 1g2lo g2r 1g2ra k2l 1k2ra 1k2re 1k2ri 1k2v 1k2va p2l p2r 1p2ro c2l q2v 1q2vi sc2h ts2h ch2r";
|
||||
|
4
mpdf/vendor/mpdf/mpdf/data/patterns/fr.php
vendored
4
mpdf/vendor/mpdf/mpdf/data/patterns/fr.php
vendored
@ -2,9 +2,9 @@
|
||||
|
||||
/**
|
||||
Adapted from Hyphenator 1.0.2
|
||||
https://code.google.com/p/hyphenator/
|
||||
http://code.google.com/p/hyphenator/
|
||||
|
||||
Retrieved from https://extensions.services.openoffice.org/project/french-dictionary-reform1990
|
||||
Retrieved from http://extensions.services.openoffice.org/project/french-dictionary-reform1990
|
||||
License: LGPL
|
||||
*/
|
||||
|
||||
|
4
mpdf/vendor/mpdf/mpdf/data/patterns/it.php
vendored
4
mpdf/vendor/mpdf/mpdf/data/patterns/it.php
vendored
@ -2,9 +2,9 @@
|
||||
|
||||
/**
|
||||
Adapted from Hyphenator 1.0.2
|
||||
https://code.google.com/p/hyphenator/
|
||||
http://code.google.com/p/hyphenator/
|
||||
|
||||
Retrieved from https://www.ctan.org/tex-archive/language/hyphenation/ithyph.tex
|
||||
Retrieved from http://www.ctan.org/tex-archive/language/hyphenation/ithyph.tex
|
||||
*/
|
||||
|
||||
return "_a3p2n _anti1 _anti3m2n _bio1 _ca4p3s _circu2m1 _contro1 _di2s3cine _e2x1eu _fran2k3 _free3 _li3p2sa _narco1 _opto1 _orto3p2 _para1 _poli3p2 _pre1 _p2s _re1i2scr _sha2re3 _tran2s3c _tran2s3d _tran2s3l _tran2s3n _tran2s3p _tran2s3r _tran2s3t _su2b3lu _su2b3r _wa2g3n _wel2t1 2'2 a1ia a1ie a1io a1iu a1uo a1ya 2at_ e1iu e2w o1ia o1ie o1io o1iu 1b 2bb 2bc 2bd 2bf 2bm 2bn 2bp 2bs 2bt 2bv b2l b2r 2b_ 2b' 1c 2cb 2cc 2cd 2cf 2ck 2cm 2cn 2cq 2cs 2ct 2cz 2chh c2h 2chb ch2r 2chn c2l c2r 2c_ 2c' _c2 1d 2db 2dd 2dg 2dl 2dm 2dn 2dp d2r 2ds 2dt 2dv 2dw 2d_ 2d' _d2 1f 2fb 2fg 2ff 2fn f2l f2r 2fs 2ft 2f_ 2f' 1g 2gb 2gd 2gf 2gg g2h g2l 2gm g2n 2gp g2r 2gs 2gt 2gv 2gw 2gz 2gh2t 2g_ 2g' 1h 2hb 2hd 2hh hi3p2n h2l 2hm 2hn 2hr 2hv 2h_ 2h' 1j 2j_ 2j' 1k 2kg 2kf k2h 2kk k2l 2km k2r 2ks 2kt 2k_ 2k' 1l 2lb 2lc 2ld 2l3f2 2lg l2h 2lk 2ll 2lm 2ln 2lp 2lq 2lr 2ls 2lt 2lv 2lw 2lz 2l_ 2l'_ 2l'' 1m 2mb 2mc 2mf 2ml 2mm 2mn 2mp 2mq 2mr 2ms 2mt 2mv 2mw 2m_ 2m' 1n 2nb 2nc 2nd 2nf 2ng 2nk 2nl 2nm 2nn 2np 2nq 2nr 2ns n2s3fer 2nt 2nv 2nz n2g3n 2nheit 2n_ 2n' 1p 2pd p2h p2l 2pn 3p2ne 2pp p2r 2ps 3p2sic 2pt 2pz 2p_ 2p' 1q 2qq 2q_ 2q' 1r 2rb 2rc 2rd 2rf r2h 2rg 2rk 2rl 2rm 2rn 2rp 2rq 2rr 2rs 2rt r2t2s3 2rv 2rx 2rw 2rz 2r_ 2r' 1s2 2shm 2sh_ 2sh' 2s3s s4s3m 2s3p2n 2stb 2stc 2std 2stf 2stg 2stm 2stn 2stp 2sts 2stt 2stv 2sz 4s_ 4s'_ 4s'' 1t 2tb 2tc 2td 2tf 2tg t2h t2l 2tm 2tn 2tp t2r t2s 3t2sch 2tt t2t3s 2tv 2tw t2z 2tzk tz2s 2t_ 2t'_ 2t'' 1v 2vc v2l v2r 2vv 2v_ 2v'_ 2v'' 1w w2h wa2r 2w1y 2w_ 2w' 1x 2xb 2xc 2xf 2xh 2xm 2xp 2xt 2xw 2x_ 2x' y1ou y1i 1z 2zb 2zd 2zl 2zn 2zp 2zt 2zs 2zv 2zz 2z_ 2z'_ 2z'' _z2";
|
||||
|
2
mpdf/vendor/mpdf/mpdf/data/patterns/nl.php
vendored
2
mpdf/vendor/mpdf/mpdf/data/patterns/nl.php
vendored
@ -2,7 +2,7 @@
|
||||
|
||||
/**
|
||||
Adapted from Hyphenator 1.0.2
|
||||
https://code.google.com/p/hyphenator/
|
||||
http://code.google.com/p/hyphenator/
|
||||
|
||||
Created by Remco Bloemen (remco dot bloemen at gmail dot com)
|
||||
*/
|
||||
|
2
mpdf/vendor/mpdf/mpdf/data/patterns/pl.php
vendored
2
mpdf/vendor/mpdf/mpdf/data/patterns/pl.php
vendored
File diff suppressed because one or more lines are too long
2
mpdf/vendor/mpdf/mpdf/data/patterns/ru.php
vendored
2
mpdf/vendor/mpdf/mpdf/data/patterns/ru.php
vendored
@ -2,7 +2,7 @@
|
||||
|
||||
/**
|
||||
Adapted from Hyphenator 1.0.2
|
||||
https://code.google.com/p/hyphenator/
|
||||
http://code.google.com/p/hyphenator/
|
||||
|
||||
Created by crymos at yandex dot ru
|
||||
Вопросы по русскоязычным таблицам переноса отправлять на адрес.
|
||||
|
2
mpdf/vendor/mpdf/mpdf/data/patterns/sv.php
vendored
2
mpdf/vendor/mpdf/mpdf/data/patterns/sv.php
vendored
@ -2,7 +2,7 @@
|
||||
|
||||
/**
|
||||
Adapted from Hyphenator 1.0.2
|
||||
https://code.google.com/p/hyphenator/
|
||||
http://code.google.com/p/hyphenator/
|
||||
|
||||
Original created by Jan Michael Rynning, jmr@nada.kth.se
|
||||
Modified for Hyphenator by Andreas Johansson, andreas@ibuypink.com
|
||||
|
10
mpdf/vendor/mpdf/mpdf/src/Barcode/EanExt.php
vendored
10
mpdf/vendor/mpdf/mpdf/src/Barcode/EanExt.php
vendored
@ -23,11 +23,11 @@ class EanExt extends \Mpdf\Barcode\AbstractBarcode implements \Mpdf\Barcode\Barc
|
||||
{
|
||||
$this->init($code, $length);
|
||||
|
||||
$this->data['lightmL'] = $leftMargin; // LEFT light margin = x X-dim (https://www.gs1uk.org)
|
||||
$this->data['lightmR'] = $rightMargin; // RIGHT light margin = x X-dim (https://www.gs1uk.org)
|
||||
$this->data['nom-X'] = $xDim; // Nominal value for X-dim in mm (https://www.gs1uk.org)
|
||||
$this->data['nom-H'] = $barHeight; // Nominal bar height in mm incl. numerals (https://www.gs1uk.org)
|
||||
$this->data['sepM'] = $separatorMargin; // SEPARATION margin = x X-dim (https://web.archive.org/web/19990501035133/https://www.uc-council.org/d36-d.htm)
|
||||
$this->data['lightmL'] = $leftMargin; // LEFT light margin = x X-dim (http://www.gs1uk.org)
|
||||
$this->data['lightmR'] = $rightMargin; // RIGHT light margin = x X-dim (http://www.gs1uk.org)
|
||||
$this->data['nom-X'] = $xDim; // Nominal value for X-dim in mm (http://www.gs1uk.org)
|
||||
$this->data['nom-H'] = $barHeight; // Nominal bar height in mm incl. numerals (http://www.gs1uk.org)
|
||||
$this->data['sepM'] = $separatorMargin; // SEPARATION margin = x X-dim (http://web.archive.org/web/19990501035133/http://www.uc-council.org/d36-d.htm)
|
||||
}
|
||||
|
||||
/**
|
||||
|
8
mpdf/vendor/mpdf/mpdf/src/Barcode/EanUpc.php
vendored
8
mpdf/vendor/mpdf/mpdf/src/Barcode/EanUpc.php
vendored
@ -23,10 +23,10 @@ class EanUpc extends \Mpdf\Barcode\AbstractBarcode implements \Mpdf\Barcode\Barc
|
||||
{
|
||||
$this->init($code, $length);
|
||||
|
||||
$this->data['lightmL'] = $leftMargin; // LEFT light margin = x X-dim (https://www.gs1uk.org)
|
||||
$this->data['lightmR'] = $rightMargin; // RIGHT light margin = x X-dim (https://www.gs1uk.org)
|
||||
$this->data['nom-X'] = $xDim; // Nominal value for X-dim in mm (https://www.gs1uk.org)
|
||||
$this->data['nom-H'] = $barHeight; // Nominal bar height in mm incl. numerals (https://www.gs1uk.org)
|
||||
$this->data['lightmL'] = $leftMargin; // LEFT light margin = x X-dim (http://www.gs1uk.org)
|
||||
$this->data['lightmR'] = $rightMargin; // RIGHT light margin = x X-dim (http://www.gs1uk.org)
|
||||
$this->data['nom-X'] = $xDim; // Nominal value for X-dim in mm (http://www.gs1uk.org)
|
||||
$this->data['nom-H'] = $barHeight; // Nominal bar height in mm incl. numerals (http://www.gs1uk.org)
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -434,7 +434,7 @@ class ConfigVariables
|
||||
// font-family, font-size, font-weight, font-variant, font-style, opacity, text-anchor
|
||||
'svgClasses' => false,
|
||||
|
||||
// Default values if no style sheet offered (cf. https://www.w3.org/TR/CSS21/sample.html)
|
||||
// Default values if no style sheet offered (cf. http://www.w3.org/TR/CSS21/sample.html)
|
||||
'defaultCSS' => DefaultCss::$definition,
|
||||
'defaultCssFile' => __DIR__ . '/../../data/mpdf.css',
|
||||
|
||||
@ -473,14 +473,14 @@ class ConfigVariables
|
||||
/**
|
||||
* References for CJK line-breaking
|
||||
*
|
||||
* https://en.wikipedia.org/wiki/Line_breaking_rules_in_East_Asian_languages
|
||||
* https://msdn.microsoft.com/en-us/goglobal/bb688158.aspx - listed using charsets
|
||||
* Word wrapping in other langauges - https://msdn.microsoft.com/en-us/goglobal/bb688158.aspx
|
||||
* Word wrapping in Japanese/Korean - https://en.wikipedia.org/wiki/Kinsoku_shori
|
||||
* Unicode character types: https://unicode.org/reports/tr14/
|
||||
* https://xml.ascc.net/en/utf-8/faq/zhl10n-faq-xsl.html#qb1
|
||||
* http://en.wikipedia.org/wiki/Line_breaking_rules_in_East_Asian_languages
|
||||
* http://msdn.microsoft.com/en-us/goglobal/bb688158.aspx - listed using charsets
|
||||
* Word wrapping in other langauges - http://msdn.microsoft.com/en-us/goglobal/bb688158.aspx
|
||||
* Word wrapping in Japanese/Korean - http://en.wikipedia.org/wiki/Kinsoku_shori
|
||||
* Unicode character types: http://unicode.org/reports/tr14/
|
||||
* http://xml.ascc.net/en/utf-8/faq/zhl10n-faq-xsl.html#qb1
|
||||
* ECMA-376 4th edition Part 1
|
||||
* https://www.ecma-international.org/publications/standards/Ecma-376.htm
|
||||
* http://www.ecma-international.org/publications/standards/Ecma-376.htm
|
||||
*/
|
||||
|
||||
// Leading characters - Not allowed at end of line
|
||||
@ -489,7 +489,7 @@ class ConfigVariables
|
||||
// Following characters - Not allowed at start
|
||||
'CJKfollowing' => "!%\),\.:,>\?\]\}\x{00a2}\x{00a8}\x{00b0}\x{00b7}\x{00bb}\x{02c7}\x{02c9}\x{2010}\x{2013}-\x{2016}\x{2019}\x{201d}-\x{201f}\x{2020}-\x{2022}\x{2025}-\x{2027}\x{2030}\x{2032}\x{2033}\x{203a}\x{203c}\x{2047}-\x{2049}\x{2103}\x{2236}\x{2574}\x{3001}-\x{3003}\x{3005}\x{3006}\x{3009}\x{300b}\x{300d}\x{300f}\x{3011}\x{3015}\x{3017}\x{3019}\x{301c}\x{301e}\x{301f}\x{303b}\x{3041}\x{3043}\x{3045}\x{3047}\x{3049}\x{3063}\x{3083}\x{3085}\x{3087}\x{308e}\x{3095}\x{3096}\x{309b}-\x{309e}\x{30a0}\x{30a1}\x{30a3}\x{30a5}\x{30a7}\x{30a9}\x{30c3}\x{30e3}\x{30e5}\x{30e7}\x{30ee}\x{30f5}\x{30f6}\x{30fb}-\x{30fd}\x{30fe}\x{31f0}-\x{31ff}\x{fe30}\x{fe31}-\x{fe34}\x{fe36}\x{fe38}\x{fe3a}\x{fe3c}\x{fe3e}\x{fe40}\x{fe42}\x{fe44}\x{fe4f}\x{fe50}-\x{fe58}\x{fe5a}\x{fe5c}-\x{fe5e}\x{ff01}\x{ff02}\x{ff05}\x{ff07}\x{ff09}\x{ff0c}\x{ff0e}\x{ff1a}\x{ff1b}\x{ff1f}\x{ff3d}\x{ff40}\x{ff5c}-\x{ff5e}\x{ff60}\x{ff61}\x{ff63}-\x{ff65}\x{ff9e}\x{ff9f}\x{ffe0}",
|
||||
|
||||
// Characters which are allowed to overflow the right margin (from CSS3 https://www.w3.org/TR/2012/WD-css3-text-20120814/#hanging-punctuation)
|
||||
// Characters which are allowed to overflow the right margin (from CSS3 http://www.w3.org/TR/2012/WD-css3-text-20120814/#hanging-punctuation)
|
||||
'CJKoverflow' => "\.,\x{ff61}\x{ff64}\x{3001}\x{3002}\x{fe50}-\x{fe52}\x{ff0c}\x{ff0e}",
|
||||
|
||||
// Used for preventing letter-spacing in cursive scripts
|
||||
|
2
mpdf/vendor/mpdf/mpdf/src/CssManager.php
vendored
2
mpdf/vendor/mpdf/mpdf/src/CssManager.php
vendored
@ -272,7 +272,7 @@ class CssManager
|
||||
|
||||
foreach ($stylearr as $sta) {
|
||||
if (trim($sta)) {
|
||||
// Changed to allow style="background: url('https://www.bpm1.com/bg.jpg')"
|
||||
// Changed to allow style="background: url('http://www.bpm1.com/bg.jpg')"
|
||||
$tmp = explode(':', $sta, 2);
|
||||
$property = $tmp[0];
|
||||
if (isset($tmp[1])) {
|
||||
|
4
mpdf/vendor/mpdf/mpdf/src/Gif/ColorTable.php
vendored
4
mpdf/vendor/mpdf/mpdf/src/Gif/ColorTable.php
vendored
@ -8,9 +8,9 @@ namespace Mpdf\Gif;
|
||||
* All Rights Reserved
|
||||
*
|
||||
* This file can be freely copied, distributed, modified, updated by anyone under the only
|
||||
* condition to leave the original address (Yamasoft, https://www.yamasoft.com) and this header.
|
||||
* condition to leave the original address (Yamasoft, http://www.yamasoft.com) and this header.
|
||||
*
|
||||
* @link https://www.yamasoft.com
|
||||
* @link http://www.yamasoft.com
|
||||
*/
|
||||
class ColorTable
|
||||
{
|
||||
|
4
mpdf/vendor/mpdf/mpdf/src/Gif/FileHeader.php
vendored
4
mpdf/vendor/mpdf/mpdf/src/Gif/FileHeader.php
vendored
@ -8,9 +8,9 @@ namespace Mpdf\Gif;
|
||||
* All Rights Reserved
|
||||
*
|
||||
* This file can be freely copied, distributed, modified, updated by anyone under the only
|
||||
* condition to leave the original address (Yamasoft, https://www.yamasoft.com) and this header.
|
||||
* condition to leave the original address (Yamasoft, http://www.yamasoft.com) and this header.
|
||||
*
|
||||
* @link https://www.yamasoft.com
|
||||
* @link http://www.yamasoft.com
|
||||
*/
|
||||
class FileHeader
|
||||
{
|
||||
|
4
mpdf/vendor/mpdf/mpdf/src/Gif/Gif.php
vendored
4
mpdf/vendor/mpdf/mpdf/src/Gif/Gif.php
vendored
@ -8,9 +8,9 @@ namespace Mpdf\Gif;
|
||||
* All Rights Reserved
|
||||
*
|
||||
* This file can be freely copied, distributed, modified, updated by anyone under the only
|
||||
* condition to leave the original address (Yamasoft, https://www.yamasoft.com) and this header.
|
||||
* condition to leave the original address (Yamasoft, http://www.yamasoft.com) and this header.
|
||||
*
|
||||
* @link https://www.yamasoft.com
|
||||
* @link http://www.yamasoft.com
|
||||
*/
|
||||
class Gif
|
||||
{
|
||||
|
4
mpdf/vendor/mpdf/mpdf/src/Gif/Image.php
vendored
4
mpdf/vendor/mpdf/mpdf/src/Gif/Image.php
vendored
@ -8,9 +8,9 @@ namespace Mpdf\Gif;
|
||||
* All Rights Reserved
|
||||
*
|
||||
* This file can be freely copied, distributed, modified, updated by anyone under the only
|
||||
* condition to leave the original address (Yamasoft, https://www.yamasoft.com) and this header.
|
||||
* condition to leave the original address (Yamasoft, http://www.yamasoft.com) and this header.
|
||||
*
|
||||
* @link https://www.yamasoft.com
|
||||
* @link http://www.yamasoft.com
|
||||
*/
|
||||
class Image
|
||||
{
|
||||
|
@ -8,9 +8,9 @@ namespace Mpdf\Gif;
|
||||
* All Rights Reserved
|
||||
*
|
||||
* This file can be freely copied, distributed, modified, updated by anyone under the only
|
||||
* condition to leave the original address (Yamasoft, https://www.yamasoft.com) and this header.
|
||||
* condition to leave the original address (Yamasoft, http://www.yamasoft.com) and this header.
|
||||
*
|
||||
* @link https://www.yamasoft.com
|
||||
* @link http://www.yamasoft.com
|
||||
*/
|
||||
class ImageHeader
|
||||
{
|
||||
|
4
mpdf/vendor/mpdf/mpdf/src/Gif/Lzw.php
vendored
4
mpdf/vendor/mpdf/mpdf/src/Gif/Lzw.php
vendored
@ -8,9 +8,9 @@ namespace Mpdf\Gif;
|
||||
* All Rights Reserved
|
||||
*
|
||||
* This file can be freely copied, distributed, modified, updated by anyone under the only
|
||||
* condition to leave the original address (Yamasoft, https://www.yamasoft.com) and this header.
|
||||
* condition to leave the original address (Yamasoft, http://www.yamasoft.com) and this header.
|
||||
*
|
||||
* @link https://www.yamasoft.com
|
||||
* @link http://www.yamasoft.com
|
||||
*/
|
||||
class Lzw
|
||||
{
|
||||
|
2
mpdf/vendor/mpdf/mpdf/src/Hyphenator.php
vendored
2
mpdf/vendor/mpdf/mpdf/src/Hyphenator.php
vendored
@ -44,7 +44,7 @@ class Hyphenator
|
||||
{
|
||||
// Do everything inside this function in utf-8
|
||||
// Don't hyphenate web addresses
|
||||
if (preg_match('/^(https:|www\.)/', $word)) {
|
||||
if (preg_match('/^(http:|www\.)/', $word)) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
6
mpdf/vendor/mpdf/mpdf/src/Image/Bmp.php
vendored
6
mpdf/vendor/mpdf/mpdf/src/Image/Bmp.php
vendored
@ -20,7 +20,7 @@ class Bmp
|
||||
public function _getBMPimage($data, $file)
|
||||
{
|
||||
// Adapted from script by Valentin Schmidt
|
||||
// https://staff.dasdeck.de/valentin/fpdf/fpdf_bmp/
|
||||
// http://staff.dasdeck.de/valentin/fpdf/fpdf_bmp/
|
||||
$bfOffBits = $this->_fourbytes2int_le(substr($data, 10, 4));
|
||||
$width = $this->_fourbytes2int_le(substr($data, 18, 4));
|
||||
$height = $this->_fourbytes2int_le(substr($data, 22, 4));
|
||||
@ -184,7 +184,7 @@ class Bmp
|
||||
/**
|
||||
* Decoder for RLE8 compression in windows bitmaps
|
||||
*
|
||||
* @see https://msdn.microsoft.com/library/default.asp?url=/library/en-us/gdi/bitmaps_6x0u.asp
|
||||
* @see http://msdn.microsoft.com/library/default.asp?url=/library/en-us/gdi/bitmaps_6x0u.asp
|
||||
* @param $str
|
||||
* @param $width
|
||||
* @return string
|
||||
@ -233,7 +233,7 @@ class Bmp
|
||||
/**
|
||||
* Decoder for RLE4 compression in windows bitmaps
|
||||
*
|
||||
* @see https://msdn.microsoft.com/library/default.asp?url=/library/en-us/gdi/bitmaps_6x0u.asp
|
||||
* @see http://msdn.microsoft.com/library/default.asp?url=/library/en-us/gdi/bitmaps_6x0u.asp
|
||||
* @param $str
|
||||
* @param $width
|
||||
* @return string
|
||||
|
@ -497,17 +497,17 @@ class ImageProcessor implements \Psr\Log\LoggerAwareInterface
|
||||
$gAMA = $this->fourBytesToInt(substr($data, $j + 4, 4)); // Gamma value times 100000
|
||||
$gAMA /= 100000;
|
||||
|
||||
// https://www.libpng.org/pub/png/spec/1.2/PNG-Encoders.html
|
||||
// http://www.libpng.org/pub/png/spec/1.2/PNG-Encoders.html
|
||||
// "If the source file's gamma value is greater than 1.0, it is probably a display system exponent,..."
|
||||
// ("..and you should use its reciprocal for the PNG gamma.")
|
||||
//if ($gAMA > 1) { $gAMA = 1/$gAMA; }
|
||||
// (Some) Applications seem to ignore it... appearing how it was probably intended
|
||||
// Test Case - image(s) on https://www.w3.org/TR/CSS21/intro.html - PNG has gAMA set as 1.45454
|
||||
// Test Case - image(s) on http://www.w3.org/TR/CSS21/intro.html - PNG has gAMA set as 1.45454
|
||||
// Probably unintentional as mentioned above and should be 0.45454 which is 1 / 2.2
|
||||
// Tested on Windows PC
|
||||
// Firefox and Opera display gray as 234 (correct, but looks wrong)
|
||||
// IE9 and Safari display gray as 193 (incorrect but looks right)
|
||||
// See test different gamma chunks at https://www.libpng.org/pub/png/pngsuite-all-good.html
|
||||
// See test different gamma chunks at http://www.libpng.org/pub/png/pngsuite-all-good.html
|
||||
}
|
||||
|
||||
if ($gAMA) {
|
||||
|
8
mpdf/vendor/mpdf/mpdf/src/Image/Svg.php
vendored
8
mpdf/vendor/mpdf/mpdf/src/Image/Svg.php
vendored
@ -22,8 +22,8 @@ use Mpdf\Utils\UtfString;
|
||||
* @author Ian Back
|
||||
* @author sylvain briand (syb@godisaduck.com), modified by rick trevino (rtrevino1@yahoo.com)
|
||||
*
|
||||
* @link https://www.godisaduck.com/svg2pdf_with_fpdf
|
||||
* @link https://rhodopsin.blogspot.com
|
||||
* @link http://www.godisaduck.com/svg2pdf_with_fpdf
|
||||
* @link http://rhodopsin.blogspot.com
|
||||
*/
|
||||
class Svg
|
||||
{
|
||||
@ -1936,7 +1936,7 @@ class Svg
|
||||
|
||||
$bounds = [0 => [$x1, $x2], 1 => [$y1, $y2]];
|
||||
// 1. Treat out-of-range parameters as described in
|
||||
// https://www.w3.org/TR/SVG/implnote.html#ArcImplementationNotes
|
||||
// http://www.w3.org/TR/SVG/implnote.html#ArcImplementationNotes
|
||||
// If the endpoints (x1, y1) and (x2, y2) are identical, then this
|
||||
// is equivalent to omitting the elliptical arc segment entirely
|
||||
if ($x1 == $x2 && $y1 == $y2) {
|
||||
@ -1960,7 +1960,7 @@ class Svg
|
||||
}
|
||||
|
||||
// 2. convert to center parameterization as shown in
|
||||
// https://www.w3.org/TR/SVG/implnote.html
|
||||
// http://www.w3.org/TR/SVG/implnote.html
|
||||
$sinPhi = sin(deg2rad($angle));
|
||||
$cosPhi = cos(deg2rad($angle));
|
||||
|
||||
|
26
mpdf/vendor/mpdf/mpdf/src/Mpdf.php
vendored
26
mpdf/vendor/mpdf/mpdf/src/Mpdf.php
vendored
@ -522,7 +522,7 @@ class Mpdf implements \Psr\Log\LoggerAwareInterface
|
||||
var $entsearch; // Array of HTML entities (>ASCII 127) to substitute
|
||||
var $entsubstitute; // Array of substitution decimal unicode for the Hi entities
|
||||
|
||||
// Default values if no style sheet offered (cf. https://www.w3.org/TR/CSS21/sample.html)
|
||||
// Default values if no style sheet offered (cf. http://www.w3.org/TR/CSS21/sample.html)
|
||||
var $defaultCSS;
|
||||
var $defaultCssFile;
|
||||
|
||||
@ -7986,7 +7986,7 @@ class Mpdf implements \Psr\Log\LoggerAwareInterface
|
||||
$checkw = $addc . $checkw;
|
||||
}
|
||||
// Don't break if HyphenMinus AND (a URL or before a numeral or before a >)
|
||||
if ((!preg_match('/(https:|ftp:|https:|www\.)/', $checkw) && $checkchar != '>' && !preg_match('/[0-9]/', $checkchar)) || $prevchar == "\xe2\x80\x90") {
|
||||
if ((!preg_match('/(http:|ftp:|https:|www\.)/', $checkw) && $checkchar != '>' && !preg_match('/[0-9]/', $checkchar)) || $prevchar == "\xe2\x80\x90") {
|
||||
$breakfound = [$cutcontentctr, $cutcharctr, $cutcontentctr, $cutcharctr, 'cut'];
|
||||
}
|
||||
} /////////////////////
|
||||
@ -11280,7 +11280,7 @@ class Mpdf implements \Psr\Log\LoggerAwareInterface
|
||||
if (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] && $_SERVER['HTTPS'] !== 'off') {
|
||||
$currpath = 'https://' . $host . $currentPath . '/';
|
||||
} else {
|
||||
$currpath = 'https://' . $host . $currentPath . '/';
|
||||
$currpath = 'http://' . $host . $currentPath . '/';
|
||||
}
|
||||
} else {
|
||||
$currpath = '';
|
||||
@ -11293,8 +11293,8 @@ class Mpdf implements \Psr\Log\LoggerAwareInterface
|
||||
if (!preg_match('/(http|https|ftp):\/\/.*\//i', $str)) {
|
||||
$str .= '/';
|
||||
}
|
||||
$str .= 'xxx'; // in case $str ends in / e.g. https://www.bbc.co.uk/
|
||||
$this->basepath = dirname($str) . "/"; // returns e.g. e.g. https://www.google.com/dir1/dir2/dir3/
|
||||
$str .= 'xxx'; // in case $str ends in / e.g. http://www.bbc.co.uk/
|
||||
$this->basepath = dirname($str) . "/"; // returns e.g. e.g. http://www.google.com/dir1/dir2/dir3/
|
||||
$this->basepath = str_replace("\\", "/", $this->basepath); // If on Windows
|
||||
$tr = parse_url($this->basepath);
|
||||
if (isset($tr['host']) && ($tr['host'] == $host)) {
|
||||
@ -14044,7 +14044,7 @@ class Mpdf implements \Psr\Log\LoggerAwareInterface
|
||||
$inner_w = 2 * $this->GetCharWidth('W', false);
|
||||
}
|
||||
// ================================================================
|
||||
// Algorithm from CSS2.1 See https://www.w3.org/TR/CSS21/visudet.html#abs-non-replaced-height
|
||||
// Algorithm from CSS2.1 See http://www.w3.org/TR/CSS21/visudet.html#abs-non-replaced-height
|
||||
// mPD 5.3.14
|
||||
// Special case (not CSS) if all not specified, centre vertically on page
|
||||
$bbox_top_orig = '';
|
||||
@ -14103,7 +14103,7 @@ class Mpdf implements \Psr\Log\LoggerAwareInterface
|
||||
}
|
||||
|
||||
// THEN DO SAME FOR WIDTH
|
||||
// https://www.w3.org/TR/CSS21/visudet.html#abs-non-replaced-width
|
||||
// http://www.w3.org/TR/CSS21/visudet.html#abs-non-replaced-width
|
||||
if ($bbox_left === 'auto' && $inner_w === 'auto' && $bbox_right === 'auto') {
|
||||
if ($bbox_ml === 'auto') {
|
||||
$bbox_ml = 0;
|
||||
@ -19496,13 +19496,13 @@ class Mpdf implements \Psr\Log\LoggerAwareInterface
|
||||
$c['miw'] = $c['w'] = $miw;
|
||||
} // If width specified is less than minimum allowed (W) increase it
|
||||
// mPDF 5.7.4 Do not set column width in colspan
|
||||
// cf. https://www.mpdf1.com/forum/discussion/2221/colspan-bug
|
||||
// cf. http://www.mpdf1.com/forum/discussion/2221/colspan-bug
|
||||
if (!isset($c['colspan'])) {
|
||||
if (!isset($wc['w'])) {
|
||||
$wc['w'] = 1;
|
||||
} // If the Col width is not specified = set it to 1
|
||||
}
|
||||
// mPDF 5.7.3 cf. https://www.mpdf1.com/forum/discussion/1648/nested-table-bug-
|
||||
// mPDF 5.7.3 cf. http://www.mpdf1.com/forum/discussion/1648/nested-table-bug-
|
||||
$c['maw'] = $c['w'];
|
||||
} else {
|
||||
$c['miw'] = $miw;
|
||||
@ -19608,7 +19608,7 @@ class Mpdf implements \Psr\Log\LoggerAwareInterface
|
||||
} else {
|
||||
$wi = $c['miw'] - $wis;
|
||||
// mPDF 5.7.2 Extra min width distributed proportionately to all cells in colspan without a specified width
|
||||
// cf. https://www.mpdf1.com/forum/discussion/1607#Item_4
|
||||
// cf. http://www.mpdf1.com/forum/discussion/1607#Item_4
|
||||
foreach ($list as $k) {
|
||||
if (!isset($wc[$k]['w']) || !$wc[$k]['w']) {
|
||||
$wc[$k]['miw'] += ($wc[$k]['miw'] / $wisa) * $wi;
|
||||
@ -19629,7 +19629,7 @@ class Mpdf implements \Psr\Log\LoggerAwareInterface
|
||||
} else {
|
||||
$wi = $c['maw'] - $was;
|
||||
// mPDF 5.7.4 Extra max width distributed evenly to all cells in colspan without a specified width
|
||||
// cf. https://www.mpdf1.com/forum/discussion/2221/colspan-bug
|
||||
// cf. http://www.mpdf1.com/forum/discussion/2221/colspan-bug
|
||||
foreach ($list as $k) {
|
||||
$wc[$k]['maw'] += $wi / count($list);
|
||||
}
|
||||
@ -25978,7 +25978,7 @@ class Mpdf implements \Psr\Log\LoggerAwareInterface
|
||||
$ow = $fbw + $paddingL + $paddingR; // Full overall width incl. user-defined padding
|
||||
|
||||
$fbwi = $fbw - 2; // Full barcode width incl. light margins - 2mm - for isbn string
|
||||
// cf. https://www.gs1uk.org/downloads/bar_code/Bar coding getting it right.pdf
|
||||
// cf. http://www.gs1uk.org/downloads/bar_code/Bar coding getting it right.pdf
|
||||
$num_height = 3 * $size; // Height of numerals
|
||||
$fbh = $arrcode['nom-H'] * $size * $height; // Full barcode height incl. numerals
|
||||
$bch = $fbh - (1.5 * $size); // Barcode height of bars (3mm for numerals)
|
||||
@ -27173,7 +27173,7 @@ class Mpdf implements \Psr\Log\LoggerAwareInterface
|
||||
* This function takes the last comma or dot (if any) to make a clean float, ignoring thousand separator, currency or any other letter
|
||||
*
|
||||
* @param string $num
|
||||
* @see https://php.net/manual/de/function.floatval.php#114486
|
||||
* @see http://php.net/manual/de/function.floatval.php#114486
|
||||
* @return float
|
||||
*/
|
||||
public function toFloat($num)
|
||||
|
14
mpdf/vendor/mpdf/mpdf/src/Otl.php
vendored
14
mpdf/vendor/mpdf/mpdf/src/Otl.php
vendored
@ -816,7 +816,7 @@ class Otl
|
||||
// Decomposition for THAI or LAO
|
||||
/* This function implements the shaping logic documented here:
|
||||
*
|
||||
* https://linux.thai.net/~thep/th-otf/shaping.html
|
||||
* http://linux.thai.net/~thep/th-otf/shaping.html
|
||||
*
|
||||
* The first shaping rule listed there is needed even if the font has Thai
|
||||
* OpenType tables.
|
||||
@ -2712,8 +2712,8 @@ class Otl
|
||||
////////////////////////////////////////////////////////////////
|
||||
private function arabic_initialise()
|
||||
{
|
||||
// cf. https://unicode.org/Public/UNIDATA/ArabicShaping.txt
|
||||
// https://unicode.org/Public/UNIDATA/extracted/DerivedJoiningType.txt
|
||||
// cf. http://unicode.org/Public/UNIDATA/ArabicShaping.txt
|
||||
// http://unicode.org/Public/UNIDATA/extracted/DerivedJoiningType.txt
|
||||
// JOIN TO FOLLOWING LETTER IN LOGICAL ORDER (i.e. AS INITIAL/MEDIAL FORM) = Unicode Left-Joining (+ Dual-Joining + Join_Causing 00640)
|
||||
$this->arabLeftJoining = [
|
||||
0x0620 => 1, 0x0626 => 1, 0x0628 => 1, 0x062A => 1, 0x062B => 1, 0x062C => 1, 0x062D => 1, 0x062E => 1,
|
||||
@ -6008,8 +6008,8 @@ class Otl
|
||||
// $scriptblock is the (number/code) for the script of the actual text string based on Unicode properties (Ucdn::$uni_scriptblock)
|
||||
// $scripttag is the default tag derived from $scriptblock
|
||||
/*
|
||||
https://www.microsoft.com/typography/otspec/ttoreg.htm
|
||||
https://www.microsoft.com/typography/otspec/scripttags.htm
|
||||
http://www.microsoft.com/typography/otspec/ttoreg.htm
|
||||
http://www.microsoft.com/typography/otspec/scripttags.htm
|
||||
|
||||
Values for useOTL
|
||||
|
||||
@ -6129,8 +6129,8 @@ class Otl
|
||||
// LangSys tags
|
||||
private function _getOTLLangTag($ietf, $available)
|
||||
{
|
||||
// https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes
|
||||
// https://www.microsoft.com/typography/otspec/languagetags.htm
|
||||
// http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes
|
||||
// http://www.microsoft.com/typography/otspec/languagetags.htm
|
||||
// IETF tag = e.g. en-US, und-Arab, sr-Cyrl cf. class LangToFont
|
||||
if ($available == '') {
|
||||
return '';
|
||||
|
4
mpdf/vendor/mpdf/mpdf/src/OtlDump.php
vendored
4
mpdf/vendor/mpdf/mpdf/src/OtlDump.php
vendored
@ -934,7 +934,7 @@ class OtlDump
|
||||
///////////////////////////////////
|
||||
// GDEF - Glyph Definition
|
||||
///////////////////////////////////
|
||||
// https://www.microsoft.com/typography/otspec/gdef.htm
|
||||
// http://www.microsoft.com/typography/otspec/gdef.htm
|
||||
if (isset($this->tables["GDEF"])) {
|
||||
if ($this->mode == 'summary') {
|
||||
$this->mpdf->WriteHTML('<h1>GDEF table</h1>');
|
||||
@ -1056,7 +1056,7 @@ class OtlDump
|
||||
uint16 PointCount Number of attachment points on this glyph
|
||||
uint16 PointIndex[PointCount] Array of contour point indices -in increasing numerical order
|
||||
|
||||
See Example 3 - https://www.microsoft.com/typography/otspec/gdef.htm
|
||||
See Example 3 - http://www.microsoft.com/typography/otspec/gdef.htm
|
||||
*/
|
||||
|
||||
// Ligature Caret List
|
||||
|
2
mpdf/vendor/mpdf/mpdf/src/Shaper/Myanmar.php
vendored
2
mpdf/vendor/mpdf/mpdf/src/Shaper/Myanmar.php
vendored
@ -118,7 +118,7 @@ class Myanmar
|
||||
$pos = ($type >> 8);
|
||||
/*
|
||||
* Re-assign category
|
||||
* https://www.microsoft.com/typography/OpenTypeDev/myanmar/intro.htm#analyze
|
||||
* http://www.microsoft.com/typography/OpenTypeDev/myanmar/intro.htm#analyze
|
||||
*/
|
||||
if (self::in_range($u, 0xFE00, 0xFE0F)) {
|
||||
$cat = self::OT_VS;
|
||||
|
6
mpdf/vendor/mpdf/mpdf/src/TTFontFile.php
vendored
6
mpdf/vendor/mpdf/mpdf/src/TTFontFile.php
vendored
@ -38,7 +38,7 @@ if (!function_exists('\Mpdf\unicode_hex')) {
|
||||
* TTFontFile class
|
||||
*
|
||||
* This class is based on The ReportLab Open Source PDF library
|
||||
* written in Python - https://www.reportlab.com/software/opensource/
|
||||
* written in Python - http://www.reportlab.com/software/opensource/
|
||||
* together with ideas from the OpenOffice source code and others.
|
||||
* This header must be retained in any redistribution or
|
||||
* modification of the file.
|
||||
@ -1218,7 +1218,7 @@ class TTFontFile
|
||||
|
||||
function _getGDEFtables()
|
||||
{
|
||||
// https://www.microsoft.com/typography/otspec/gdef.htm
|
||||
// http://www.microsoft.com/typography/otspec/gdef.htm
|
||||
if (isset($this->tables["GDEF"])) {
|
||||
$gdef_offset = $this->seek_table("GDEF");
|
||||
|
||||
@ -1298,7 +1298,7 @@ class TTFontFile
|
||||
uint16 PointCount Number of attachment points on this glyph
|
||||
uint16 PointIndex[PointCount] Array of contour point indices -in increasing numerical order
|
||||
|
||||
See Example 3 - https://www.microsoft.com/typography/otspec/gdef.htm
|
||||
See Example 3 - http://www.microsoft.com/typography/otspec/gdef.htm
|
||||
*/
|
||||
|
||||
// Ligature Caret List
|
||||
|
2
mpdf/vendor/mpdf/mpdf/src/Tag/BlockTag.php
vendored
2
mpdf/vendor/mpdf/mpdf/src/Tag/BlockTag.php
vendored
@ -919,7 +919,7 @@ abstract class BlockTag extends Tag
|
||||
}
|
||||
|
||||
// mPDF 6 bidi
|
||||
// cf. https://www.w3.org/TR/css3-writing-modes/#unicode-bidi
|
||||
// cf. http://www.w3.org/TR/css3-writing-modes/#unicode-bidi
|
||||
if (isset($properties ['UNICODE-BIDI'])
|
||||
&& (strtolower($properties ['UNICODE-BIDI']) === 'bidi-override' || strtolower($properties ['UNICODE-BIDI']) === 'isolate-override')) {
|
||||
if ($currdir === 'rtl') {
|
||||
|
2
mpdf/vendor/mpdf/mpdf/src/Tag/InlineTag.php
vendored
2
mpdf/vendor/mpdf/mpdf/src/Tag/InlineTag.php
vendored
@ -79,7 +79,7 @@ abstract class InlineTag extends Tag
|
||||
}
|
||||
|
||||
// mPDF 6 bidi
|
||||
// cf. https://www.w3.org/TR/css3-writing-modes/#unicode-bidi
|
||||
// cf. http://www.w3.org/TR/css3-writing-modes/#unicode-bidi
|
||||
if ($tag === 'BDO') {
|
||||
if (isset($attr['DIR']) && strtolower($attr['DIR']) === 'rtl') {
|
||||
$bdf = 0x202E;
|
||||
|
12
mpdf/vendor/mpdf/mpdf/src/Tag/Meter.php
vendored
12
mpdf/vendor/mpdf/mpdf/src/Tag/Meter.php
vendored
@ -312,8 +312,8 @@ class Meter extends InlineTag
|
||||
$border_radius = 0.143; // Factor of Height
|
||||
|
||||
$svg = '<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "https://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<svg width="' . $w . 'px" height="' . $h . 'px" viewBox="0 0 ' . $w . ' ' . $h . '" xmlns="https://www.w3.org/2000/svg" xmlns:xlink="https://www.w3.org/1999/xlink" ><g>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<svg width="' . $w . 'px" height="' . $h . 'px" viewBox="0 0 ' . $w . ' ' . $h . '" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" ><g>
|
||||
|
||||
|
||||
<defs>
|
||||
@ -373,8 +373,8 @@ class Meter extends InlineTag
|
||||
$border_radius = 0.143; // Factor of Height
|
||||
|
||||
$svg = '<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "https://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<svg width="' . $w . 'px" height="' . $h . 'px" viewBox="0 0 ' . $w . ' ' . $h . '" xmlns="https://www.w3.org/2000/svg" xmlns:xlink="https://www.w3.org/1999/xlink" ><g>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<svg width="' . $w . 'px" height="' . $h . 'px" viewBox="0 0 ' . $w . ' ' . $h . '" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" ><g>
|
||||
|
||||
|
||||
<defs>
|
||||
@ -434,8 +434,8 @@ class Meter extends InlineTag
|
||||
$border_radius = 0.143; // Factor of Height
|
||||
|
||||
$svg = '<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "https://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<svg width="' . $w . 'px" height="' . $h . 'px" viewBox="0 0 ' . $w . ' ' . $h . '" xmlns="https://www.w3.org/2000/svg" xmlns:xlink="https://www.w3.org/1999/xlink" ><g>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<svg width="' . $w . 'px" height="' . $h . 'px" viewBox="0 0 ' . $w . ' ' . $h . '" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" ><g>
|
||||
|
||||
<defs>
|
||||
<linearGradient id="GrGRAY" x1="0" y1="0" x2="0" y2="1" gradientUnits="boundingBox">
|
||||
|
2
mpdf/vendor/mpdf/mpdf/src/Ucdn.php
vendored
2
mpdf/vendor/mpdf/mpdf/src/Ucdn.php
vendored
@ -1411,7 +1411,7 @@ class Ucdn
|
||||
[26, 0, 0, 0, 2, 0, 32],
|
||||
];
|
||||
|
||||
/* Mirror unicode characters. Bidirectional Algorithm, at https://www.unicode.org/unicode/reports/tr9/ */
|
||||
/* Mirror unicode characters. Bidirectional Algorithm, at http://www.unicode.org/unicode/reports/tr9/ */
|
||||
|
||||
public static $mirror_pairs = [
|
||||
40 => 41,
|
||||
|
@ -63,15 +63,15 @@ class MetadataWriter implements \Psr\Log\LoggerAwareInterface
|
||||
|
||||
$m = '<?xpacket begin="' . chr(239) . chr(187) . chr(191) . '" id="W5M0MpCehiHzreSzNTczkc9d"?>' . "\n"; // begin = FEFF BOM
|
||||
$m .= ' <x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="3.1-701">' . "\n";
|
||||
$m .= ' <rdf:RDF xmlns:rdf="https://www.w3.org/1999/02/22-rdf-syntax-ns#">' . "\n";
|
||||
$m .= ' <rdf:Description rdf:about="uuid:' . $uuid . '" xmlns:pdf="https://ns.adobe.com/pdf/1.3/">' . "\n";
|
||||
$m .= ' <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">' . "\n";
|
||||
$m .= ' <rdf:Description rdf:about="uuid:' . $uuid . '" xmlns:pdf="http://ns.adobe.com/pdf/1.3/">' . "\n";
|
||||
$m .= ' <pdf:Producer>' . $Producer . '</pdf:Producer>' . "\n";
|
||||
if (!empty($this->mpdf->keywords)) {
|
||||
$m .= ' <pdf:Keywords>' . $this->mpdf->keywords . '</pdf:Keywords>' . "\n";
|
||||
}
|
||||
$m .= ' </rdf:Description>' . "\n";
|
||||
|
||||
$m .= ' <rdf:Description rdf:about="uuid:' . $uuid . '" xmlns:xmp="https://ns.adobe.com/xap/1.0/">' . "\n";
|
||||
$m .= ' <rdf:Description rdf:about="uuid:' . $uuid . '" xmlns:xmp="http://ns.adobe.com/xap/1.0/">' . "\n";
|
||||
$m .= ' <xmp:CreateDate>' . $CreationDate . '</xmp:CreateDate>' . "\n";
|
||||
$m .= ' <xmp:ModifyDate>' . $CreationDate . '</xmp:ModifyDate>' . "\n";
|
||||
$m .= ' <xmp:MetadataDate>' . $CreationDate . '</xmp:MetadataDate>' . "\n";
|
||||
@ -81,7 +81,7 @@ class MetadataWriter implements \Psr\Log\LoggerAwareInterface
|
||||
$m .= ' </rdf:Description>' . "\n";
|
||||
|
||||
// DC elements
|
||||
$m .= ' <rdf:Description rdf:about="uuid:' . $uuid . '" xmlns:dc="https://purl.org/dc/elements/1.1/">' . "\n";
|
||||
$m .= ' <rdf:Description rdf:about="uuid:' . $uuid . '" xmlns:dc="http://purl.org/dc/elements/1.1/">' . "\n";
|
||||
$m .= ' <dc:format>application/pdf</dc:format>' . "\n";
|
||||
if (!empty($this->mpdf->title)) {
|
||||
$m .= ' <dc:title>
|
||||
@ -119,7 +119,7 @@ class MetadataWriter implements \Psr\Log\LoggerAwareInterface
|
||||
|
||||
// This bit is specific to PDFX-1a
|
||||
if ($this->mpdf->PDFX) {
|
||||
$m .= ' <rdf:Description rdf:about="uuid:' . $uuid . '" xmlns:pdfx="https://ns.adobe.com/pdfx/1.3/" pdfx:Apag_PDFX_Checkup="1.3" pdfx:GTS_PDFXConformance="PDF/X-1a:2003" pdfx:GTS_PDFXVersion="PDF/X-1:2003"/>' . "\n";
|
||||
$m .= ' <rdf:Description rdf:about="uuid:' . $uuid . '" xmlns:pdfx="http://ns.adobe.com/pdfx/1.3/" pdfx:Apag_PDFX_Checkup="1.3" pdfx:GTS_PDFXConformance="PDF/X-1a:2003" pdfx:GTS_PDFXVersion="PDF/X-1:2003"/>' . "\n";
|
||||
} // This bit is specific to PDFA-1b
|
||||
elseif ($this->mpdf->PDFA) {
|
||||
|
||||
@ -128,7 +128,7 @@ class MetadataWriter implements \Psr\Log\LoggerAwareInterface
|
||||
}
|
||||
|
||||
list($part, $conformance) = explode('-', strtoupper($this->mpdf->PDFAversion));
|
||||
$m .= ' <rdf:Description rdf:about="uuid:' . $uuid . '" xmlns:pdfaid="https://www.aiim.org/pdfa/ns/id/" >' . "\n";
|
||||
$m .= ' <rdf:Description rdf:about="uuid:' . $uuid . '" xmlns:pdfaid="http://www.aiim.org/pdfa/ns/id/" >' . "\n";
|
||||
$m .= ' <pdfaid:part>' . $part . '</pdfaid:part>' . "\n";
|
||||
$m .= ' <pdfaid:conformance>' . $conformance . '</pdfaid:conformance>' . "\n";
|
||||
if ($part === '1' && $conformance === 'B') {
|
||||
@ -137,7 +137,7 @@ class MetadataWriter implements \Psr\Log\LoggerAwareInterface
|
||||
$m .= ' </rdf:Description>' . "\n";
|
||||
}
|
||||
|
||||
$m .= ' <rdf:Description rdf:about="uuid:' . $uuid . '" xmlns:xmpMM="https://ns.adobe.com/xap/1.0/mm/">' . "\n";
|
||||
$m .= ' <rdf:Description rdf:about="uuid:' . $uuid . '" xmlns:xmpMM="http://ns.adobe.com/xap/1.0/mm/">' . "\n";
|
||||
$m .= ' <xmpMM:DocumentID>uuid:' . $uuid . '</xmpMM:DocumentID>' . "\n";
|
||||
$m .= ' </rdf:Description>' . "\n";
|
||||
$m .= ' </rdf:RDF>' . "\n";
|
||||
@ -217,7 +217,7 @@ class MetadataWriter implements \Psr\Log\LoggerAwareInterface
|
||||
$this->writer->write('/Info (CGATS TR 001)');
|
||||
$this->writer->write('/OutputConditionIdentifier (CGATS TR 001)');
|
||||
$this->writer->write('/OutputCondition (CGATS TR 001 (SWOP))');
|
||||
$this->writer->write('/RegistryName (https://www.color.org)');
|
||||
$this->writer->write('/RegistryName (http://www.color.org)');
|
||||
}
|
||||
}
|
||||
$this->writer->write('>>');
|
||||
|
BIN
mpdf/vendor/mpdf/mpdf/ttfonts/ARIALN.TTF
vendored
BIN
mpdf/vendor/mpdf/mpdf/ttfonts/ARIALN.TTF
vendored
Binary file not shown.
BIN
mpdf/vendor/mpdf/mpdf/ttfonts/ARIALNB.TTF
vendored
BIN
mpdf/vendor/mpdf/mpdf/ttfonts/ARIALNB.TTF
vendored
Binary file not shown.
BIN
mpdf/vendor/mpdf/mpdf/ttfonts/ARIALNBI.TTF
vendored
BIN
mpdf/vendor/mpdf/mpdf/ttfonts/ARIALNBI.TTF
vendored
Binary file not shown.
BIN
mpdf/vendor/mpdf/mpdf/ttfonts/ARIALNI.TTF
vendored
BIN
mpdf/vendor/mpdf/mpdf/ttfonts/ARIALNI.TTF
vendored
Binary file not shown.
Binary file not shown.
BIN
mpdf/vendor/mpdf/mpdf/ttfonts/Abyssinica_SIL.ttf
vendored
BIN
mpdf/vendor/mpdf/mpdf/ttfonts/Abyssinica_SIL.ttf
vendored
Binary file not shown.
BIN
mpdf/vendor/mpdf/mpdf/ttfonts/DBSILBR.ttf
vendored
BIN
mpdf/vendor/mpdf/mpdf/ttfonts/DBSILBR.ttf
vendored
Binary file not shown.
BIN
mpdf/vendor/mpdf/mpdf/ttfonts/DejaVuSans-Bold.ttf
vendored
BIN
mpdf/vendor/mpdf/mpdf/ttfonts/DejaVuSans-Bold.ttf
vendored
Binary file not shown.
Binary file not shown.
BIN
mpdf/vendor/mpdf/mpdf/ttfonts/DejaVuSans-Oblique.ttf
vendored
BIN
mpdf/vendor/mpdf/mpdf/ttfonts/DejaVuSans-Oblique.ttf
vendored
Binary file not shown.
BIN
mpdf/vendor/mpdf/mpdf/ttfonts/DejaVuSans.ttf
vendored
BIN
mpdf/vendor/mpdf/mpdf/ttfonts/DejaVuSans.ttf
vendored
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
mpdf/vendor/mpdf/mpdf/ttfonts/DejaVuSansMono.ttf
vendored
BIN
mpdf/vendor/mpdf/mpdf/ttfonts/DejaVuSansMono.ttf
vendored
Binary file not shown.
BIN
mpdf/vendor/mpdf/mpdf/ttfonts/DejaVuSerif-Bold.ttf
vendored
BIN
mpdf/vendor/mpdf/mpdf/ttfonts/DejaVuSerif-Bold.ttf
vendored
Binary file not shown.
Binary file not shown.
BIN
mpdf/vendor/mpdf/mpdf/ttfonts/DejaVuSerif-Italic.ttf
vendored
BIN
mpdf/vendor/mpdf/mpdf/ttfonts/DejaVuSerif-Italic.ttf
vendored
Binary file not shown.
BIN
mpdf/vendor/mpdf/mpdf/ttfonts/DejaVuSerif.ttf
vendored
BIN
mpdf/vendor/mpdf/mpdf/ttfonts/DejaVuSerif.ttf
vendored
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
mpdf/vendor/mpdf/mpdf/ttfonts/Dhyana-Bold.ttf
vendored
BIN
mpdf/vendor/mpdf/mpdf/ttfonts/Dhyana-Bold.ttf
vendored
Binary file not shown.
BIN
mpdf/vendor/mpdf/mpdf/ttfonts/Dhyana-Regular.ttf
vendored
BIN
mpdf/vendor/mpdf/mpdf/ttfonts/Dhyana-Regular.ttf
vendored
Binary file not shown.
2
mpdf/vendor/mpdf/mpdf/ttfonts/DhyanaOFL.txt
vendored
2
mpdf/vendor/mpdf/mpdf/ttfonts/DhyanaOFL.txt
vendored
@ -3,7 +3,7 @@ with Reserved Font Names "Dhyana".
|
||||
|
||||
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||
This license is copied below, and is also available with a FAQ at:
|
||||
https://scripts.sil.org/OFL
|
||||
http://scripts.sil.org/OFL
|
||||
|
||||
|
||||
-----------------------------------------------------------
|
||||
|
BIN
mpdf/vendor/mpdf/mpdf/ttfonts/FreeMono.ttf
vendored
BIN
mpdf/vendor/mpdf/mpdf/ttfonts/FreeMono.ttf
vendored
Binary file not shown.
BIN
mpdf/vendor/mpdf/mpdf/ttfonts/FreeMonoBold.ttf
vendored
BIN
mpdf/vendor/mpdf/mpdf/ttfonts/FreeMonoBold.ttf
vendored
Binary file not shown.
Binary file not shown.
BIN
mpdf/vendor/mpdf/mpdf/ttfonts/FreeMonoOblique.ttf
vendored
BIN
mpdf/vendor/mpdf/mpdf/ttfonts/FreeMonoOblique.ttf
vendored
Binary file not shown.
BIN
mpdf/vendor/mpdf/mpdf/ttfonts/FreeSans.ttf
vendored
BIN
mpdf/vendor/mpdf/mpdf/ttfonts/FreeSans.ttf
vendored
Binary file not shown.
BIN
mpdf/vendor/mpdf/mpdf/ttfonts/FreeSansBold.ttf
vendored
BIN
mpdf/vendor/mpdf/mpdf/ttfonts/FreeSansBold.ttf
vendored
Binary file not shown.
Binary file not shown.
BIN
mpdf/vendor/mpdf/mpdf/ttfonts/FreeSansOblique.ttf
vendored
BIN
mpdf/vendor/mpdf/mpdf/ttfonts/FreeSansOblique.ttf
vendored
Binary file not shown.
BIN
mpdf/vendor/mpdf/mpdf/ttfonts/FreeSerif.ttf
vendored
BIN
mpdf/vendor/mpdf/mpdf/ttfonts/FreeSerif.ttf
vendored
Binary file not shown.
BIN
mpdf/vendor/mpdf/mpdf/ttfonts/FreeSerifBold.ttf
vendored
BIN
mpdf/vendor/mpdf/mpdf/ttfonts/FreeSerifBold.ttf
vendored
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user