snowb-bmf icon indicating copy to clipboard operation
snowb-bmf copied to clipboard

Allow bold, italic, strikethrough, etc.

Open Aci-yt opened this issue 3 years ago • 3 comments

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.

Aci-yt avatar Dec 11 '21 22:12 Aci-yt

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

SilenceLeo avatar Dec 15 '21 03:12 SilenceLeo

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?

Aci-yt avatar Dec 17 '21 18:12 Aci-yt

Please refer to https://github.com/opentypejs/opentype.js/issues/221#issuecomment-245589120

SilenceLeo avatar May 30 '23 18:05 SilenceLeo