I am currently using Arial Black for the titles of window pop ups, and have recently realised that the font does not render on iPads as it doesn’t have that font installed. Is it possible to specify a fallback font for devices where the specified font is unavaiable?

1 answer

I’ve answered my own question.

When specifying a font, there is an option to use css format, so to add fallback fonts for Arial Black:
var f = new zebra.ui.Font("16px Arial Black, Aria-BoldMT, Arial");

And to specify in zebra.json:
“titleFont” : { “$Font” : [“16px Arial Black, Arial-BoldMT, Arial”] },


Please login or Register to Submit Answer