|
|
@@ -176,12 +176,15 @@ class BookOfFaces |
|
|
|
spell_ary = [{:text => "#{spell.name} (", :font => "Lilith", :color => "004E6D", :size => FONT_SIZE_SUBSECTION}] |
|
|
|
|
|
|
|
pdf.font_size FONT_SIZE_BODY |
|
|
|
previous = false |
|
|
|
spell.arcana.each do |arcanum| |
|
|
|
spell_ary << {:text => ", ", :font => "Lilith", :color => "004E6D", :size => FONT_SIZE_SUBSECTION} if previous |
|
|
|
spell_ary << {:text => arcanum.to_s.titleize, :font => "Lilith", :color => "004E6D", :size => FONT_SIZE_SUBSECTION} |
|
|
|
spell_ary << {:text => spell.send(arcanum).to_dots, :font => "Goudy", :color => "004E6D", :size => FONT_SIZE_SUBSECTION} |
|
|
|
spell_ary << {:text => spell.send(arcanum).to_dots, :color => "004E6D", :size => FONT_SIZE_SUBSECTION, :character_spacing => -5} |
|
|
|
previous = true |
|
|
|
end |
|
|
|
|
|
|
|
spell_ary << {:text => ")", :font => "Lilith", :color => "004E6D", :size => FONT_SIZE_SUBSECTION} |
|
|
|
spell_ary << {:text => " )", :font => "Lilith", :styles => [], :color => "004E6D", :size => FONT_SIZE_SUBSECTION, :character_spacing => -3} |
|
|
|
|
|
|
|
pdf.formatted_text spell_ary |
|
|
|
|
|
|
|