I'm using a custom font with a complex DataField.
And my layout is similar to this:
<label id="cad" x="2" y="18" color="Gfx.COLOR_BLACK" justification="Gfx.TEXT_JUSTIFY_LEFT" font="Rez.Fonts.bebas" />
<label id="avgspeed" x="197" y="18" color="Gfx.COLOR_BLACK" justification="Gfx.TEXT_JUSTIFY_RIGHT" font="Rez.Fonts.bebas" />
<label id="dist" x="2" y="63" color="Gfx.COLOR_BLACK" justification="Gfx.TEXT_JUSTIFY_LEFT" font="Rez.Fonts.bebas" />
<label id="disttg" x="197" y="63" color="Gfx.COLOR_BLACK" justification="Gfx.TEXT_JUSTIFY_RIGHT" font="Rez.Fonts.bebas" />
But if I put in my layout more label that use the custom font I have an "Out Of Memory Error".
How can I solve this problem?