Be able to configure or specify the font face for the selected font. #15060

Closed
opened 2026-01-31 04:27:16 +00:00 by claunia · 3 comments
Owner

Originally created by @alexesba on GitHub (Sep 3, 2021).

Be able to configure or specify the font face for the selected font.

I would like to have an option to set the font face style similar or in the same way alacrity does it.

font:
  # Normal (roman) font face
  normal:
    # Font family
    #
    # Default:
    #   - (macOS) Menlo
    #   - (Linux) monospace
    #   - (Windows) Consolas
    family: Operator Mono

    # The `style` can be specified to pick a specific face.
    style: Book

  # Bold font face
  bold:
    # Font family
    #
    # If the bold family is not specified, it will fall back to the
    # value specified for the normal font.
    family: Operator Mono

    # The `style` can be specified to pick a specific face.
    style: Bold

  # Italic font face
  italic:
    # Font family
    #
    # If the italic family is not specified, it will fall back to the
    # value specified for the normal font.
    family: Operator Mono
  #
  #   # The `style` can be specified to pick a specific face.
    style: Book Italic

  # Point size
  size: 13

Proposed technical implementation details (optional)

Originally created by @alexesba on GitHub (Sep 3, 2021). <!-- 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨 I ACKNOWLEDGE THE FOLLOWING BEFORE PROCEEDING: 1. If I delete this entire template and go my own path, the core team may close my issue without further explanation or engagement. 2. If I list multiple bugs/concerns in this one issue, the core team may close my issue without further explanation or engagement. 3. If I write an issue that has many duplicates, the core team may close my issue without further explanation or engagement (and without necessarily spending time to find the exact duplicate ID number). 4. If I leave the title incomplete when filing the issue, the core team may close my issue without further explanation or engagement. 5. If I file something completely blank in the body, the core team may close my issue without further explanation or engagement. All good? Then proceed! --> # Be able to configure or specify the font face for the selected font. I would like to have an option to set the font face style similar or in the same way alacrity does it. ```yml font: # Normal (roman) font face normal: # Font family # # Default: # - (macOS) Menlo # - (Linux) monospace # - (Windows) Consolas family: Operator Mono # The `style` can be specified to pick a specific face. style: Book # Bold font face bold: # Font family # # If the bold family is not specified, it will fall back to the # value specified for the normal font. family: Operator Mono # The `style` can be specified to pick a specific face. style: Bold # Italic font face italic: # Font family # # If the italic family is not specified, it will fall back to the # value specified for the normal font. family: Operator Mono # # # The `style` can be specified to pick a specific face. style: Book Italic # Point size size: 13 ``` <!-- A clear and concise description of what the problem is that the new feature would solve. Describe why and how a user would use this new functionality (if applicable). --> # Proposed technical implementation details (optional) <!-- A clear and concise description of what you want to happen. -->
Author
Owner

@ASA77GD commented on GitHub (Sep 3, 2021):

font:

Normal (roman) font face

normal:
# Font family
#
# Default:
# - (macOS) Menlo
# - (Linux) monospace
# - (Windows) Consolas
family: Operator Mono

# The `style` can be specified to pick a specific face.
style: Book

Bold font face

bold:
# Font family
#
# If the bold family is not specified, it will fall back to the
# value specified for the normal font.
family: Operator Mono

# The `style` can be specified to pick a specific face.
style: Bold

Italic font face

italic:
# Font family
#
# If the italic family is not specified, it will fall back to the
# value specified for the normal font.
family: Operator Mono

_1006 # The style can be specified to pick a specific face.

style: Book Italic

Point size

size: 12
{
}

@ASA77GD commented on GitHub (Sep 3, 2021): font: # Normal (roman) font face normal: # Font family # # Default: # - (macOS) Menlo # - (Linux) monospace # - (Windows) Consolas family: Operator Mono # The `style` can be specified to pick a specific face. style: Book # Bold font face bold: # Font family # # If the bold family is not specified, it will fall back to the # value specified for the normal font. family: Operator Mono # The `style` can be specified to pick a specific face. style: Bold # Italic font face italic: # Font family # # If the italic family is not specified, it will fall back to the # value specified for the normal font. family: Operator Mono # # _1006 # The `style` can be specified to pick a specific face. style: Book Italic # Point size size: 12 { }
Author
Owner

@zadjii-msft commented on GitHub (Sep 8, 2021):

So this might sound crazy, but do you think #9744 might address that issue? I think that'll let you set the font to Cascadia Code Bold or Cascadia Code Light and have it jsut work the way you want

@zadjii-msft commented on GitHub (Sep 8, 2021): So this might sound crazy, but do you think #9744 might address that issue? I think that'll let you set the font to `Cascadia Code Bold` or `Cascadia Code Light` and have it jsut work the way you want
Author
Owner

@ghost commented on GitHub (Sep 12, 2021):

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment.

@ghost commented on GitHub (Sep 12, 2021): This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for **4 days**. It will be closed if no further activity occurs **within 3 days of this comment**.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#15060