Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flatpack errors and blurry contour #1343

Open
silopolis opened this issue Nov 26, 2023 · 7 comments
Open

Flatpack errors and blurry contour #1343

silopolis opened this issue Nov 26, 2023 · 7 comments
Labels
bug Something isn't working fonts font rasterization and text shaping API and platform implementations frontend: OpenGL Contour OpenGL target frontend Contour Terminal Emulator (GUI frontend)

Comments

@silopolis
Copy link

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 silopolis added the bug Something isn't working label Nov 26, 2023
@silopolis
Copy link
Author

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

image

@Yaraslaut
Copy link
Member

This might be connected to HiDPI #1299
also, you can try changing render_mode since similar behavior been observed #926 and maybe it was not fixed completely

@Yaraslaut Yaraslaut added frontend Contour Terminal Emulator (GUI frontend) frontend: OpenGL Contour OpenGL target fonts font rasterization and text shaping API and platform implementations labels Feb 1, 2024
@Yaraslaut
Copy link
Member

@silopolis with #1299 fixed, can you please check if this issue is still present?

@silopolis
Copy link
Author

@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
Copy link
Member

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
Copy link
Author

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

@Yaraslaut
Copy link
Member

@christianparpart any updates for flatpack ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fonts font rasterization and text shaping API and platform implementations frontend: OpenGL Contour OpenGL target frontend Contour Terminal Emulator (GUI frontend)
Projects
None yet
Development

No branches or pull requests

3 participants