contour-terminal / contour

Modern C++ Terminal Emulator
http://contour-terminal.org/
Apache License 2.0
2.37k stars 102 forks source link

Flatpack errors and blurry contour #1343

Open silopolis opened 8 months ago

silopolis commented 8 months ago

Contour Terminal version

0.3.12

Installer source

something else (please specify below)

Operating System

Kali Rolling aka Debian testing

Architecture

x86-64

Other Software

Flatpack run from Konsole Shell is Zsh

Steps to reproduce

Install Contour flatpack run flatpak run org.contourterminal.Contour

Expected Behavior

"No" error message(s) and a nice crisp terminal

Actual Behavior

Many errors spitted out:

$ flatpak run org.contourterminal.Contour
[error] Missing key .logging.enabled. Using default: false.
[error] Missing key .logging.file. Using default: "".
[error] Missing key background_image.path. Using default: "".
[error] Missing key .shell. Using default: "".
[error] Missing key .refresh_rate. Using default: 0.
Qt: Session management error: Could not open network socket
libpng warning: iCCP: known incorrect sRGB profile
[error] freetype: Failed to set LCD filter. unimplemented feature
[error] Failed to load font from path /run/host/fonts/type1/texlive-fonts-recommended/pcrb8a.pfb. cannot open resource
[error] Failed to load font from path /run/host/fonts/X11/Type1/lmbx10.pfb. cannot open resource
[error] Failed to load font from path /run/host/fonts/X11/Type1/qbkb.pfb. cannot open resource
[error] FT_Select_Charmap failed. Ignoring; invalid charmap handle
[error] Failed to FT_Set_Char_Size(size=768, dpi 120x120, source path /run/host/fonts/X11/misc/cu12.pcf.gz Regular Roman): invalid pixel size
[error] Failed to FT_Set_Char_Size(size=768, dpi 120x120, source path /run/host/fonts/X11/misc/cu-alt12.pcf.gz Regular Roman): invalid pixel size
[error] Failed to FT_Set_Char_Size(size=768, dpi 120x120, source path /run/host/fonts/X11/misc/cu-pua12.pcf.gz Regular Roman): invalid pixel size
[error] Failed to FT_Set_Char_Size(size=768, dpi 120x120, source path /run/host/fonts/X11/misc/12x13ja.pcf.gz Medium Roman): invalid pixel size
[error] Failed to FT_Set_Char_Size(size=768, dpi 120x120, source path /run/host/fonts/X11/misc/6x13.pcf.gz Medium Roman): invalid pixel size
[error] FT_Select_Charmap failed. Ignoring; invalid charmap handle

And a slobbery terminal

image

Additional notes

No response

silopolis commented 8 months ago

Actually, just discovered that rendering was broken only on main display (27", 4K), but nice on second (23", FHD) screen

image

Yaraslaut commented 8 months ago

This might be connected to HiDPI https://github.com/contour-terminal/contour/issues/1299 also, you can try changing render_mode since similar behavior been observed https://github.com/contour-terminal/contour/issues/926 and maybe it was not fixed completely

Yaraslaut commented 6 months ago

@silopolis with https://github.com/contour-terminal/contour/issues/1299 fixed, can you please check if this issue is still present?

silopolis commented 6 months ago

@Yaraslaut hey! I'd love to but the flatpack release is lagging behind 🤷‍♂️

BTW, since I have adopted it for anything CLI, a Linuxbrew release would be awesome...

christianparpart commented 6 months ago

I am sorry for lagging behind on the flagpak release. I tried creating a new release on flathub, but flathub somehow didn't like it (CI failing for something I did not understand).

I will retry on 0.4.2 release, that should really come this week. :)

silopolis commented 6 months ago

No problem, it will be gladly welcome in time 🙂🙏

Yaraslaut commented 5 months ago

@christianparpart any updates for flatpack ?