@extends('layouts.pdf-sample') @section('styles') @endsection @section('content')
{{ $title }}
PDF Font Settings Preview

This is a sample PDF document generated using your custom PDF font settings. This document demonstrates how your configured settings affect the appearance and layout of PDF documents throughout the application.

The font size, line height, spacing, and header color settings you've configured are all applied to this document. You can use this preview to ensure your PDF settings produce the desired output before using them in production documents.

Current PDF Configuration
@if ($company->use_custom_font && $company->pdfFont) @endif
Setting Value
Custom Font {{ $company->pdfFont->name }}
Font Size {{ $company->pdf_font_size ? $company->pdf_font_size : 17 }}px
Line Height {{ $company->pdf_line_height ? $company->pdf_line_height : 28 }}px
Header Color {{ $company->pdf_header_color }}
Left Margin {{ $company->pdf_left_space ? $company->pdf_left_space : 15 }}mm
Right Margin {{ $company->pdf_right_space ? $company->pdf_right_space : 15 }}mm
Top Margin {{ $company->pdf_top_space ? $company->pdf_top_space : 40 }}mm
Bottom Margin {{ $company->pdf_bottom_space ? $company->pdf_bottom_space : 20 }}mm
Show Company Name {{ $company->pdf_show_company_name == 1 ? 'Yes' : 'No' }}
Show Company Email {{ $company->pdf_show_company_email == 1 ? 'Yes' : 'No' }}
Show Company Phone {{ $company->pdf_show_company_phone == 1 ? 'Yes' : 'No' }}
Show Company Address {{ $company->pdf_show_company_address == 1 ? 'Yes' : 'No' }}
Show Title in PDF {{ $company->pdf_title_show_in_pdf == 1 ? 'Yes' : 'No' }}
Sample Content

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo.

Font Size Variations

This paragraph uses a smaller font size ({{ $company->pdf_font_size ? $company->pdf_font_size - 2 : 15 }}px) to demonstrate how different font sizes appear in the document.

This paragraph uses the default configured font size ({{ $company->pdf_font_size ? $company->pdf_font_size : 17 }}px) for body text throughout the document.

This paragraph uses a larger font size ({{ $company->pdf_font_size ? $company->pdf_font_size + 3 : 20 }}px) to demonstrate emphasis or important information.

Conclusion

This sample document provides a comprehensive preview of your PDF font settings. If you need to make any adjustments to the font size, line height, margins, or other settings, you can do so from the PDF Settings configuration page and generate a new preview to see the changes.

Generated on: {{ now()->format('F d, Y - h:i A') }}

@endsection