README.md in rbpdf-1.20.1 vs README.md in rbpdf-1.21.0

- old
+ new

@@ -1,6 +1,6 @@ -[![Build Status](https://travis-ci.org/naitoh/rbpdf.svg?branch=master)](https://travis-ci.org/naitoh/rbpdf) +[![Build Status](https://github.com/naitoh/rbpdf/workflows/test/badge.svg)](https://github.com/naitoh/rbpdf/actions) # RBPDF Template Plugin A template plugin allowing the inclusion of ERB-enabled RBPDF template files. @@ -55,9 +55,19 @@ @pdf.set_margins(15, 27, 15) @pdf.set_font('kozminproregular','', 8) @pdf.add_page() @pdf.write(5, "UTF-8 Japanese text.\n", '') %><%==@pdf.output()%> +``` + +PDF example output +``` +$ OUTPUT=true bundle exec rake test TEST=test/rbpdf_examples_test.rb +$ ls -1 *.pdf +example001.pdf +example002.pdf +example003.pdf +: ``` See the following files for sample of useage: test_unicode.rbpdf