Skip to content
Advertisement

Tag: dompdf

justify content space between not working in dompdf

I have such a report that generated by DOMPDF and created with Laravel. I want to display text, one in text-align: left, and another one in text-align: right (both in a same line). But it’s not working in my code. Anybody would to help me with this issue please? I’ve been looking for this but still couldn’t find the solution.

Laravel: DOMPDF error when trying to get PDF

I’ve been trying to get the PDF of a view using DOMPDF with a table full of ingredients populated from a database table. I created a function in my Controller: And the route in web.php is defined as: However, I keep getting this error: fopen(D:mealplanstoragefonts//nunito_normal_46b9b3b48cc3ddbae60da82f1c1c5d29.ufm): failed to open stream: No such file or directory It must be something to do

Dompdf-Laravel Unicode character not rendering correctly

I am using barryvdh/laravel-dompdf to load PDF’s in my laravel application. I need to load custom unicode fonts(sinhala) in to the pdf. To do this, I downloaded my external fonts and copied the font folder and then it load to storage/fonts directory by load_font.php. I have used css in my blade file as follows: I also set meta tag UTF-8

Dompdf overlapping the images

I am trying to convert a products gallery images into PDF using dompdf , but it overlaps images instead of showing them on next line (for the solution, I tried <br> also but did not work for me) Here is css See 4th image is half cut and also 5th is not showing, in my css i am clearing float

Advertisement