Added sub pixel itensity calculation for text rendering.