Something wrong to the vertical bar in latex

Steps to reproduce

My GPU is iRIS Xe. When the Hardware Acceleration is on, and the font size is not the default, the vertical bar like that in “$$\left|\vec k\right|$$” will not appear.

Expected result

Make that vertical bar appear.

Actual result

The vertical bar sometimes disappear at different font sizes.


  • Operating system: Win10 22H2