elixir-pdf icon indicating copy to clipboard operation
elixir-pdf copied to clipboard

An attempt to get a nice API for PDF generation in Elixir

Results 16 elixir-pdf issues
Sort by recently updated
recently updated
newest added

Besides other documentation changes, this commit includes all relevant documents to the generated HTML doc for HexDocs.pm and leverages on latest features of ExDoc.

First of all thanks for this amazing library. I chooed it over html based solutions. It's has everything for my purposes but I wonder if is there any way to...

I don't see a way to modify an existing PDF from the code or examples. Wondering if this is possible. If not, what would it take to add this functionality?...

Dear Andrew, thanks for starting this package – much appreciated. While converting an old pdf over to your library, I wondered why the document is hold inside a GenServer? I...

A way to create bezier curves would be very useful for some stuff I am working on (I would be willing to collaborate on a pull request)

If you try this ```elixir {:ok, pdf} = Pdf.new pdf |> Pdf.set_font("Helvetica", 8) pdf |> Pdf.text_wrap!({100,100}, {200,200}, "") ``` this results in ``` ** (Enum.EmptyError) empty error (pdf 0.5.0) lib/pdf.ex:490:...

I tried to render Cyrillic text in document, but it renders nothing. How can I do it with current implementation? If there is no support, is it possible to implement...

Andrew, Can we expose a `text_width` function? we are converting some reports from Prawn (Ruby) and there you have an option to automatically reduce the font-size to make a larger...

I'd like to add custom font (Mulish) to the pdf. I followed step in document (https://hexdocs.pm/pdf/Pdf.html#add_font/2) but it can't get the font render correctly. I download Mulish font from Google...

Is there a way to have text be at say a 45degree angle? I know PDF supports it