svg font and label height based on resource presence