wicked_pdf icon indicating copy to clipboard operation
wicked_pdf copied to clipboard

PDF generator (from HTML) plugin for Ruby on Rails

Results 152 wicked_pdf issues
Sort by recently updated
recently updated
newest added

Im using the `WickedPdf.new.pdf_from_url` and whatever i do it always generate a file with almost no CSS honored. This is the sample using "https://github.com/mileszs/wicked_pdf" as url ![image](https://github.com/mileszs/wicked_pdf/assets/35055551/665f2dd9-0b82-40ff-9915-a0b3a6ae4979)

wkhtmltopdf

Are there plans to have support for [PDFA](https://pdfa.org/resource/iso-19005-pdfa/)? Especially PDF/A-1? Many universities and government offices only accept PDFs which are PDF/A-1 conform. It would be great if this project would...

![Screenshot from 2024-02-01 13-03-09](https://github.com/mileszs/wicked_pdf/assets/157452295/f52f689e-d3d6-44f0-81be-481e60f9be0b) ## Issue description while generating pdf my content is not breaking down for a page. It's getting cropped. def general_ledger_pdf @categories = Category.journal_categories(params[:accounting_business_id], @daterange) render pdf:...

## Issue description When trying to generate a PDF with `wicked_pdf` 2.7.0 it breaks with the following error : ``` ActionView::Template::Error: uninitialized constant Webpacker::VERSION Webpacker::VERSION ``` The issue was introduced...

Console error: ``` irb(main):002> enrollment.save_diploma User Load (3.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] /Users/miguel/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/turbo-rails-1.5.0/app/controllers/turbo/frames/frame_request.rb:36:in `turbo_frame_request_id': Could not render layout: undefined method...

This PR improves local developer experience by pointing out what needs to be done for the tests to work locally without relying on CI

## Issue description When using `wicked_pdf_stylesheet_link_tag`, if the assets are precompiled or otherwise referenced via URL, WickedPDF tries to fetch the asset from remote URL using `read_from_uri` method in `WickedPdf::WickedPdfHelper::Assets`....

## Issue description When generating a PDF that references external assets that then get inlined (for ex. because you rendered the HTML in another part of the application and just...

Hi there. Some colleagues and I were working with `wicked_pdf` and [`wkhtmltopdf-heroku`](https://github.com/rposborne/wkhtmltopdf-heroku) when we noticed an issue. The latter gem adds a new value to `WickedPdf.config[:exe_path]` but the app was...

feature-request

I have set a fixed header and footer for a pdf. The content which come in middle section is a table whose data is dynamic. I want middle section to...