Skip to content

Commit

Permalink
updated readme.md (custom fonts)
Browse files Browse the repository at this point in the history
Changed custom fonts config according to niklasravnsborg#81 (comment)

(Now it works again)
  • Loading branch information
cryptoBOOOOM committed Oct 8, 2018
1 parent e762aaf commit eb29936
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions readme.md
Expand Up @@ -119,8 +119,8 @@ You can use your own fonts in the generated PDFs. The TTF files have to be locat
```php
return [
// ...
'font_path' => base_path('resources/fonts/'),
'font_data' => [
'custom_font_path' => base_path('resources/fonts/'),
'custom_font_data' => [
'examplefont' => [
'R' => 'ExampleFont-Regular.ttf', // regular font
'B' => 'ExampleFont-Bold.ttf', // optional: bold font
Expand Down

0 comments on commit eb29936

Please sign in to comment.