I am converting NSString into UIImage, my string in dynamic so content will be less or more. When i see my string in Log it shows string format properly but when it converts it into UIImage, formatting did not remain proper. Below is my string.
new delhi
new delhi
India
99XXXXXXXXX
2012-06-20 13:55:11
Order Id:291
Item Count:4
1 x Burger $5.00
Cheese $0.10
Modifier Item 1 $2.00
Modifier Item 3 $0.50
Modifier Item 4 $0.60
Amount $8.20
1 x Modifier Item 3 $2.00
Amount $2.00
1 x Modifier Item 4 $2.00
Amount $2.00
1 x Custom Price 78 $2.70
A a a a a a a a a a a a a a a a a a a a a a a a a a a a ma a a a a a a a a a a a a a a a a a. Aa aa a a. A anvhvhvhvb. Hbghghvhvhmvjhvhjvhjftysfjhv.
Amount $2.70
Subtotal:$14.90
Tax:$1.49
Grand Total:$16.39
Payment Type:Cash
Amount Paid:$16.39
I am not able to post image here. Please create image from this string so you will find that formatting is not proper.