Bold Italic?
Why
- to complete the RIBBI set
- sometimes uses in comment docs
- ~Shell-prompts often use it?~
https://github.com/0xType/0xProto/issues/82#issuecomment-2324305929
Why not now
https://github.com/0xType/0xProto/issues/79#issuecomment-2283765005
By the way, I will not be making a Bold Italic for 0xProto.
Because 0xProto is a programming font, and while Bold or Italic is necessary as a means of highlighting other than by color, wouldn't a Bold and Italic family be fine without it?
I know that it is not a problem to have. But I have a lot of other projects I want to do besides 0xProto, and I don't want to add as many things as possible that I need to keep maintaining.
It is possible that I am not aware of the seriousness of the Bold Italic use case.
As the fist why is from me...
I tried to prove the second bullet point, but I could not find any screenshot where a prompt uses both bold and italic in parallel. So probably that does not exist (too often). I think I remember two-line prompts where some information is highlighted by BOLD and some other by ITALIC. Together with color.
The I tried to edit my Powerline setup to show some BoldItalic stuff, but while some in bold and some in italic works it does not render {"italic", "bold"} :thinking:
My powerline colorscheme default file
And then, the terminal is controlled by ANSI sequences, and there just is no BoldItalic sequence:
https://stackoverflow.com/questions/4842424/list-of-ansi-color-escape-sequences
Conclusion
It is possible that I am not aware of the seriousness of the Bold Italic use case.
No, you are right and I was mislead. Sorry for the red herring! Ordinary fonts usually come in RIBBIs,, but for terminals there seems to be no use-case.
Sorry, Fini
@Finii Don't be sorry 🙂 Thank you for your detailed information!
Bold italic is certainly allowed in terminals.
echo -e "\e[3m\e[1mbold italic\e[0m"
But the absence of it is not much felt to be honest. I think editor themes rarely make use it, while the most common use case that I have seen is in comment docs like:
Where it blends with italic comments and add emphasis on doc tags.
OK, I won't start building the Bold Italic right away since it doesn't seem urgent or important. I won't close this issue, but I'll leave it as a task to work on gradually when I have time 🙂
@mcchrish
Ah, right (looking surprised). Thanks. For me this shows it a bit better / more obvious:
I have also seen this cursive comment with bold, but never when I work. Is that not only in some IDE like VSCode or something? I have never seen it in a terminal, I believe. But then, I never do JS, except when it is unavoidable. Maybe even neovim does that (trying)... No. But it does show a tiny JS icon :laughing:
Bold Italic isn't implemented? So is wezterm or underlying font stuff faking it on the fly? Looks good to me:
(Zsh)
$ print -lP 'Regular: eizrm' '%BBold: eizrm%b' '\e[3mItalic: eizrm\e[0m' '\e[3m%BBold Italic: eizrm%b\e[0m'
Though now that I stare at this screenshot I do wonder about the ol kerning in Bold.
I'm not really sure how the non-existent Bold Italic is completed or how it works 🤔
Though now that I stare at this screenshot I do wonder about the
olkerning inBold.
@AndydeCleyre Exactly, but given that 0xProto is monospaced, each character must fit within the same width box. As long as it is a monospaced font, there will be both high-density and low-density glyphs in the box.
Bold Italic isn't implemented? So is wezterm or underlying font stuff faking it on the fly? Looks good to me:
(Zsh)
$ print -lP 'Regular: eizrm' '%BBold: eizrm%b' '\e[3mItalic: eizrm\e[0m' '\e[3m%BBold Italic: eizrm%b\e[0m'Though now that I stare at this screenshot I do wonder about the
olkerning inBold.
I can confirm this ~~works~~ kinda works in kitty as well (heavily zoomed in for legibility) (Edit: I noticed after commenting that it's not using the correct cursive script here for either italic or bold italic, which I was able to fix for italic later, but not for bold italic; so WezTerm must use a different/better implementation of this generated "bold italic" variant):
With the following configuration:
font_family family="0xProto"
bold_font Bold
italic_font Italic
bold_italic_font Bold Italic