Maximus5 / ConEmu

Customizable Windows terminal with tabs, splits, quake-style, hotkeys and more
https://conemu.github.io/
BSD 3-Clause "New" or "Revised" License
8.61k stars 574 forks source link

Black blocks over background image appear with non-monospaced font #1995

Open peter-gazdik-bt opened 5 years ago

peter-gazdik-bt commented 5 years ago

Versions

ConEmu build: 190714 x64 OS version: Windows 10 x64 Used shell version (Far Manager, git-bash, cmd, powershell, cygwin, whatever): git-bash, cmd, putty ... probably relevant for all of them

Problem description

When using non-monospaced font, the background image is not displayed across the entire window, but is cut on the right side. The exact point where it is cut depends on text on each line.

See the attached screenshots and compare the lines containing the letter 'M' as opposed to lines with the same number of ther letter 'I'. Notice the black blocks on the right side.

Resizing the window or changig any font settings does not resolve the issue.

Note that it's just my guess that it's a matter of font being monospaced or not, but I tried about 10 different fonts and the image was displayed correctly iff the font was monospaced.

Steps to reproduce

  1. Configure a non-monospaced font
  2. Configure a backgound image
  3. Do anything in your console of choice

Actual results

On the lines where something was printed you'll see black blocks of various lengths on the right hand side.

Additional files

conemu-gitbash-latest conemu-cmd-latest

Maximus5 commented 5 years ago

As you said, that's because you try to use non monospace font. ConEmu tries to fit each line from the terminal into screen line, and that tricky task may fails in many cases.