Daniel Imms
0698afaf12
Only stroke glyph when font size >= 12
2022-08-19 13:24:39 -07:00
Daniel Imms
79d47893df
Move webgl underline rendering down
...
See microsoft/vscode#158326
2022-08-19 13:19:08 -07:00
Daniel Imms
39959c2861
Don't dim default bg in webgl
...
Fixes #3970
2022-07-31 15:39:34 -07:00
Daniel Imms
1ede106ab4
Fix powerlines not clipped when bg changes
2022-07-31 12:05:20 -07:00
Daniel Imms
e7e71dbd3c
Merge remote-tracking branch 'upstream/master' into 3969
2022-07-31 11:35:47 -07:00
Daniel Imms
d6fe5c7384
Update size when letter spacing changes
2022-07-31 11:21:27 -07:00
Daniel Imms
75ca5006a2
Expose texture atlas change event and use in demo
2022-07-31 11:16:12 -07:00
Daniel Imms
266d795179
Fix line height and letter spacing for custom glyphs
2022-07-31 10:58:04 -07:00
Daniel Imms
889e3ad14b
Merge pull request #3980 from Tyriar/3971
...
Fix underline color and polish width and positioning
2022-07-30 23:50:20 -07:00
Daniel Imms
bbd03fb5fe
Merge pull request #3976 from Tyriar/clip_underline
...
Clip outline drawing near underline
2022-07-30 23:43:42 -07:00
Daniel Imms
f4618b229f
Bring underlines closer to characters
2022-07-30 23:30:52 -07:00
Daniel Imms
686105942c
Reduce line width of webgl underline
2022-07-30 23:25:18 -07:00
Daniel Imms
04a14a748e
Merge pull request #3979 from Tyriar/3977
...
Implement improved texture packing strategy
2022-07-30 22:58:12 -07:00
Daniel Imms
ed492f7253
Implement improved texture packing strategy
...
Fixes #3977
2022-07-30 19:24:09 -07:00
Daniel Imms
ce4a85d07d
Clip outline drawing near underline
...
Fixes #3975
2022-07-30 17:52:00 -07:00
Daniel Imms
309487a020
Fix character offset to respect texture padding in webgl
...
Fixes #3974
2022-07-30 11:07:33 -07:00
Daniel Imms
c7122e8447
Fix dim flag applying to selection in webgl
...
Fixes #3970
2022-07-30 10:29:41 -07:00
Daniel Imms
f0ddaf49ea
Disable threshold check for glyphs with colored underlines
...
This causes some underlines to disappear which looks very bad for
colored underlines
2022-07-30 07:36:48 -07:00
Daniel Imms
d0ec9f2591
Support letter spacing in webgl
2022-07-30 07:05:05 -07:00
Daniel Imms
941cc5100d
Increase curly height when dpr <= 1
2022-07-30 06:56:32 -07:00
Daniel Imms
e0d4384d3c
Merge branch 'master' into underline
2022-07-30 06:40:41 -07:00
Daniel Imms
ff33834eb2
Merge branch 'master' into inactiveSelection
2022-07-29 14:51:22 -07:00
Daniel Imms
b0c29cac9a
Merge pull request #3932 from Tyriar/tyriar/dim_bg
...
Fix inverse dim rendering on canvas+webgl
2022-07-29 14:50:47 -07:00
Daniel Imms
4ac8e4ca51
Remove reliance on core in some webgl parts
2022-07-29 11:09:19 -07:00
Daniel Imms
954d9371a1
Inactive selection in webgl
2022-07-29 11:05:41 -07:00
Daniel Imms
6493679b2e
Inactive selection bg in dom renderer
...
Part of #3803
2022-07-29 11:00:36 -07:00
Daniel Imms
9cb25fbf06
Rename ITheme.selection to selectionBackground
...
This makes it consistent with selectionForeground and other theme keys and
as a result will make the API easier to work with, especially when inactive
selection is done (#3803 )
2022-07-29 10:34:27 -07:00
Daniel Imms
48142eca23
Merge branch 'master' into tyriar/dim_bg
2022-07-29 10:20:22 -07:00
Daniel Imms
1fe0ec8d2c
Merge branch 'master' into underline
2022-07-29 10:19:52 -07:00
Daniel Imms
de78344165
Merge pull request #3919 from SvanT/master
...
Dispose events
2022-07-28 10:52:09 -07:00
Daniel Imms
04b513cf9b
Merge pull request #3926 from Tyriar/rounding
...
FINALLY fix blurry canvas/webgl renderer issues due to device pixel rounding errors 🎉
2022-07-28 10:25:01 -07:00
Daniel Imms
8b276c1a54
Merge remote-tracking branch 'upstream/master' into pr/SvanT/3919
2022-07-28 07:04:11 -07:00
Daniel Imms
d2be5f992a
Merge remote-tracking branch 'upstream/master' into underline
2022-07-28 07:01:41 -07:00
Daniel Imms
437c8aac5c
Merge remote-tracking branch 'upstream/master' into rounding
2022-07-28 07:00:13 -07:00
Daniel Imms
84b259dfa5
Merge remote-tracking branch 'upstream/master' into tyriar/dim_bg
2022-07-28 06:57:27 -07:00
Daniel Imms
1ef9f7c1d1
Merge branch 'master' into 3930
2022-07-28 06:50:26 -07:00
Daniel Imms
c52eb8898f
Simplify addon tsconfigs
2022-07-28 04:50:40 -07:00
Daniel Imms
ced5c304f1
Move CustomGlyphs.ts into core
2022-07-28 04:46:18 -07:00
Daniel Imms
1c6ce99419
Move canvas renderer contents into addon
2022-07-27 10:26:02 -07:00
Daniel Imms
7a17a26e18
Remove link matchers
...
Fixes #2703
2022-07-27 06:49:35 -07:00
Svante Boberg
078b83fcaf
Use disposal registration
2022-07-27 14:24:42 +02:00
Svante Boberg
c895f67fd8
Add missing webgl cursor blink disposal
...
Same disposal code as the non-webgl cursor blink layer
2022-07-27 00:00:41 +02:00
Daniel Imms
ee2e54487d
Fix inverse dim for webgl
...
Fixes #3534
2022-07-24 13:13:26 -07:00
Daniel Imms
f4ffb13ece
Render dim bg in all renderers
...
Fixes #3534
2022-07-24 10:59:24 -07:00
Daniel Imms
a39c7fb636
Never clear color when allowTransparency is on
...
It's redundant and wasn't working as expected anyway.
Fixes #3930
2022-07-24 08:31:12 -07:00
Daniel Imms
47b1fdd147
Refactor to share observeDevicePixelDimensions
2022-07-24 04:09:34 -07:00
Daniel Imms
ad8404417e
ts-loader update, correct css cell dimension error
2022-07-24 03:57:22 -07:00
Daniel Imms
e25471361f
Fix device pixel value in canvas renderer
2022-07-24 03:41:25 -07:00
Daniel Imms
cb10aadb06
Fix device pixel rounding errors in webgl renderer
...
This uses the ResizeObserver devicePixelContentBoxSize API in order to
fetch the exact device pixel dimensions from the browser. The old
possibly blurry behavior is used as a fallback if that API is not
available.
Part of #2662
Part of microsoft/vscode#85154
2022-07-24 03:31:05 -07:00
Daniel Imms
4087284822
Fix ext caching issues
2022-07-23 15:19:17 -07:00