Bold variant of Helvetica font not found
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 56.1k
- Forks
- 1.7k
- Avg merge
- 3d 10h
- Merged PRs (30d)
- 22
Description
Description
When using a copy of Helvetica LT Std, the bold variant is not found even though other applications have no problems. I read in another issue that the output of variant-inspect could be useful for tracking down ttf-parsing issues (this is an otf file, but still seems to work) so here's that.
Normal font
Bold font
When using it in typst, it just doesn't work.
Normal Helvetica \
#text(font: "Helvetica LT Std", fallback: false, weight: "bold", [BOLD TEXT])
Output
typst fonts --variants just gives ... no variants for any of the adobe Helveticas (?)
EDIT: grepping only the font family name only returns the line with the font family name 🤦
typst fonts --variant finds them?
fc-list finds them and categorizes their variants correctly
Reproduction URL
No response
Operating system
Linux
Typst version
- I am using the latest version of Typst
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the Helvetica LT Std case from the issue and compare Typst's variant-inspect and typst fonts --variant results with fc-list. Trace how the font's bold variant is detected and selected; done means the provided Typst example selects the bold font while preserving normal Helvetica behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100