ppa-fonts icon indicating copy to clipboard operation
ppa-fonts copied to clipboard

create a build for Ubuntu 20

Open vladzcloudius opened this issue 4 years ago • 16 comments

Hi. I'm really sorry to bother you again but could you, please, create a build for Ubuntu 20.04 LTS?

Just installed it and fonts rendering is still not (as) good.

Please, save us!

vladzcloudius avatar Apr 23 '20 20:04 vladzcloudius

Yeah, I'll give it a try.

achaphiv avatar Apr 24 '20 21:04 achaphiv

Current status: I need an updated patch for freetype 2.10.1.

I'm currently busy with work, so this might be another week or two.

achaphiv avatar Apr 27 '20 07:04 achaphiv

@achaphiv Thanks for the update. No rush, sir.

vladzcloudius avatar Apr 27 '20 18:04 vladzcloudius

@achaphiv Sorry for bothering. I guess you are still busy. This is just a reminder to pop in your mailbox.

vladzcloudius avatar May 12 '20 20:05 vladzcloudius

As usual, debian package is convoluted.

But, the build seems to have gone through:

https://launchpad.net/~no1wantdthisname/+archive/ubuntu/ppa/+build/19316987

achaphiv avatar May 17 '20 23:05 achaphiv

@achaphiv Thanks! Installed and it seems to be working!

Thanks a lot, sir! You saved a day (AGAIN)!!!

vladzcloudius avatar May 18 '20 00:05 vladzcloudius

@achaphiv QQ: I noticed slight changes in the way it operates compared to the previous version.

Was there a change in the rendering/hinting approach? At first it felt as if it was "muddier" but when I looked closer it turned out that it was just my perception while rendering (I'm using Hinted Noto fonts all over the place). At times it also seems like there is more "shade" near vertical stems than before. And also stems seem to become thinner (I'm using "linux" style and an INFINALITY setting in /etc/profile.d/infinality-settings.sh.

Could you, please, clarify if that's expected?

vladzcloudius avatar May 18 '20 14:05 vladzcloudius

currently he's only providing the freetype library with infinality patches, not any altered fontconfig files. Generally I don't even bother with those because they make my head spin. I see that the INFINALITY environment variable name has been changed to INFINALITY_FT in the latest version of the infinality-settings.sh file (see https://github.com/pdeljanov/infinality-remix/blob/master/freetype2-infinality-remix/infinality-settings.sh) but changing it doesn't seem to have any effect for me, not sure why...

greatquux avatar May 18 '20 19:05 greatquux

currently he's only providing the freetype library with infinality patches, not any altered fontconfig files. Generally I don't even bother with those because they make my head spin. I see that the INFINALITY environment variable name has been changed to INFINALITY_FT in the latest version of the infinality-settings.sh file (see https://github.com/pdeljanov/infinality-remix/blob/master/freetype2-infinality-remix/infinality-settings.sh) but changing it doesn't seem to have any effect for me, not sure why...

@greatquux You are right: fontconfig-infinality package is missing: the only one available is libfreetype6.

@achaphiv Could you, please, build it for U20 too?

@greatquux I was using scripts from fontconfig-infinality which are slightly different from the one you referenced above.

vladzcloudius avatar May 18 '20 21:05 vladzcloudius

@achaphiv I cleaned up the fontconfig-infinality (by mistake) which remained from 19.10. I backed up the infinality-settings.sh and after manually putting it in /etc/profile.d/ I could clearly see a difference (compared to using "naked" libfreetype6 without tweaking) and this is the best result I saw so far with this new build.

Namely

sudo /etc/fonts/infinality/infctl.sh setstyle -> choose "linux"

was making fonts look worse.

The only issue right now Chrome's and Slack's fonts rendering. In particular how Chrome displays gmail page:

image

Look at this ugliest spacing between letters of the same word.

Here is the same email subject as rendered by Firefox: image

In the Slack letter i is rendered ugly: image

See how dot is has an offset to the right.

However except for that fonts look pretty sexy in general: image

vladzcloudius avatar May 19 '20 00:05 vladzcloudius

The Chrome issue (and Slack, which uses Electron, which is Chromium-based) is because they use their own bundled freetype library: https://github.com/pdeljanov/infinality-remix/issues/3

greatquux avatar May 19 '20 01:05 greatquux

The Chrome issue (and Slack, which uses Electron, which is Chromium-based) is because they use their own bundled freetype library: pdeljanov/infinality-remix#3

Thanks! Interestingly the OSS Chromium does much better.

vladzcloudius avatar May 19 '20 03:05 vladzcloudius

I stopped building fontconfig-infinality some time ago.

See #43.

However, I did forget to build cairo with the respect fontconfig patch. That should deploy shortly.

achaphiv avatar May 20 '20 04:05 achaphiv

I stopped building fontconfig-infinality some time ago.

See #43.

However, I did forget to build cairo with the respect fontconfig patch. That should deploy shortly.

Just picked it up. Thanks, @achaphiv . Luckily I still had fontconfig-infinality files on my son's laptop so I simply picked them up and installed on mine.

To your question on U17 related thread: yes, this makes a very visible difference. In particular it changes how things look when one uses small font sizes - letters become wider which makes them much more readable. Also I see that small letters rendered much more consistently.

Don't know how but the i fuckup in Slack got fixed after I used fontconfig-infinality scripts. Somehow rendering in Chromium also seem to change - in particular the small-font-size hack mentioned above got applied onto Facebook page.

So, I personally think that it's very useful.

vladzcloudius avatar May 20 '20 14:05 vladzcloudius

The fontconfig-infinality deb is listed under packages.

As for packaging config files from: https://github.com/pdeljanov/infinality-remix/tree/master/fontconfig-infinality-remix

I can give it a try, but I doubt this will happen anytime soon.

I will (finally) be using linux again for work, so I might end up fixing it when I get my new laptop.

Staring at terrible font rendering for 8+ hours was one of the reasons why I initially started this ppa, after all.

achaphiv avatar May 20 '20 22:05 achaphiv

The fontconfig-infinality deb is listed under packages.

Not for Focal... ;)

As for packaging config files from: https://github.com/pdeljanov/infinality-remix/tree/master/fontconfig-infinality-remix

I can give it a try, but I doubt this will happen anytime soon.

I will (finally) be using linux again for work, so I might end up fixing it when I get my new laptop.

Staring at terrible font rendering for 8+ hours was one of the reasons why I initially started this ppa, after all.

vladzcloudius avatar May 20 '20 23:05 vladzcloudius