manual/text/fallback_fonts.rb in prawn-1.0.0.rc2 vs manual/text/fallback_fonts.rb in prawn-1.0.0
- old
+ new
@@ -12,15 +12,15 @@
file = "#{Prawn::DATADIR}/fonts/gkai00mp.ttf"
font_families["Kai"] = {
:normal => { :file => file, :font => "Kai" }
}
- file = "#{Prawn::DATADIR}/fonts/Action Man.dfont"
- font_families["Action Man"] = {
- :normal => { :file => file, :font => "ActionMan" },
+ file = "#{Prawn::DATADIR}/fonts/Panic+Sans.dfont"
+ font_families["Panic Sans"] = {
+ :normal => { :file => file, :font => "PanicSans" },
}
- font("Action Man") do
+ font("Panic Sans") do
text("When fallback fonts are included, each glyph will be rendered " +
"using the first font that includes the glyph, starting with the " +
"current font and then moving through the fallback fonts from left " +
"to right." +
"\n\n" +