bohoomil / fontconfig-ultimate

freetype2-infinality run-time settings => infinality compatible fontconfig => infinality-bundle
454 stars 38 forks source link

Freetype 2.7.0 is out. Will be there infinality patch ? #171

Open perfect7gentleman opened 8 years ago

perfect7gentleman commented 8 years ago

Or is this the end of infinality?

Brottweiler commented 8 years ago

Why would it be the end?

perfect7gentleman commented 8 years ago

I have a bad feeling

archfan commented 8 years ago

Did they just merge some of the infinality patches upstream?

http://phoronix.com/scan.php?page=news_item&px=FreeType-2.7-Rendering

CamilleScholtz commented 8 years ago

http://phoronix.com/scan.php?page=news_item&px=FreeType-2.7-Rendering

Copied a reddit comment about this of mine:

I'm pretty sure they enabled subpixelrendering by default in 2.6.4, I did a comparison of it between vanilla (https://punpun.xyz/9To7.png), and 2.6.3 patched with infinality (https://punpun.xyz/Pg6J.png).

rumpelsepp commented 8 years ago

2.7 is out; @bohoomil

perfect7gentleman commented 8 years ago

@rumpelsepp, 2.7 is still developing.

rumpelsepp commented 8 years ago

Oh, sry. I just read this http://phoronix.com/scan.php?page=news_item&px=FreeType-2.7-Rendering and I confused it with a release announcement.

On July 19, 2016 8:45:00 AM GMT+02:00, Perfect Gentleman notifications@github.com wrote:

@rumpelsepp, 2.7 is still developing.


You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub: https://github.com/bohoomil/fontconfig-ultimate/issues/171#issuecomment-233545870

Sent from my Android device with K-9 Mail. Please excuse my brevity.

afettouhi commented 7 years ago

Is this repo dead in th water? The packages are already behind what is in Arch Linux.

rumpelsepp commented 7 years ago

I hope @bohoomil is doing well. He seems to be very quiet the last weeks...

archfan commented 7 years ago

Let's hope for the best. Maybe he's just caught up with life.

archfan commented 7 years ago

Just took the time to update the Infinality Bundle for FreeType 2.6.5 and Fontconfig 2.12.1.

It compiles fine and looks as brilliant as before. ;)

Please test: https://github.com/archfan/infinality_bundle

CamilleScholtz commented 7 years ago

@archfan Just compiled it and I can confirm everything still works and looks the same (so far :))!

vdcow commented 7 years ago

FYI: 2.6.5 just reverts changes made in 2.6.4. So 2.6.5 is almost the same as 2.6.3 (there was additional fix in build for Mac OS).

CamilleScholtz commented 7 years ago

This can be renamed to Freetype 2.7.0 is out. Will be there infinality patch? :)

archfan commented 7 years ago

JUST HAVE FAITH.

On 09/09/2016 03:10 PM, Camille wrote:

This can be renamed to Freetype 2.7.0 is out. Will be there infinality patch? :)

archfan commented 7 years ago

It's done.

https://github.com/archfan/infinality_bundle/blob/master/01_freetype2-iu/0002-infinality-2.7-2016.09.09.patch

I've added the subpixel hinting patch from Arch. Please test if changing the interpreter version in /etc/profile.d/freetype2.sh still works.

SolarAquarion commented 7 years ago

still the fonts still need to be updated

afettouhi commented 7 years ago

Also the repo needs to be updated if we get the patch.

gothmog123 commented 7 years ago

Hi doesn anyone have any info on what is going on with Bohoomil? Is the arch repo going to be updated?

slokhorst commented 7 years ago

So is there any difference between FT 2.6.3+Infinality patch and FT 2.7.0 with truetype:interpreter-version=38 ("Infinality" mode)?

