IdreesInc / Monocraft

A monospaced programming font inspired by the Minecraft typeface
https://idreesinc.com
SIL Open Font License 1.1
8.02k stars 115 forks source link

italic and bold does not work as intended #56

Closed amtoine closed 1 year ago

amtoine commented 1 year ago

hello there :wave: :yum:

i think this is related to #32, but somewhat different, so i thought creating a new issue was the best :relieved:

what i expected

when sending escape sequences to my terminal, i expect the font to adapt and reflect the style i want :+1: it works for the normal font, the dimmed and the underlined one, see below :ok_hand:

what i see

but it does not look like monocraft in the case of the bold and the italic fonts :thinking: it even looks like mononoki to be honest, which is the main other font i have installed on my system currently :open_mouth: monocraft-bold-italic

the script to generate the image

the script is written in nushell

the only thing important to know is that ansi is a nushell built-in command which sends classic escape sequences to the terminal to change the style of the output :yum:

$"" $"(ansi red)the two following are not..." $" (ansi white_italic)this is an italicized sentence(ansi reset)" $" (ansi white_bold)this is a bold sentence(ansi reset)"


## additional context
- os:
```bash
> uname -r
5.19.13-arch1-1
amtoine commented 1 year ago

and below is, as a comparison, the exact same thing with the mononoki Nerd Font as the font for alacritty ! mononoki-bold-italic

the two last lines look suspiciously the same as above :open_mouth:

additional context

amtoine commented 1 year ago

actually, i only changed the "normal" font in alacritty and forgot about the "bold" and "italic" sections... so that's 100% normal not to see the bold and italicized sentences render properly :eyes:

all good :yum: