[Bug 7023] GetCharWidth implementation proposed improvements