Skip to content

Commit

Permalink
update configuration file
Browse files Browse the repository at this point in the history
  • Loading branch information
themsaid committed Nov 7, 2020
1 parent 51dc575 commit 6263256
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Commands/BuildCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ protected function buildPdf(string $html, array $config, string $currentPath, st
$pdf->h2toc = $tocLevels;
$pdf->h2bookmarks = $tocLevels;

// $pdf->SetMargins(400, 100, 12);
$pdf->SetMargins(400, 100, 12);

if (! $this->disk->isFile($currentPath.'/assets/cover.jpg')) {
$this->output->writeln('<fg=red>==></> No assets/cover.jpg File Found. Skipping ...');
Expand Down
11 changes: 10 additions & 1 deletion stubs/ibis.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,13 @@
*/
'title' => 'Laravel Queues in Action',


/**
* The author name.
*/
'author' => 'Mohamed Said',


/**
* The list of fonts to be used in the different themes.
*/
Expand All @@ -19,8 +21,9 @@
// 'times' => 'times-regular.ttf',
],


/**
*
* Document Dimensions.
*/
'document' => [
'format' => [210, 297],
Expand All @@ -30,11 +33,16 @@
'margin_top' => 14,
],


/**
* Cover photo position and dimensions
*/
'cover' => [
'position' => 'position: absolute; left:0; right: 0; top: -.2; bottom: 0;',
'dimensions' => 'width: 210mm; height: 297mm; margin: 0;',
],


/**
* Page ranges to be used with the sample command.
*/
Expand All @@ -44,6 +52,7 @@
[100, 103]
],


/**
* A notice printed at the final page of a generated sample.
*/
Expand Down

0 comments on commit 6263256

Please sign in to comment.