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

@@ -133,9 +133,9 @@ class OrderSummarySlimPdf < Prawn::Document
if alt_name
if !(odi.alt_name).empty?
move_down 1
font("public/fonts/NotoSansCJKtc-Regular.ttf") do
# font("public/fonts/NotoSansCJKtc-Regular.ttf") do
text "(#{odi.alt_name})", :size => self.item_font_size,:align => :left, :inline_format => true
end
# end
end
end