contour icon indicating copy to clipboard operation
contour copied to clipboard

Flatpack errors and blurry contour

Open silopolis opened this issue 1 year ago • 7 comments
trafficstars

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 avatar Nov 26 '23 12:11 silopolis

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

image

silopolis avatar Nov 26 '23 12:11 silopolis

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 avatar Nov 26 '23 12:11 Yaraslaut

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

Yaraslaut avatar Feb 01 '24 15:02 Yaraslaut

@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...

silopolis avatar Feb 01 '24 17:02 silopolis

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. :)

christianparpart avatar Feb 01 '24 21:02 christianparpart

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

silopolis avatar Feb 02 '24 20:02 silopolis

@christianparpart any updates for flatpack ?

Yaraslaut avatar Mar 12 '24 09:03 Yaraslaut