Merge pull request #781 from tecnickcom/fixes

Fixes
This commit is contained in:
Nicola Asuni 2025-01-26 14:03:12 +00:00 committed by GitHub
commit f7a781073e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 15 additions and 10 deletions

1
.gitattributes vendored
View File

@ -3,4 +3,5 @@
/.gitattributes export-ignore
/tests export-ignore
/scripts export-ignore
/examples export-ignore
/phpstan.neon.dist export-ignore

View File

@ -1,4 +1,8 @@
6.8.1 (2025-01-26)
6.8.2 (2025-01-26)
- Fix some annotation flags values.
- Remove examples from packaging.
6.8.1 (2025-01-26) - UNTAGGED
- Check relative paths on SVG images.
6.8.0 (2024-12-23)

View File

@ -1 +1 @@
6.8.1
6.8.2

View File

@ -12,7 +12,7 @@
"barcodes"
],
"homepage": "http://www.tcpdf.org/",
"version": "6.8.1",
"version": "6.8.2",
"license": "LGPL-3.0-or-later",
"authors": [
{

View File

@ -55,7 +55,7 @@ class TCPDF_STATIC {
* Current TCPDF version.
* @private static
*/
private static $tcpdf_version = '6.8.1';
private static $tcpdf_version = '6.8.2';
/**
* String alias for total number of pages.

View File

@ -1,7 +1,7 @@
<?php
//============================================================+
// File name : tcpdf.php
// Version : 6.8.1
// Version : 6.8.2
// Begin : 2002-08-03
// Last Update : 2024-12-23
// Author : Nicola Asuni - Tecnick.com LTD - www.tecnick.com - info@tecnick.com
@ -104,7 +104,7 @@
* Tools to encode your unicode fonts are on fonts/utils directory.</p>
* @package com.tecnick.tcpdf
* @author Nicola Asuni
* @version 6.8.1
* @version 6.8.2
*/
// TCPDF configuration
@ -128,7 +128,7 @@ require_once(dirname(__FILE__).'/include/tcpdf_static.php');
* TCPDF project (http://www.tcpdf.org) has been originally derived in 2002 from the Public Domain FPDF class by Olivier Plathey (http://www.fpdf.org), but now is almost entirely rewritten.<br>
* @package com.tecnick.tcpdf
* @brief PHP class for generating PDF documents without requiring external extensions.
* @version 6.8.1
* @version 6.8.2
* @author Nicola Asuni - info@tecnick.com
* @IgnoreAnnotation("protected")
* @IgnoreAnnotation("public")
@ -8311,15 +8311,15 @@ class TCPDF {
break;
}
case 'locked': {
$fval += 1 << 8;
$fval += 1 << 7;
break;
}
case 'togglenoview': {
$fval += 1 << 9;
$fval += 1 << 8;
break;
}
case 'lockedcontents': {
$fval += 1 << 10;
$fval += 1 << 9;
break;
}
default: {