-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Description
We have a report related to GB18030 compliance (Chinese government standard) that calls out the rendering of the Ⅻ char overlapping with the follow character. This is because we think it's a narrow width char but render it exactly as the font renders.
We could handle this case and solve the problem of overlapping character once and for all by scaling down the glyph to fit in the cell. This is what Windows Terminal's old renderer did:
Of course when talking about overlapping we can't ignore emoji which overlap but often contain a space after as this is what most terminals do. If we started scaling down all emoji I'm sure we would get many bug reports complaining about it. To handle this particular case generically I think we should also consider the following character, if is just whitespace then render normally without scaling,

