pdeljanov / infinality-remix

Arch Linux PKGBUILDs for Infinality patched FreeType, Fontconfig, and Cairo packages
122 stars 9 forks source link

Ugly fonts, missing characters in game #7

Open TheAifam5 opened 4 years ago

TheAifam5 commented 4 years ago

Hey! after installing a infinality-remix I get weird results:

image image Default Tilix font - Monospace

The CSGO is also missing characters: image

I use all-repository-fonts + ttf-google-fonts-git. Gnome and 1x4k-display and 2x1080p displays.

After installing ttf-google-fonts-git, I get:

(2/4) Updating font cache (Infinality Remix)
error: unable to write to pipe (Broken pipe)

Regards, TheAifam5

TheAifam5 commented 4 years ago

I switched to the original packages from ArchLinux: image image Also fonts are much better, they are not so bold everywhere.

pdeljanov commented 4 years ago

It's hard to really say what's wrong without some pretty serious debugging and trial-and-error.

Assuming you had freetype-infinality-remix, fontconfig-infinality-remix, and cairo-infinality-remix installed:

  1. I'd first try resetting the font cache: fc-cache -rf and restarting the desktop session.

  2. My second guess is that the mixed DPI setup is the culprit. You can test this by disabling your high-DPI screen, restarting X, and seeing if text renders properly again. When you do this xrdb -q | grep dpi should print a low DPI value like 96.

  3. My third guess is a font substitution error. You can test for this by removing fontconfig-infinality-remix and installing the official fontconfig package. You should run fc-cache -rf to reset the font cache, then restart your desktop session.

  4. My fourth guess is that Cairo is the culprit. You can test for this by removing cairo-infinality-remix and installing the official cairo package. You'll need to restart the app to see any changes.

  5. Last, if none of those things work, then you could try launching an app with the environment variable INFINALITY_FT="disabled" to disable Infinality for that app and see if it works properly.

Unfortunately, Infinality is an old patch-set, and while I port it to new versions of FreeType, I don't understand how the code works. If the problem is in the FreeType patch (you get to step 5), then it's unlikely to ever get fixed. That being said, running Infinality on high DPI screens isn't worth it.

TheAifam5 commented 4 years ago
  1. Yes I have all installed.
  2. Did not helped.
  3. Xft.dpi: 96 I have 3 monitors:
    • Left 1080p 24": 1920x1080
    • Middle(Main) 4k IPS 17.3": 3840x2160
    • Right 1008p 24": 1920x1080
  4. Done that. After making that issue, I switched to the stock packages.
  5. I restarted the shell by logout and login
  6. Does not fix the issue too.

So I think I will stick with the stock if isn't worth it.

rejexy commented 4 years ago

It seems to me that the problem is in the font. With infinality-remix fonts in my system began to look much better.

clapbr commented 3 years ago

I switched to the original packages from ArchLinux: image image Also fonts are much better, they are not so bold everywhere.

The extra boldness helps a lot with color fringing and lack of gamma correction in dark bg+light text cases, some people also like the "Macish" effect. If you don't feel annoyed by stock rendering stick to it, Infinality is kept in a undead state atm by pdeljanov and is expected to break sooner or later.

I really tried to go back to vanilla but the damage is already done for me, I can't unsee how color fringy and weak it looks. If pdeljanov stops maintaining it I will consider either switching to hidpi or switching to Windows (cheaper), it hurts my soul but default freetype2 is not usable on lo-dpi. Also fuck firefox and chromium making it even worse by breaking it constantly and ignoring the fact gamma correction and alpha blending exists.