class Prawn::Text::Formatted::Arranger::BadFontFamily

You’re getting this because a font doesn’t have a family name.