Skip to content

Conversation

@meganrogge
Copy link
Member

@meganrogge meganrogge commented Apr 20, 2022

@meganrogge meganrogge requested a review from jerch April 20, 2022 00:44
@meganrogge meganrogge merged commit 38f0dd9 into xtermjs:master Apr 20, 2022
@jerch
Copy link
Member

jerch commented Apr 20, 2022

@meganrogge Just a minor headsup - the webgl code considers a smaller codepoint range to be powerline glyphs: https://github.com/meganrogge/xterm.js/blob/341ca24dda672475f683eaf8f0ff6318e3143513/addons/xterm-addon-webgl/src/atlas/WebglCharAtlas.ts#L379

Is this intended? (If not, maybe the check should be coded in one central place to avoid incongruence?)

@meganrogge
Copy link
Member Author

Yes I was wondering about that, but not sure. I might wait until @Tyriar is back to make further changes. Sound good?

@meganrogge
Copy link
Member Author

Actually, should probably just be consistent. Will do

@jerch
Copy link
Member

jerch commented Apr 20, 2022

Yes I was wondering about that, but not sure. I might wait until @Tyriar is back to make further changes. Sound good?

Actually, should probably just be consistent. Will do

Well I dont mind, whatever suits your plans. My first reflex would be consistency over code repetitions, but I dont know if the webgl code has the smaller range for a good but non-obvious reason. Maybe go the consistency route in the first place, and introduce a special case in webgl code later, if @Tyriar had a specific reason for the smaller range?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

exclude powerline chars from min contrast ratio for webgl and dom renderers

2 participants