order item - alter name in myanmar font error fixed
This commit is contained in:
@@ -299,9 +299,9 @@ class ReceiptBillPdf < Prawn::Document
|
||||
if show_alt_name
|
||||
if !(item.product_alt_name).empty?
|
||||
move_down 2
|
||||
font("public/fonts/NotoSansCJKtc-Regular.ttf") do
|
||||
# font("public/fonts/NotoSansCJKtc-Regular.ttf") do
|
||||
text "(#{item.product_alt_name})", :size => self.item_font_size,:align => :left, :inline_format => true
|
||||
end
|
||||
# end
|
||||
end
|
||||
end
|
||||
move_down line_move
|
||||
|
||||
Reference in New Issue
Block a user