PMCORE-2128
This commit is contained in:
@@ -1544,11 +1544,15 @@ function documents_list_registered_fonts()
|
||||
|
||||
// Display information
|
||||
CLI::logging(PHP_EOL);
|
||||
foreach ($fonts as $fileName => $font) {
|
||||
$inTinyMce = $font['inTinyMce'] ? 'Yes' : 'No';
|
||||
CLI::logging("TTF Filename: {$fileName}" . PHP_EOL);
|
||||
CLI::logging("TCPDF Filename: {$font['tcPdfFileName']}" . PHP_EOL);
|
||||
CLI::logging("Display in TinyMCE: {$inTinyMce}" . PHP_EOL . PHP_EOL . PHP_EOL);
|
||||
if (!empty($fonts)) {
|
||||
foreach ($fonts as $fileName => $font) {
|
||||
$inTinyMce = $font['inTinyMce'] ? 'Yes' : 'No';
|
||||
CLI::logging("TTF Filename: {$fileName}" . PHP_EOL);
|
||||
CLI::logging("TCPDF Filename: {$font['tcPdfFileName']}" . PHP_EOL);
|
||||
CLI::logging("Display in TinyMCE: {$inTinyMce}" . PHP_EOL . PHP_EOL . PHP_EOL);
|
||||
}
|
||||
} else {
|
||||
CLI::logging('It has not been added fonts yet.' . PHP_EOL . PHP_EOL);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1242,8 +1242,11 @@ class OutputDocument extends BaseOutputDocument
|
||||
// Create the missing folder(s)
|
||||
$filesystem->makeDirectory(K_PATH_FONTS, 0755, true, true);
|
||||
|
||||
// Copy files related to the fonts
|
||||
// Copy files related to the fonts from vendors
|
||||
$filesystem->copyDirectory(PATH_TRUNK . 'vendor' . PATH_SEP . 'tecnickcom' . PATH_SEP . 'tcpdf' . PATH_SEP . 'fonts' . PATH_SEP, K_PATH_FONTS);
|
||||
|
||||
// Copy files related to the fonts from core
|
||||
$filesystem->copyDirectory(PATH_CORE . 'content' . PATH_SEP . 'tcPdfFonts' . PATH_SEP, K_PATH_FONTS);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
BIN
workflow/engine/content/tcPdfFonts/cormorantgaramond.ctg.z
Normal file
BIN
workflow/engine/content/tcPdfFonts/cormorantgaramond.ctg.z
Normal file
Binary file not shown.
15
workflow/engine/content/tcPdfFonts/cormorantgaramond.php
Normal file
15
workflow/engine/content/tcPdfFonts/cormorantgaramond.php
Normal file
File diff suppressed because one or more lines are too long
BIN
workflow/engine/content/tcPdfFonts/cormorantgaramond.z
Normal file
BIN
workflow/engine/content/tcPdfFonts/cormorantgaramond.z
Normal file
Binary file not shown.
BIN
workflow/engine/content/tcPdfFonts/cormorantgaramondb.ctg.z
Normal file
BIN
workflow/engine/content/tcPdfFonts/cormorantgaramondb.ctg.z
Normal file
Binary file not shown.
15
workflow/engine/content/tcPdfFonts/cormorantgaramondb.php
Normal file
15
workflow/engine/content/tcPdfFonts/cormorantgaramondb.php
Normal file
File diff suppressed because one or more lines are too long
BIN
workflow/engine/content/tcPdfFonts/cormorantgaramondb.z
Normal file
BIN
workflow/engine/content/tcPdfFonts/cormorantgaramondb.z
Normal file
Binary file not shown.
BIN
workflow/engine/content/tcPdfFonts/cormorantgaramondbi.ctg.z
Normal file
BIN
workflow/engine/content/tcPdfFonts/cormorantgaramondbi.ctg.z
Normal file
Binary file not shown.
15
workflow/engine/content/tcPdfFonts/cormorantgaramondbi.php
Normal file
15
workflow/engine/content/tcPdfFonts/cormorantgaramondbi.php
Normal file
File diff suppressed because one or more lines are too long
BIN
workflow/engine/content/tcPdfFonts/cormorantgaramondbi.z
Normal file
BIN
workflow/engine/content/tcPdfFonts/cormorantgaramondbi.z
Normal file
Binary file not shown.
BIN
workflow/engine/content/tcPdfFonts/cormorantgaramondi.ctg.z
Normal file
BIN
workflow/engine/content/tcPdfFonts/cormorantgaramondi.ctg.z
Normal file
Binary file not shown.
15
workflow/engine/content/tcPdfFonts/cormorantgaramondi.php
Normal file
15
workflow/engine/content/tcPdfFonts/cormorantgaramondi.php
Normal file
File diff suppressed because one or more lines are too long
BIN
workflow/engine/content/tcPdfFonts/cormorantgaramondi.z
Normal file
BIN
workflow/engine/content/tcPdfFonts/cormorantgaramondi.z
Normal file
Binary file not shown.
BIN
workflow/engine/content/tcPdfFonts/gentiumbookbasic.ctg.z
Normal file
BIN
workflow/engine/content/tcPdfFonts/gentiumbookbasic.ctg.z
Normal file
Binary file not shown.
15
workflow/engine/content/tcPdfFonts/gentiumbookbasic.php
Normal file
15
workflow/engine/content/tcPdfFonts/gentiumbookbasic.php
Normal file
File diff suppressed because one or more lines are too long
BIN
workflow/engine/content/tcPdfFonts/gentiumbookbasic.z
Normal file
BIN
workflow/engine/content/tcPdfFonts/gentiumbookbasic.z
Normal file
Binary file not shown.
BIN
workflow/engine/content/tcPdfFonts/gentiumbookbasicb.ctg.z
Normal file
BIN
workflow/engine/content/tcPdfFonts/gentiumbookbasicb.ctg.z
Normal file
Binary file not shown.
15
workflow/engine/content/tcPdfFonts/gentiumbookbasicb.php
Normal file
15
workflow/engine/content/tcPdfFonts/gentiumbookbasicb.php
Normal file
File diff suppressed because one or more lines are too long
BIN
workflow/engine/content/tcPdfFonts/gentiumbookbasicb.z
Normal file
BIN
workflow/engine/content/tcPdfFonts/gentiumbookbasicb.z
Normal file
Binary file not shown.
BIN
workflow/engine/content/tcPdfFonts/gentiumbookbasicbi.ctg.z
Normal file
BIN
workflow/engine/content/tcPdfFonts/gentiumbookbasicbi.ctg.z
Normal file
Binary file not shown.
15
workflow/engine/content/tcPdfFonts/gentiumbookbasicbi.php
Normal file
15
workflow/engine/content/tcPdfFonts/gentiumbookbasicbi.php
Normal file
File diff suppressed because one or more lines are too long
BIN
workflow/engine/content/tcPdfFonts/gentiumbookbasicbi.z
Normal file
BIN
workflow/engine/content/tcPdfFonts/gentiumbookbasicbi.z
Normal file
Binary file not shown.
BIN
workflow/engine/content/tcPdfFonts/gentiumbookbasici.ctg.z
Normal file
BIN
workflow/engine/content/tcPdfFonts/gentiumbookbasici.ctg.z
Normal file
Binary file not shown.
15
workflow/engine/content/tcPdfFonts/gentiumbookbasici.php
Normal file
15
workflow/engine/content/tcPdfFonts/gentiumbookbasici.php
Normal file
File diff suppressed because one or more lines are too long
BIN
workflow/engine/content/tcPdfFonts/gentiumbookbasici.z
Normal file
BIN
workflow/engine/content/tcPdfFonts/gentiumbookbasici.z
Normal file
Binary file not shown.
BIN
workflow/engine/content/tcPdfFonts/grandstander.ctg.z
Normal file
BIN
workflow/engine/content/tcPdfFonts/grandstander.ctg.z
Normal file
Binary file not shown.
15
workflow/engine/content/tcPdfFonts/grandstander.php
Normal file
15
workflow/engine/content/tcPdfFonts/grandstander.php
Normal file
File diff suppressed because one or more lines are too long
BIN
workflow/engine/content/tcPdfFonts/grandstander.z
Normal file
BIN
workflow/engine/content/tcPdfFonts/grandstander.z
Normal file
Binary file not shown.
BIN
workflow/engine/content/tcPdfFonts/grandstanderb.ctg.z
Normal file
BIN
workflow/engine/content/tcPdfFonts/grandstanderb.ctg.z
Normal file
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user