lib/prawn/svg/font.rb
# Construct a subfamily name from the weight and style information.
# Note that this name might not actually exist in the font.
Construct a subfamily name from the weight and style information.
Note that this name might not actually exist in the font.
Construct a subfamily name from the weight and style information . Note that this name might not actually exist in the font .
def subfamily_name
    sfn = if weight == :normal && style
      style
    elsif weight || style
      "#{weight} #{style}"
    else
      "normal"
    end
    sfn.strip.gsub(/\s+/, "_").downcase.to_sym
  end
def subfamily_name sfn = if weight == :normal && style style elsif weight || style "#{weight} #{style}" else "normal" end sfn . strip . gsub ( / \s + / , "_" ) . downcase . to_sym end
Construct a subfamily name from the weight and style information.
Construct a subfamily name from the weight and style information .