This commit is contained in:
Yan
2017-07-03 20:14:42 +06:30
parent 700add2ec9
commit d410255a2e
2 changed files with 2 additions and 2 deletions

View File

@@ -90,7 +90,7 @@ class OrderItemPdf < Prawn::Document
if alt_name if alt_name
move_down 4 move_down 4
font("public/fonts/NotoSansCJKsc-Regular.otf") do font("public/fonts/NotoSansCJKtc-Regular.ttf") do
text "(#{order_item.alt_name})", :size => self.item_font_size,:align => :left, :inline_format => true text "(#{order_item.alt_name})", :size => self.item_font_size,:align => :left, :inline_format => true
end end
end end

View File

@@ -106,7 +106,7 @@ class OrderSummaryPdf < Prawn::Document
if alt_name if alt_name
move_down 4 move_down 4
font("public/fonts/NotoSansCJKsc-Regular.otf") do font("public/fonts/NotoSansCJKtc-Regular.ttf") do
text "(#{odi.alt_name})", :size => self.item_font_size,:align => :left, :inline_format => true text "(#{odi.alt_name})", :size => self.item_font_size,:align => :left, :inline_format => true
end end