asciidoctor-pdf: Call out number inside code block replaced by `not` glyph
Hello, I’m struggling to render conum inside coderay code blocks. I read almost every glyph issues I could find in this repo but I’m still missing something
As you can see conum are ok outside code blocks but not inside.
Using
<asciidoctorj.pdf.version>1.5.0-alpha.16</asciidoctorj.pdf.version>
<asciidoctorj.version>1.5.6</asciidoctorj.version>
<jruby.version>9.1.8.0</jruby.version>
And my theme with arial ttf extracted from a Win10 install:
font:
catalog:
Arial:
normal: arial.ttf
bold: arialbd.ttf
italic: ariali.ttf
bold_italic: arialbi.ttf
# Noto Serif supports Latin, Latin-1 Supplement, Latin Extended-A, Greek, Cyrillic, Vietnamese & an assortment of symbols
Noto Serif:
normal: notoserif-regular-subset.ttf
...skipped...
# M+ 1mn supports ASCII and the circled numbers used for conums
M+ 1mn:
normal: mplus1mn-regular-ascii-conums.ttf
...skipped...
# M+ 1p supports Latin, Latin-1 Supplement, Latin Extended, Greek, Cyrillic, Vietnamese, Japanese & an assortment of symbols
# It also provides arrows for ->, <-, => and <= replacements in case these glyphs are missing from font
M+ 1p Fallback:
normal: mplus1p-regular-fallback.ttf
...skipped...
fallbacks:
- M+ 1mn
- M+ 1p Fallback
conum:
font_family: M+ 1mn
literal:
font_family: M+ 1mn
base:
font_family: Arial
Thanks for your help
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 16 (16 by maintainers)
Commits related to this issue
- Clears thing about glyph missing in default fonts Add some information about missing glyph with default font settings Based on the discussion in #937 — committed to r1m/asciidoctor-pdf by r1m 6 years ago
- Clears thing about glyph missing in default fonts (PR #970) Add some information about missing glyph with default font settings Based on the discussion in #937 — committed to asciidoctor/asciidoctor-pdf by r1m 6 years ago
Perfect ! Thanks for your support.
Correct. We could add that statement to the docs.
If you create your own theme, you have 100% control over the references. If you start with the provided default theme, this is already the case. See https://github.com/asciidoctor/asciidoctor-pdf/blob/f7337023eb9aa60671c85528f5a95c9b80513715/data/themes/default-theme.yml#L165