Normalize line settings.