Bold and italic font styles are not applied. #814

Closed
opened 2 months ago by grtcdr · 2 comments
grtcdr commented 2 months ago

I'm having a hard time getting bold and italic font styles to actually display.

Details

foot version: 1.10.0 +pgo +ime +graphemes -assertions

Configuration

Here's my full configuration:

title=Terminal

font=JetBrains Mono:size=9
font-bold=JetBrains Mono:size=9
font-italic=JetBrains Mono:size=9
font-bold-italic=JetBrains Mono:size=9
dpi-aware=yes
pad=8x8

notify=notify-send -a ${app-id} -i ${app-id} ${title} ${body}

resize-delay-ms=150
workers=4

[bell]
notify=yes

[scrollback]
lines=1000
multiplier=3.0
indicator-position=none

[cursor]
color=1e1e1e e6d4a3
beam-thickness=1.5

[mouse]
hide-when-typing=yes

[colors]
alpha=1
foreground=e6d4a3
background=1e1e1e
regular0=1e1e1e
regular1=be0f17
regular2=868715
regular3=cc881a
regular4=377375
regular5=a04b73
regular6=578e57
regular7=978771
bright0=7f7061
bright1=f73028
bright2=aab01e
bright3=f7b125
bright4=719586
bright5=c77089
bright6=7db669
bright7=e6d4a3
selection-foreground=534a42
selection-background=e6d4a3

[key-bindings]
scrollback-up-line=Control+y
scrollback-down-line=Control+h
search-start=Control+Shift+s
font-increase=Control+equal
font-decrease=Control+minus
font-reset=Control+0
spawn-terminal=none

[search-bindings]
cancel=Control+c
find-prev=Control+p
find-next=Control+n
cursor-left=Left Control+h
cursor-right=Right Control+l
clipboard-paste=Control+v
I'm having a hard time getting bold and italic font styles to actually display. ### Details foot version: 1.10.0 +pgo +ime +graphemes -assertions ### Configuration Here's my full configuration: ``` title=Terminal font=JetBrains Mono:size=9 font-bold=JetBrains Mono:size=9 font-italic=JetBrains Mono:size=9 font-bold-italic=JetBrains Mono:size=9 dpi-aware=yes pad=8x8 notify=notify-send -a ${app-id} -i ${app-id} ${title} ${body} resize-delay-ms=150 workers=4 [bell] notify=yes [scrollback] lines=1000 multiplier=3.0 indicator-position=none [cursor] color=1e1e1e e6d4a3 beam-thickness=1.5 [mouse] hide-when-typing=yes [colors] alpha=1 foreground=e6d4a3 background=1e1e1e regular0=1e1e1e regular1=be0f17 regular2=868715 regular3=cc881a regular4=377375 regular5=a04b73 regular6=578e57 regular7=978771 bright0=7f7061 bright1=f73028 bright2=aab01e bright3=f7b125 bright4=719586 bright5=c77089 bright6=7db669 bright7=e6d4a3 selection-foreground=534a42 selection-background=e6d4a3 [key-bindings] scrollback-up-line=Control+y scrollback-down-line=Control+h search-start=Control+Shift+s font-increase=Control+equal font-decrease=Control+minus font-reset=Control+0 spawn-terminal=none [search-bindings] cancel=Control+c find-prev=Control+p find-next=Control+n cursor-left=Left Control+h cursor-right=Right Control+l clipboard-paste=Control+v ```
grtcdr changed title from Bold, and italic font styles are not used. to Bold and italic font styles are not applied. 2 months ago
Owner

That's because you're telling foot to use a non-bold font...

I think what you want to do is simply remove your font-bold, font-italic and font-bold-italic settings. Foot will automatically use the bold and italic versions of the regular font, as appropriate.

That's because you're telling foot to use a non-bold font... I think what you want to do is simply remove your `font-bold`, `font-italic` and `font-bold-italic` settings. Foot will automatically use the bold and italic versions of the regular font, as appropriate.
Poster

Thank you so much, that solved it!

Thank you so much, that solved it!
grtcdr closed this issue 2 months ago
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.