asciidoctor-pdf: table font_size is not applied for `a|` cells

Theme file snippet:

base:
  font_size: 12

table:
  border_color: a0a0a0
  border_width: $base_border_width
  font_size: 8.5

Asciidoctor snippet:

...
| `ORIGIN`
| `VARCHAR(100)`
| Source system code. `ice#dp_contact_official#denied_entity`

| `SOURCE_ID`
| `VARCHAR(200)`
| Identifier of the denied entity in the list of given type.

| `TYPE`
| `INT`
a|
Type of the entity:

- `1` -- Individual Person
- `2` -- Legal entity
- `3` -- Other
...

How it looks like:

image

I believe that font size specified for table should be applied to all cells.

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 21 (14 by maintainers)

Commits related to this issue

Most upvoted comments

Hi, I’m affected by the problem as well and would be very happy to see a fix.

The solution based on a scaling factor would already be very useful. Alternatively I could imagine that being able to apply a custom style (as discussed in #483 ) would also work and allow for more flexibility

@mojavelinux: just replied to your remark in #852: making this a scale (%) in the yaml (for both adoc and non-adoc table content) would be great.