asciidoctor-pdf 2.0.0.alpha.2 → 2.0.0.beta.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.adoc +185 -83
  3. data/README.adoc +31 -126
  4. data/data/fonts/ABOUT-mplus1p-subset +1 -0
  5. data/data/fonts/ABOUT-notosans-subset +1 -0
  6. data/data/fonts/ABOUT-notoserif-subset +1 -0
  7. data/data/fonts/mplus1mn-bold-subset.ttf +0 -0
  8. data/data/fonts/mplus1mn-bold_italic-subset.ttf +0 -0
  9. data/data/fonts/mplus1mn-italic-subset.ttf +0 -0
  10. data/data/fonts/mplus1mn-regular-subset.ttf +0 -0
  11. data/data/fonts/mplus1p-regular-fallback.ttf +0 -0
  12. data/data/fonts/notosans-bold-subset.ttf +0 -0
  13. data/data/fonts/notosans-bold_italic-subset.ttf +0 -0
  14. data/data/fonts/notosans-italic-subset.ttf +0 -0
  15. data/data/fonts/notosans-regular-subset.ttf +0 -0
  16. data/data/fonts/notoserif-bold-subset.ttf +0 -0
  17. data/data/fonts/notoserif-bold_italic-subset.ttf +0 -0
  18. data/data/fonts/notoserif-italic-subset.ttf +0 -0
  19. data/data/fonts/notoserif-regular-subset.ttf +0 -0
  20. data/data/themes/base-theme.yml +10 -20
  21. data/data/themes/default-for-print-theme.yml +4 -4
  22. data/data/themes/default-for-print-with-fallback-font-theme.yml +2 -3
  23. data/data/themes/default-for-print-with-font-fallbacks-theme.yml +3 -0
  24. data/data/themes/{sans-with-fallback-font-theme.yml → default-sans-theme.yml} +1 -1
  25. data/data/themes/default-sans-with-font-fallbacks-theme.yml +3 -0
  26. data/data/themes/default-theme.yml +5 -4
  27. data/data/themes/default-with-fallback-font-theme.yml +2 -9
  28. data/data/themes/default-with-font-fallbacks-theme.yml +9 -0
  29. data/docs/theming-guide.adoc +5 -6050
  30. data/lib/asciidoctor/pdf/converter.rb +505 -294
  31. data/lib/asciidoctor/pdf/ext/pdf-core/page.rb +8 -0
  32. data/lib/asciidoctor/pdf/ext/prawn/document/column_box.rb +16 -0
  33. data/lib/asciidoctor/pdf/ext/prawn/extensions.rb +110 -58
  34. data/lib/asciidoctor/pdf/ext/prawn/formatted_text/box.rb +14 -0
  35. data/lib/asciidoctor/pdf/ext/prawn/formatted_text/indented_paragraph_wrap.rb +39 -0
  36. data/lib/asciidoctor/pdf/ext/prawn-table/cell/asciidoc.rb +3 -10
  37. data/lib/asciidoctor/pdf/ext/prawn.rb +2 -0
  38. data/lib/asciidoctor/pdf/formatted_text/source_wrap.rb +7 -2
  39. data/lib/asciidoctor/pdf/nopngmagick.rb +3 -0
  40. data/lib/asciidoctor/pdf/optimizer.rb +12 -5
  41. data/lib/asciidoctor/pdf/text_transformer.rb +14 -0
  42. data/lib/asciidoctor/pdf/theme_loader.rb +9 -3
  43. data/lib/asciidoctor/pdf/version.rb +1 -1
  44. metadata +9 -3
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: asciidoctor-pdf
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0.alpha.2
4
+ version: 2.0.0.beta.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dan Allen
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2022-04-29 00:00:00.000000000 Z
12
+ date: 2022-05-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: asciidoctor
@@ -234,9 +234,12 @@ files:
234
234
  - data/themes/base-theme.yml
235
235
  - data/themes/default-for-print-theme.yml
236
236
  - data/themes/default-for-print-with-fallback-font-theme.yml
237
+ - data/themes/default-for-print-with-font-fallbacks-theme.yml
238
+ - data/themes/default-sans-theme.yml
239
+ - data/themes/default-sans-with-font-fallbacks-theme.yml
237
240
  - data/themes/default-theme.yml
238
241
  - data/themes/default-with-fallback-font-theme.yml
239
- - data/themes/sans-with-fallback-font-theme.yml
242
+ - data/themes/default-with-font-fallbacks-theme.yml
240
243
  - docs/theming-guide.adoc
241
244
  - lib/asciidoctor-pdf.rb
242
245
  - lib/asciidoctor/pdf.rb
@@ -264,12 +267,14 @@ files:
264
267
  - lib/asciidoctor/pdf/ext/prawn-table/cell/text.rb
265
268
  - lib/asciidoctor/pdf/ext/prawn.rb
266
269
  - lib/asciidoctor/pdf/ext/prawn/coderay_encoder.rb
270
+ - lib/asciidoctor/pdf/ext/prawn/document/column_box.rb
267
271
  - lib/asciidoctor/pdf/ext/prawn/extensions.rb
268
272
  - lib/asciidoctor/pdf/ext/prawn/font/afm.rb
269
273
  - lib/asciidoctor/pdf/ext/prawn/font_metric_cache.rb
270
274
  - lib/asciidoctor/pdf/ext/prawn/formatted_text/arranger.rb
271
275
  - lib/asciidoctor/pdf/ext/prawn/formatted_text/box.rb
272
276
  - lib/asciidoctor/pdf/ext/prawn/formatted_text/fragment.rb
277
+ - lib/asciidoctor/pdf/ext/prawn/formatted_text/indented_paragraph_wrap.rb
273
278
  - lib/asciidoctor/pdf/ext/prawn/formatted_text/protect_bottom_gutter.rb
274
279
  - lib/asciidoctor/pdf/ext/prawn/images.rb
275
280
  - lib/asciidoctor/pdf/ext/pygments.rb
@@ -291,6 +296,7 @@ files:
291
296
  - lib/asciidoctor/pdf/index_catalog.rb
292
297
  - lib/asciidoctor/pdf/measurements.rb
293
298
  - lib/asciidoctor/pdf/nogmagick.rb
299
+ - lib/asciidoctor/pdf/nopngmagick.rb
294
300
  - lib/asciidoctor/pdf/optimizer.rb
295
301
  - lib/asciidoctor/pdf/pdfmark.rb
296
302
  - lib/asciidoctor/pdf/roman_numeral.rb