order item - alter name in myanmar font error fixed
This commit is contained in:
@@ -118,9 +118,9 @@ class OrderItemCustomisePdf < Prawn::Document
|
||||
if alt_name
|
||||
if order_item.alt_name
|
||||
move_down 4
|
||||
font("public/fonts/NotoSansCJKtc-Regular.ttf") do
|
||||
# font("public/fonts/Zawgyi-One.ttf") do
|
||||
text "(#{order_item.alt_name})", :size => self.item_font_size,:align => :left, :inline_format => true
|
||||
end
|
||||
# end
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user