contour: Unicode character display (strangely wide or missing)

Description

Contour displays some characters very strangely or not at all.

Environment

  • Contour Version or Git commit hash: 2814f42f705756cd2dbaeb8579618801c714c7fd
  • Operating System (name / distribution / version): Debian GNU/Linux 11
  • Contour configuration: None
  • TERM environment variable: xterm-256color
  • Compiler version: g++ 10.2.1

Steps to Reproduce

  1. Run the fonttable script
  2. Notice that some of the characters are strangely large and most are missing. image
  3. Now run fonttable | less. Use the > key to go to the end of input.
  4. Notice that, although it should be identical, the glyphs now appear correct. image

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 16 (8 by maintainers)

Commits related to this issue

Most upvoted comments

Lol, I love your scripts, man. Many thanks for these. I think I somehow should integrate some of these into some kind of CI tests 😃

Well. The strangely sized glyphs are colored (most likely) bitmap glyphs. It is very well interesting to know which font and respective glyph index have caused this (you might need some assistance to find that out, not too urgent).

There was a name for the thing of spamming a system (e.g. TE) with every possible glyph. I have to look at the notcursses project that once had something similar too.

However, at least one problem is that the glyph cache is getting bigger and bigger on the master branch. Which causes it to get bloated (therefore slow when spamming glyphs). - I have that redesigned in the grid branch I am currently actively working on (say: 75% done).

I’ll be focusing on your other report first and then head back here (hopefully all fixable also without that special grid branch) 😃