add notocjk-regular
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
|
|||||||
BIN
public/fonts/NotoSansCJKsc-Regular.otf
Normal file
BIN
public/fonts/NotoSansCJKsc-Regular.otf
Normal file
Binary file not shown.
Reference in New Issue
Block a user