(I don't know what settings were used in the previous comparisons...)

vdcow commented 7 years ago

@slokhorst Yes, there are some differences because Infinality patch includes some additional improvements not included to vanila freetype.

rumpelsepp commented 7 years ago

some additional improvements not included to vanila freetype.

What are they? I am thinking of dropping infinatliy freetype in favor of upstream 2.7 and keep the fontconfig from here, as I mentioned here: https://github.com/bohoomil/fontconfig-ultimate/issues/183#issuecomment-258592438

vdcow commented 7 years ago

@rumpelsepp

What are they?

Unfortunately bohoomil removed original description for additional features from infinality-settings.sh but I am still tracking them in my package for Alt Linux

http://git.altlinux.org/people/cow/packages/?p=libfreetype-infinality.git;a=blob;f=infinality-settings.sh;h=6c02ec4084d08efc9b86d456bb0ef65b4a8d754c;hb=sisyphus

Also in this repo you can find actual patches for 2.7.

julroy67 commented 7 years ago

Sadly @bohoomil doesn't respond to mails and hasn't been active on Github for over 5 months. So I'm thinking it's time to fork, because I really love the font substitution stuff.

If someone wants to fork, I'm ready to help get it up running.

gothmog123 commented 7 years ago

Yeah just fontconfig-infinality works great all by itself. It's one package, I'm sure the gurus out there can keep it going.

SammysHP commented 7 years ago

Here's another blog post: https://www.freetype.org/freetype2/docs/subpixel-hinting.html

CamilleScholtz commented 7 years ago

I made some comparisons between 2.7 with patched infinality patches, and vanilla 2.7, and infinality still looked better, especially kanji. so infinality is probably doing some more magic.

SammysHP commented 7 years ago

Here are some comparisons between freetype2-infinality-ultimate and freetype2 with different values of FREETYPE_PROPERTIES.

freetype2-infinality-ultimate freetype2 FREETYPE_PROPERTIES="truetype:interpreter-version=40" (the new stuff, default) freetype2 FREETYPE_PROPERTIES="truetype:interpreter-version=38" ("infinality") freetype2 FREETYPE_PROPERTIES="truetype:interpreter-version=35" (the old sstuff)

As you can see, with most fonts there is no difference. I kept using fontconfig-infinality-ultimate because I don't have a good rollback plan yet to switch back if something goes wrong (or I don't like the "normal" fontconfig). Further testing necessary.

Actually upstream freetype has an improvement. Just look at the "com" in the header: with infinality-ultimate the "o" is a little bit too tall.

If you want to try installing just freetype2 you can use this command:

# pacman -S freetype2 --assume-installed freetype2-infinality-ultimate

This will satisfy the dependency of fontconfig-infinality-ultimate.

edit: Here is another comparison with Palatino Linotype (text body), Arial (headings) and Courier New (code).

freetype2 FREETYPE_PROPERTIES="truetype:interpreter-version=40" freetype2-infinality-ultimate

Pay attention to:

afettouhi commented 7 years ago

Someone talked about forking this? I am just interested in knowing if the repo is going to get updated to 2.7.0 or if I should go back to vanilla freetype2 in the official arch linux repoes.

rumpelsepp commented 7 years ago

@afettouhi I would suggest to try vanilla freetype with the fontconfig from here. Maybe we could fork the fontconfig und create some AUR packages without the dependencies to this repo.

I am thinking of providing the relevant infrastructure to make at least another font pacman repo, that is being updated regularly. The config package could live in AUR IMO; the rest can IMO be vanilla freetype, since I am not interested in maintaining patch sets to code bases I do no understand.

afettouhi commented 7 years ago

@rumpelsepp I don't want start mixing vanilla stuff with old stuff from the repo. Fontconfig is also behind in the repo.Upstream is at 2.12.2 or something, but I am all for if someone is willing to put it all in AUR.

rumpelsepp commented 7 years ago

Are there any major changes with the new font config? I personally like the font substitution rules from here and the really great fonts repo.

gothmog123 commented 7 years ago

Is it possible to just run with the font substitution from infinality sustainably? Would one just copy the config files?

afettouhi commented 7 years ago

@rumpelsepp Don't know if there major changers in the 2.12.x series I am just interested in getting this update with the Arch repos.

rumpelsepp commented 7 years ago

For the record; I have migrated back to fully upstream packages. Namely:

I left the default and I changed my i3wm to use the mate control center settings (I can configure the font substitutions for sans, serif, and monospace with a click now... I am lazy, I know). I am really happy with the results so far. There seem to be a lot of improvements since I used the upstream packages the last time. So, I am out of infinality.

