Sha256: 31b102c3ea9a3f9633ea95d84970f1408c633e4031bbc54357fada33d24022e7
Contents?: true
Size: 415 Bytes
Versions: 21
Compression:
Stored size: 415 Bytes
Contents
# encoding: utf-8 # # Shows that Prawn works out of the box with UTF-8 text, so long as you use # a TTF file with the necessary glyphs for your content. # require "#{File.dirname(__FILE__)}/../example_helper.rb" Prawn::Document.generate("utf8.pdf") do font "#{Prawn::BASEDIR}/data/fonts/DejaVuSans.ttf" text "ὕαλον ϕαγεῖν δύναμαι· τοῦτο οὔ με βλάπτει." * 20 end
Version data entries
21 entries across 21 versions & 7 rubygems