asciidoctor-pdf 2.1.5 → 2.1.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0cacde45fb257acbe2644ae3da1673e0a9fe9cd42f4b97de92a3ae2d97400fdb
4
- data.tar.gz: e4e01d9fa4e923e598277c5db822632a5dc3fe67e51ebbea26d744f8d30e7315
3
+ metadata.gz: 626c05cc96837efcf9f6fd0b96f0f31e8791188f27db387609a6a2d6a1345e94
4
+ data.tar.gz: 311afcb050d8063c6878166b8ce89e2e7bd1986af9b212ee9ee9202d87ba3a53
5
5
  SHA512:
6
- metadata.gz: 2fadd03cc382136bf1387867d83d68396f58c4182a51616254562c1d6460e28e0555781e9c5c51d372cd6d3fee29f80b7c06d9fc0d6e055a2839cf63491bf92d
7
- data.tar.gz: 6fa97a16ff15ac5b0dee3789d33aa2760595139299ae41eb4e0104b4346c8569ffb8f1377fd0844f2c98ec831a08156258754e2a54f25c9fb10972a681f0c592
6
+ metadata.gz: a82a51068e74bf9ea3bdb89c11a8075a27e58c49fdc84bfdce9066030e7f6688a99a6956bbbd8a1739aa5d2de3eaf5943a9e6ec234ecfce0bc5bc938d0ffc91a
7
+ data.tar.gz: bad6ea4168ef017bec92534f657ec54208851cb224ae2c4e2c37fe329946192bab9d0e5519c8d2d19cf3c1184185664402523fe7175b4fb496465a3ebed41b01
data/CHANGELOG.adoc CHANGED
@@ -5,6 +5,16 @@
5
5
  This document provides a high-level view of the changes to the {project-name} by release.
6
6
  For a detailed view of what has changed, refer to the {url-repo}/commits/main[commit history] on GitHub.
7
7
 
8
+ == 2.1.6 (2022-07-19) - @mojavelinux
9
+
10
+ Bug Fixes::
11
+
12
+ * resolve font size for monospaced cell when font size value on `codespan` key in theme is relative (#2281)
13
+
14
+ === Details
15
+
16
+ {url-repo}/releases/tag/v2.1.6[git tag] | {url-repo}/compare/v2.1.5\...v2.1.6[full diff]
17
+
8
18
  == 2.1.5 (2022-07-10) - @mojavelinux
9
19
 
10
20
  Bug Fixes::
@@ -25,7 +35,7 @@ Improvements::
25
35
  Bug Fixes::
26
36
 
27
37
  * allow alt text for block image, video, and audio to wrap to next line on same page (#2258)
28
- * apply text-tranform from custom role on phrase after attributes have been resolved (#2263)
38
+ * apply `text-transform` from custom role on phrase after attributes have been resolved (#2263)
29
39
  * make URL check more strict so image target containing a colon is not mistaken as a URL
30
40
 
31
41
  === Details
data/README.adoc CHANGED
@@ -1,6 +1,6 @@
1
1
  = Asciidoctor PDF: A native PDF converter for AsciiDoc
2
2
  Dan Allen <https://github.com/mojavelinux[@mojavelinux]>; Sarah White <https://github.com/graphitefriction[@graphitefriction]>
3
- v2.1.5, 2022-07-10
3
+ v2.1.6, 2022-07-19
4
4
  // Settings:
5
5
  :experimental:
6
6
  :idprefix:
@@ -2104,10 +2104,15 @@ module Asciidoctor
2104
2104
  when :monospaced
2105
2105
  cell_data.delete :font_style
2106
2106
  cell_line_height = @base_line_height
2107
+ current_font_size = @font_size
2107
2108
  theme_font :codespan do
2108
2109
  mono_cell_font_info = font_info
2109
2110
  cell_data[:font] = mono_cell_font_info[:family]
2110
- cell_data[:size] = mono_cell_font_info[:size]
2111
+ if ::String === @font_size || @font_size < 1
2112
+ @font_size = current_font_size
2113
+ font_size mono_cell_font_info[:size]
2114
+ end
2115
+ cell_data[:size] = @font_size
2111
2116
  cell_data[:text_color] = @font_color
2112
2117
  cell_line_metrics = calc_line_metrics cell_line_height
2113
2118
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Asciidoctor
4
4
  module PDF
5
- VERSION = '2.1.5'
5
+ VERSION = '2.1.6'
6
6
  end
7
7
  end
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.1.5
4
+ version: 2.1.6
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-07-10 00:00:00.000000000 Z
12
+ date: 2022-07-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: asciidoctor