order item - alter name in myanmar font error fixed

This commit is contained in:
Zoey
2019-04-23 18:05:56 +06:30
parent fe3bbd3a8b
commit e44489ed6f
16 changed files with 36 additions and 36 deletions

View File

@@ -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