A method for compensating for optical distortions occurring in regions associated with non-phase-shifting regions in a mask or reticle. OPC or other resolution enhancement techniques are performed on one or more edge segments associated with adjacent phase-shifting regions in order to compensate for edge position errors occurring in areas corresponding to non-phase-shifting regions.