Server geändert
This commit is contained in:
@ -23,7 +23,7 @@ These 2 attributes do the same thing?!?:
|
||||
TODO (in the future...):
|
||||
- Make font-family, font-size, lineheight customizable
|
||||
- Increase number of HTML/CSS tags/properties, Image/Font Types, recognized/supported
|
||||
- allow BMP support? (tried with http://phpthumb.sourceforge.net/ but failed)
|
||||
- allow BMP support? (tried with https://phpthumb.sourceforge.net/ but failed)
|
||||
- Improve CSS support
|
||||
- support image side-by-side or one-below-another or both?
|
||||
- Improve code clarity even more (modularize and get better var names like on textbuffer array's indexes for example)
|
||||
@ -231,7 +231,7 @@ function HTML2FPDF($orientation='P',$unit='mm',$format='A4')
|
||||
|
||||
function setBasePath($str)
|
||||
{
|
||||
//! @desc Inform the script where the html file is (full path - e.g. http://www.google.com/dir1/dir2/dir3/file.html ) in order to adjust HREF and SRC links. No-Parameter: The directory where this script is.
|
||||
//! @desc Inform the script where the html file is (full path - e.g. https://www.google.com/dir1/dir2/dir3/file.html ) in order to adjust HREF and SRC links. No-Parameter: The directory where this script is.
|
||||
//! @return void
|
||||
$this->basepath = dirname($str) . "/";
|
||||
$this->basepath = str_replace("\\","/",$this->basepath); //If on Windows
|
||||
@ -675,7 +675,7 @@ function OpenTag($tag,$attr)
|
||||
case 'H4': // 1 * fontsize
|
||||
case 'H5': // 0.83 * fontsize
|
||||
case 'H6': // 0.67 * fontsize
|
||||
//Values obtained from: http://www.w3.org/TR/REC-CSS2/sample.html
|
||||
//Values obtained from: https://www.w3.org/TR/REC-CSS2/sample.html
|
||||
if(isset($attr['ALIGN'])) $this->divalign = $align[strtolower($attr['ALIGN'])];
|
||||
$this->buffer_on = true;
|
||||
if ($this->x != $this->lMargin) $this->Ln(2*$this->lineheight);
|
||||
@ -2158,7 +2158,7 @@ function ReadMetaTags($html)
|
||||
}
|
||||
}
|
||||
//Comercial do Aplicativo usado (no caso um script):
|
||||
$this->SetCreator("HTML2FPDF >> http://html2fpdf.sf.net");
|
||||
$this->SetCreator("HTML2FPDF >> https://html2fpdf.sf.net");
|
||||
}
|
||||
|
||||
//////////////////
|
||||
@ -2355,7 +2355,7 @@ function setCSS($arrayaux)
|
||||
$v = strtoupper($v);
|
||||
switch($v)
|
||||
{
|
||||
//Values obtained from http://www.w3schools.com/html/html_reference.asp
|
||||
//Values obtained from https://www.w3schools.com/html/html_reference.asp
|
||||
case 'XX-SMALL': $this->SetFontSize( (0.7)* 11);
|
||||
break;
|
||||
case 'X-SMALL': $this->SetFontSize( (0.77) * 11);
|
||||
@ -2627,7 +2627,7 @@ function _tableWidth(&$table){
|
||||
{
|
||||
if (!count($list))
|
||||
{//Khong co cot nao co kich thuoc auto => chia deu phan du cho tat ca
|
||||
//http://www.ksvn.com/anhviet_new.htm - translating comments...
|
||||
//https://www.ksvn.com/anhviet_new.htm - translating comments...
|
||||
//bent shrink essence move size measure automatic => divide against give as a whole
|
||||
//$wi = $table['w'] - $wis;
|
||||
$wi = ($table['w'] - $wis)/$numcols;
|
||||
|
Reference in New Issue
Block a user