Weston Terminal Font Issues
It's possible these are two separate issues, but I'm observing that, with certain fonts such as "Noto Sans Mono", maximizing Weston Terminal will cause the first line of the text area to be behind the toolbar, as well as issues where weird white lines are rendered across the screen. To recreate:
Text area out of alignment when maximized:
- Launch Weston Terminal by launching weston-terminal --font="Noto Sans Mono"
- Maximize the terminal window by either double-clicking on the toolbar or clicking on the maximize icon in between the minimize and close buttons on the top right of the terminal tool bar.
- The first line of text will render behind the toolbar. (See terminal-weston-maximized-noto.png for a screenshot of what that looks like).
- Everything will work, you can type in commands, but whenever you do a "clear" command to clear the screen the first line will always return to the very top behind the toolbar. It's as if the tool bar is not recognized as the boundary of the text area. I have noticed this won't happen with all fonts, for example, weston-terminal --font="Source Code Pro" will work correctly, see terminal-weston-maximized-scpro.png.
Text area will render weird underlines for no apparent reason:
- Launch Weston Terminal by launching weston-termianl --font="Source Code Pro"
- Launch Vim editor by typing vim. This will launch the generic splash screen that has the version information and license, etc.
- Exit the editor by typing ":q" to return to the shell.
- Immediately, you will get a long white line that runs across the screen.
- Pressing Enter repeatedly will draw another white line.
- Clearing the screen with "clear" command will draw white lines repeatedly. This problem doesn't seem to be font specific. I've seen this happen with other programs, but the Vim example is one that I can do to always recreate it.
I can provide additional information if required.
Background information:
- Raspberry PI 4
- Linux, 5.10.22-3-ARCH, aarch64, Arch Linux
- Weston 9.0.0
terminal-weston-maximized-noto.png
terminal-weston-maximized-scpro.png
terminal-weston-weird-lines.png