I have seen datafields on the store which uses custom fonts, but for the life of me, I am not able to get it to work on the CIQ 2.2.6 (I have tried 2.2.4 as well and i do not have any older revision of the CIQ SDK to test).
This is what I'm doing,
function onLayout(dc) {
font_12 = Ui.loadResource(Rez.Fonts.id_rob_12);
}
When I add the above line, I get the following error on the sim
Failed invoking <symbol>
Invalid Value
in onLayout (source\FieldView.mc:48)
I did the usual declaration of the var for font_12 (var font_12)
I also did the BMFont thing as well.
I believe I have tried a few permutations, but am unable to get it working.