sublimehq / sublime_text

Issue tracker for Sublime Text
https://www.sublimetext.com
811 stars 39 forks source link

ST4 selection border is not smoothed with opengl #4327

Open Serega124 opened 3 years ago

Serega124 commented 3 years ago

Description

I have a color scheme with "selection_border_width": "2"

Steps to reproduce

  1. Enable hardware acceleration with OpenGL
  2. Restart and select any text

Expected behavior

Selection border should be smoothed as with software rendering: изображение

Actual behavior

Selection border is not smoothed изображение

Environment

Serega124 commented 3 years ago

I also noticed that fonts with directwrite rendering look less saturated (slightly thinner) with opengl

Анимация 1

rwols commented 3 years ago

Your last GIF seems to have JPEG compression artifacts (zoom in very far)?

Serega124 commented 3 years ago

On a 'software' part of the GIF there is a smoothly blinking green cursor after the closing curly brace, not JPEG compression artifacts :)