andrewtimberlake/elixir-pdf

text_at with attributed text changes font size

Closed this issue · 1 comments

pdf
 |> set_font("Helvetica", 10)
 |> text_at({25,50}, [{ "test", size: 15}])
 |> text_at({25,100}, "This should be size 10, but it is 15!")
 |> text_at({25,50}, [{ "test", size: 15}, ""])
 |> text_at({25,100}, "This has size 10")