Sha256: 477e2e6e1ac5ab7a0bcbccecd3dd5bf84601a46c731811bb95e6f15d25a5c6e8
Contents?: true
Size: 573 Bytes
Versions: 3
Compression:
Stored size: 573 Bytes
Contents
# frozen_string_literal: true example :eudc, 'Show External Characters' do |t| Thinreports.configure do |config| config.fallback_fonts = t.resource('eudc.ttf') end Thinreports::Report.generate(filename: t.output_filename) do use_layout t.layout_filename start_new_page page.item(:eudc).value('日本で生まれ世界が育てた言語 Ruby') page.values(eudc_bold: '太字', eudc_italic: '斜体', eudc_bold_italic: '太字斜体') end Thinreports.config.fallback_fonts = [] end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
thinreports-0.10.2 | examples/eudc/eudc.rb |
thinreports-0.10.1 | examples/eudc/eudc.rb |
thinreports-0.10.0 | examples/eudc/eudc.rb |