Rob,
Thank you for looking into this. I did find an error message in the console when I try to load the font on a device. The font file is named BarcodeFont.ttf and it is in the main directory of my Corona project. If I build an apk with the Corona SDK simulator it appears in the app as expected. When I build the app out using Android Studio and Corona Enterprise I get the following error.
I/System.out: WARNING: Could not load font BarcodeFont.ttf. Using default.
I have tried to load the font multiple ways based on the documentation I found. I get the above error when attempting to load the font like this:
local barcodeString = display.newText(user\_data["barcode\_string"], 0, 0, "BarcodeFont.ttf", 220)
Or if I load in the newText params in a table like this:
stringTextParams["text"] = user\_data["barcode\_string"] stringTextParams["fontSize"] = 220 stringTextParams["font"] = "BarcodeFont.ttf" local barcodeString = display.newText( stringTextParams )
Any thoughts about what I may be missing?
Thank you.