Remove newlines before and after RtPrimaryFont environment to fix indentation issues
PDF export recording_merged: fixed issue where a gap_mark that was at the end of a span_split got lost.