It looks like custom fonts aren’t working in Android Oreo. We only have one Oreo device to test on at the moment (a Google Pixel XL) and only one game written in Corona so far, so I can’t be sure that this is an always-reproducible issue, but on all other devices the custom font (a TTF file) loads just fine and has done since our initial release in July.
Is this a known issue, or can other developers confirm that either custom fonts are or aren’t working on Oreo for them? For us, they’re just being replaced with something standard looking (Roboto I’d guess).
Example code that isn’t working on Orea:
local scoredPreText = display.newText(‘You Scored’, screenX + ((screenWidth / 6) * 5), display.contentCenterY - 80, ‘fonts/african.ttf’, 22 )
scoredPreText:setFillColor(255, 255, 255)
uinterfaceGroup:insert(scoredPreText)
Much appreciated.