-
Notifications
You must be signed in to change notification settings - Fork 82
Open
Description
1.8.0
has introduced issues with embedding fonts with prawn
, see prawnpdf/prawn#1346
Minimal reproduction:
#!/usr/bin/env ruby
require "prawn"
pdf = Prawn::Document.new
pdf.font_families.update(
"roboto" => {
normal: "Roboto/Roboto-Regular.ttf",
italic: "Roboto/Roboto-Italic.ttf",
bold: "Roboto/Roboto-Bold.ttf",
bold_italic: "Roboto/Roboto-BoldItalic.ttf",
}
)
pdf.font("roboto")
pdf.text_box("€")
File.open("test.pdf", "w") do |file|
pdf.render(file)
end
system "flatpak run com.adobe.Reader test.pdf"
The Euro symbol seems to trigger the bug.
kaluznyo, gr8bit, tmnsun, ashkulz, jeffblake and 22 more
Metadata
Metadata
Assignees
Labels
No labels