add notocjk-regular

This commit is contained in:
Yan
2017-07-03 19:38:07 +06:30
parent eec8515b51
commit 700add2ec9
3 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/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 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/Chinese.ttf") do font("public/fonts/NotoSansCJKsc-Regular.otf") 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

Binary file not shown.