afettouhi commented 7 years ago

Did the same thing, so I am also out of infinality for now.

Brottweiler commented 7 years ago

I've also switched to regular freetype2... Things are different, but not that bad, so it's fine.

mattia-b89 commented 7 years ago

As already stated previously, our effort should be concentrated on font substitution, that's the porting of font config infinality .conf files mainly.

powered by CM

On 11 Dec 2016 00:20, "Christoffer Tibell" notifications@github.com wrote:

I've also switched to regular freetype2... Things are different, but not that bad, so it's fine.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/bohoomil/fontconfig-ultimate/issues/171#issuecomment-266248466, or mute the thread https://github.com/notifications/unsubscribe-auth/AAhSt9lHXMivPgrVMMNuyOOWUbqrfJPpks5rGzO1gaJpZM4JLNoc .

jurf commented 7 years ago

Yeah, I would be very interested in that, but I doubt I'll find the time in the upcoming weeks.

julroy67 commented 7 years ago

If there is anyone interested I've started my own font collection. It uses the v40 interpreter of Freetype (but Infinality mode, aka v38, can be activated) and although I've started with bohoomil's config, I'm now using different fonts. The repo is at https://github.com/julroy67/kagayaki

And there are some compiled packages at https://julroy67.freeboxos.fr:13476/share/h3Y-xMyPcgF6drIY/ (home server, so slow upload)

CamilleScholtz commented 7 years ago

@julroy67 Awesome! Can you please give me a rundown on what the patches actually add over vanilla cairo/fontconfig/freetype if possible?

mattia-b89 commented 7 years ago

@julroy67, Yes would be great if you keep a changelog

On 4 Jan 2017 22:47, "Camille" notifications@github.com wrote:

@julroy67 https://github.com/julroy67 Awesome! Can you please give me a rundown on what the patches actually add over vanilla cairo/fontconfig/freetype if possible?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/bohoomil/fontconfig-ultimate/issues/171#issuecomment-270496388, or mute the thread https://github.com/notifications/unsubscribe-auth/AAhStyTOum1i2Xzm5PKBjBYqSAaiCvnhks5rPBN2gaJpZM4JLNoc .

mattia-b89 commented 7 years ago

Does anyone tried infinality from AUR? Especially, do you note differences with fontconfig from AUR?

vimsucks commented 7 years ago

@mattia-b89 AUR package freetype2-infinality did not work for me. FT_Get_Var_Blend_Coordinates error still exists.

Brottweiler commented 7 years ago

Probably want to use https://wiki.archlinux.org/index.php/Unofficial_user_repositories#infinality-bundle instead of AUR, maybe.

SammysHP commented 7 years ago

The old version of freetype2-infinality won't work anymore because of the harfbuzz update. Either switch to the official version of freetype2 or port all infinality patches to the latest version of freetype2.

jurf commented 7 years ago

I’ve made font meta packages to ease the migration from Infinality if anyone’s interested, you can find them on the AUR asfonts-meta-base and fonts-meta-extended-lt.

mattia-b89 commented 7 years ago

great start!

On 8 January 2017 at 17:39, Juraj Fiala notifications@github.com wrote:

I’ve made font meta packages to ease the migration from Infinality if anyone’s interested, you can find them on the AUR asfonts-meta-base https://aur.archlinux.org/packages/fonts-meta-base/ and fonts-meta-extended-lt https://aur.archlinux.org/packages/fonts-meta-extended-lt/.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/bohoomil/fontconfig-ultimate/issues/171#issuecomment-271162257, or mute the thread https://github.com/notifications/unsubscribe-auth/AAhSt52yVuftCaKtWgoskk6DHw1tvIwpks5rQRFIgaJpZM4JLNoc .

liaowang11 commented 7 years ago

Tried vanilla freetype2 with infinality mode, fonts blurry. infinality-ultimate still makes fonts much better. Rollbacked, I think I'll just stop updating until infinality is ready.

mrksr commented 7 years ago

I was successful in getting nice rendering again by following the guide in this gist by @cryzed: https://gist.github.com/cryzed/e002e7057435f02cc7894b9e748c5671

It also includes the packages created by @DoctorJellyface. Should be a good place to start.