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

expose text_width for current font

Open Hermanverschooten opened this issue 4 years ago • 0 comments

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 text fit inside a given boundary. If we could expose the text_width for the current font, then we could calculate this ourselves.

Hermanverschooten avatar Jun 08 '20 08:06 Hermanverschooten