I had a need to extend CGlyph.java and to create it with no primary or secondary glyphs (basically, a blank constructor) initially. Rather than adding extra code, I added this check. An alternative to accepting this patch is to create a blank constructor. Documentation should be added as well to remind the user to set the primary glyph if creating as a blank constructor (did not do).
Anonymous
Patch for CGlyph
Logged In: YES
user_id=616074
Originator: NO
Patch applied in SVN on 20080617. Will be in release that follows 0.9.5. Thanks.