Line interfaces in two dimensions: Solid-on-solid models