warning fixes and preventing crash with JITC fonts.