diff --git a/app/pdf/order_item_pdf.rb b/app/pdf/order_item_pdf.rb index 938a1085..a9df0910 100644 --- a/app/pdf/order_item_pdf.rb +++ b/app/pdf/order_item_pdf.rb @@ -90,7 +90,7 @@ class OrderItemPdf < Prawn::Document if alt_name move_down 4 - font("public/fonts/Chinese.ttf") do + font("public/fonts/NotoSansCJKsc-Regular.otf") do text "(#{order_item.alt_name})", :size => self.item_font_size,:align => :left, :inline_format => true end end diff --git a/app/pdf/order_summary_pdf.rb b/app/pdf/order_summary_pdf.rb index 35c0c98e..cfcddca3 100644 --- a/app/pdf/order_summary_pdf.rb +++ b/app/pdf/order_summary_pdf.rb @@ -106,7 +106,7 @@ class OrderSummaryPdf < Prawn::Document if alt_name move_down 4 - font("public/fonts/Chinese.ttf") do + font("public/fonts/NotoSansCJKsc-Regular.otf") do text "(#{odi.alt_name})", :size => self.item_font_size,:align => :left, :inline_format => true end diff --git a/public/fonts/NotoSansCJKsc-Regular.otf b/public/fonts/NotoSansCJKsc-Regular.otf new file mode 100644 index 00000000..741201b0 Binary files /dev/null and b/public/fonts/NotoSansCJKsc-Regular.otf differ