Skip to content

fonts: add (Heavy) Ballot X to fallback font#2634

Open
arichardson wants to merge 5 commits intoasciidoctor:mainfrom
arichardson:add-checkmarks-to-fallback
Open

fonts: add (Heavy) Ballot X to fallback font#2634
arichardson wants to merge 5 commits intoasciidoctor:mainfrom
arichardson:add-checkmarks-to-fallback

Conversation

@arichardson
Copy link
Copy Markdown

@arichardson arichardson commented Feb 16, 2026

The fallback font already includes \u2713 (CHECK MARK) and \u2714
(HEAVY CHECK MARK), extend this to include (HEAVY) BALLOT X as that is
a common character. For example, \u2718 (Heavy Ballot X) is used by
the RISC-V specification documents.

The script isn't too verbose and this makes it easier to debug
When the user id is mapped, it is no longer possible to read /home/fontforge
since that could be owned by another user. Do the same as podman instead
The old URL is no longer accessible, download it from the newer github repo
instead.
In preparation for adding more glyphs to the fallback fonts.
arichardson added a commit to arichardson/docs-resources that referenced this pull request Feb 16, 2026
This ensures that the u000a glyph is included. Using the current version
directly triggers another missing glyph warning which I fixed by generating
a new font version that has the heavy ballot box X character.
Update the existing font to use the new one from the asciidoctor-pdf pull
request asciidoctor/asciidoctor-pdf#2634.

Fixes: riscv#187
arichardson added a commit to arichardson/docs-resources that referenced this pull request Feb 16, 2026
This ensures that the u000a glyph is included. Using the current version
directly triggers another missing glyph warning which I fixed by generating
a new font version that has the heavy ballot box X character.
Update the existing font to use the new one from the asciidoctor-pdf pull
request asciidoctor/asciidoctor-pdf#2634.

Fixes: riscv#187

Signed-off-by: Alex Richardson <alexrichardson@google.com>
arichardson added a commit to arichardson/docs-resources that referenced this pull request Feb 16, 2026
This ensures that the u000a glyph is included. Using the current version
directly triggers another missing glyph warning which I fixed by generating
a new font version that has the heavy ballot box X character.
Update the existing font to use the new one from the asciidoctor-pdf pull
request asciidoctor/asciidoctor-pdf#2634.

Fixes: riscv#187

Signed-off-by: Alex Richardson <alexrichardson@google.com>
@mojavelinux
Copy link
Copy Markdown
Member

Can we decide between heavy ballot X and heavy multiplication X? It just doesn't seem to me that we need both of them. I agree that having at least one would be an important complement to the checkbox.

@arichardson
Copy link
Copy Markdown
Author

Can we decide between heavy ballot X and heavy multiplication X? It just doesn't seem to me that we need both of them. I agree that having at least one would be an important complement to the checkbox.

Sounds good, I will drop the multiplication.

@arichardson arichardson force-pushed the add-checkmarks-to-fallback branch from d7109ee to f6c3a6d Compare February 16, 2026 22:00
@arichardson arichardson changed the title Add checkmarks to fallback font fonts: add (Heavy) Ballot X to fallback font Feb 16, 2026
@arichardson
Copy link
Copy Markdown
Author

Updated. I noticed that I also need 0x26AB (Medium Black Circle), can I include that in this pull request or should I submit a follow up?

The fallback font already includes \u2713 (CHECK MARK) and \u2714
(HEAVY CHECK MARK), extend this to include (HEAVY) BALLOT X as that is
a common character. For example, \u2718 (Heavy Ballot X) is used by
the RISC-V specification documents.
@arichardson arichardson force-pushed the add-checkmarks-to-fallback branch from f6c3a6d to 251a4ba Compare February 16, 2026 22:08
@arichardson
Copy link
Copy Markdown
Author

Ping

@mojavelinux
Copy link
Copy Markdown
Member

I'm busy with other projects at the moment. I will come back to this when that work is complete.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants