correct pixel values for glyphs