You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: FAQ.htm
+10-11Lines changed: 10 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -46,29 +46,28 @@ <h1>FAQ</h1>
46
46
<p><b>2.</b><spanclass='question'>I get the following error when I try to generate a PDF: Some data has already been output, can't send PDF file</span></p>
47
47
You must send nothing to the browser except the PDF itself: no HTML, no space, no carriage return. A common
48
48
case is having extra blank at the end of an included script file.<br>
49
-
If you can't figure out where the problem comes from, this other message appearing just before will help you:<br>
50
49
<br>
51
-
<b>Warning:</b> Cannot modify header information - headers already sent by (output started at script.php:X)<br>
50
+
The message may be followed by this indication:<br>
52
51
<br>
53
-
It means that script.php outputs something at line X. Go to that line and fix it.
54
-
In case the message doesn't show, check if PHP warnings are enabled. If they are not, enable them. If they are,
55
-
try adding this at the very beginning of your script:
52
+
(output started at script.php:X)<br>
53
+
<br>
54
+
which gives you exactly the script and line number responsible for the output. If you don't see it,
55
+
try adding this line at the very beginning of your script:
56
56
<divclass="doc-source">
57
57
<pre><code>ob_end_clean();</code></pre>
58
58
</div>
59
59
</li>
60
60
61
61
<liid='q3'>
62
62
<p><b>3.</b><spanclass='question'>Accented letters are replaced with some strange characters like é.</span></p>
63
-
Don't use UTF-8 with the standard fonts; they expect text encoded in ISO-8859-1 or windows-1252.
64
-
You can use utf8_decode() to perform a conversion to ISO-8859-1:
63
+
Don't use UTF-8 with the standard fonts; they expect text encoded in windows-1252.
Copy file name to clipboardExpand all lines: changelog.htm
+10-2Lines changed: 10 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,14 @@
11
11
<body>
12
12
<h1>Changelog</h1>
13
13
<dl>
14
+
<dt><strong>v1.85</strong> (2022-11-10)</dt>
15
+
<dd>
16
+
- Removed deprecation notices on PHP 8.2.<br>
17
+
- Removed notices when passing null values instead of strings.<br>
18
+
- The FPDF_VERSION constant was replaced by a class constant.<br>
19
+
- The creation date of the PDF now includes the timezone.<br>
20
+
- The content-type is now always application/pdf, even for downloads.<br>
21
+
</dd>
14
22
<dt><strong>v1.84</strong> (2021-08-28)</dt>
15
23
<dd>
16
24
- Fixed an issue related to annotations.<br>
@@ -21,7 +29,7 @@ <h1>Changelog</h1>
21
29
</dd>
22
30
<dt><strong>v1.82</strong> (2019-12-07)</dt>
23
31
<dd>
24
-
- Removed a deprecation notice under PHP 7.4.<br>
32
+
- Removed a deprecation notice on PHP 7.4.<br>
25
33
</dd>
26
34
<dt><strong>v1.81</strong> (2015-12-20)</dt>
27
35
<dd>
@@ -94,7 +102,7 @@ <h1>Changelog</h1>
94
102
<dd>
95
103
- Type1 font support.<br>
96
104
- Added Baltic encoding.<br>
97
-
- The class now works internally in points with the origin at the bottom in order to avoid two bugs occurring with Acrobat 5:<br> * The line thickness was too large when printed under Windows 98 SE and ME.<br> * TrueType fonts didn't appear immediately inside the plug-in (a substitution font was used), one had to cause a window refresh to make them show up.<br>
105
+
- The class now works internally in points with the origin at the bottom in order to avoid two bugs occurring with Acrobat 5:<br> * The line thickness was too large when printed on Windows 98 SE and ME.<br> * TrueType fonts didn't appear immediately inside the plug-in (a substitution font was used), one had to cause a window refresh to make them show up.<br>
98
106
- It's no longer necessary to set the decimal separator as dot to produce valid documents.<br>
99
107
- The clickable area in a cell was always on the left independently from the text alignment.<br>
100
108
- JPEG images in CMYK mode appeared in inverted colors.<br>
0 commit comments