Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow bold, italic, strikethrough, etc. #29

Open
Aci-yt opened this issue Dec 11, 2021 · 3 comments
Open

Allow bold, italic, strikethrough, etc. #29

Aci-yt opened this issue Dec 11, 2021 · 3 comments

Comments

@Aci-yt
Copy link

Aci-yt commented Dec 11, 2021

Unless I'm missing something, there doesn't seem to be an option to make text bold, strikethrough, etc.
When using an Arial font for example, there's no way to use Arial Bold, only Arial regular.

@SilenceLeo
Copy link
Owner

Hi Aci,

Bold and italic have separate fonts. Strikethrough, underline, etc. are text decorations, not in font design.

eg.

https://docs.microsoft.com/en-us/typography/font-list/arial

normal: Arial.ttf
bold: Arialbd. ttf
Italic: Ariali. ttf
bold & Italic: Arialbi. ttf

@Aci-yt
Copy link
Author

Aci-yt commented Dec 17, 2021

Then there seems to be an issue with the Bahnschrift .ttf's I've been using, since they all have multiple "pages", one for each different version.
I can't seem to get a single ttf for only Bahnschrift bold, and snowB seems to only use the first page, so Bahnschrift light.
Do you know a way to get an exclusively Bahnschrift bold ttf?

@SilenceLeo SilenceLeo added bug Something isn't working enhancement New feature or request labels Dec 18, 2021
@SilenceLeo
Copy link
Owner

Please refer to opentypejs/opentype.js#221 (comment)

@SilenceLeo SilenceLeo removed bug Something isn't working enhancement New feature or request labels Aug 18, 2023
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

No branches or pull requests

2 participants