I've developed a measure and coordinate widget based on Tom Sellsteds Measure widget. Everything is fine in my development enviroment but when using my widget in my portal something wierd happens with some of my TextSymbols.
All textSymbols get their font from a global-font variable.
this.defFont = new Font("12px", Font.STYLE_NORMAL, Font.VARIANT_NORMAL, Font.WEIGHT_BOLD, "Arial, Helvetica, Sans-serif" );
Some of my textSymbols display correctly and others incorrectly, when inspecting the html elements for the graphics my correct symbols has font-family="Arial, Helvetica, Sans-serif" but the incorrect one has font-family="serif, Arial"
Does anyone has an idea how this can happen??
See attached screenshot