Line shape modeling for radiation transport investigations in magnetic fusion plasmas