Sha256: ffb08e067d2e51f02cb6d17306ac892960dd6863985d7f86e60488d6c57367e2
Contents?: true
Size: 564 Bytes
Versions: 3
Compression:
Stored size: 564 Bytes
Contents
# coding: utf-8 CaseRunner.current :eudc ThinReports.configure do |config| config.generator.pdf.eudc_fonts = CaseRunner.case_resource('eudc.ttf') end ThinReports::Report.generate_file(:pdf, CaseRunner.output_file) do use_layout(CaseRunner.layout_file) start_new_page page.item(:eudc).value('日本で生まれ世界が育てた言語 Ruby') page.values(:eudc_bold => '太字', :eudc_italic => '斜体', :eudc_bold_italic => '太字斜体') end ThinReports.config.generator.pdf.eudc_fonts = []
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
thinreports-0.7.6 | test/case/eudc/eudc.rb |
thinreports-0.7.5 | test/case/eudc/eudc.rb |
thinreports-0.7.0 | test/case/eudc/eudc.rb |