Skip to content

Is there additional guide for font stretch? #1644

Answered by wez
aca asked this question in Q&A
Discussion options

You must be logged in to vote

are you setting the stretch parameter, something like this?

local wezterm = require 'wezterm';

return {
  font = wezterm.font('Iosevka Term', {stretch="Expanded", weight="Regular"}),
}

stretch is an instruction to find a variation on the requested font family that has the requested stretch attribute. If you don't have a version of that font with the desired stretch then the closest alternative font variant will be used. Stretch cannot be synthesized, so if there are no alternative stretched versions of the font installed, then setting stretch will have no effect.

I would recommend avoiding using patched nerd fonts, as the patched fonts are often a bit buggy and can cause conflicts with t…

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@aca
Comment options

@rahil627
Comment options

@rahil627
Comment options

@rahil627
Comment options

@rahil627
Comment options

Answer selected by aca
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants