You are not logged in.

#1726 2015-09-02 20:07:32

Roken
Member
From: South Wales, UK
Registered: 2012-01-16
Posts: 1,251

Re: infinality-bundle: good looking fonts made (even) easier

Anyone struggling with today's upgrade (using packer here), especially the unmet dependancies issue, the package installs in the wrong order using packer. Let it finish, then packer --auronly again and it will work.

EDIT - Missed a hyphen

Last edited by Roken (2015-09-02 20:09:41)


Ryzen 5900X 12 core/24 thread - RTX 3090 FE 24 Gb, Asus Prime B450 Plus, 32Gb Corsair DDR4, Cooler Master N300 chassis, 5 HD (1 NvME PCI, 4SSD) + 1 x optical.
Linux user #545703

Offline

#1727 2015-09-03 17:12:31

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: infinality-bundle: good looking fonts made (even) easier

Why not use the repo?

Offline

#1728 2015-09-03 19:32:27

suija
Member
Registered: 2013-06-23
Posts: 34

Re: infinality-bundle: good looking fonts made (even) easier

After I installed this, I noticed my urxvt takes half a second more to start. I use bitmap xft fonts in the terminal, so I don't need antialias there. How can I make infinality ignore terminal emulators? Also I should point that when I use the default urxvt font, the starting lag is gone, maybe because it's not xft font.


..   ..- ... .   .- .-. -.-. ....   -... - .--

Offline

#1729 2015-09-04 08:20:50

bohoomil
Member
Registered: 2010-09-04
Posts: 2,376
Website

Re: infinality-bundle: good looking fonts made (even) easier

@suija Hmm… My urxvt launches instantly and so it operates (otherwise I wouldn't be using it). You can't make Infinality ignore an application because it's a patch that alters freetype's functionality globally. Did you tell fontconfig to use embedded bitmaps (i.e. symlinked 83-yes-embedded-bitmaps.conf instead of 82-no-embedded-bitmaps.conf in /etc/fonts/conf.d)?


:: Registered Linux User No. 223384

:: github
:: infinality-bundle+fonts: good looking fonts made easy

Offline

#1730 2015-09-04 20:16:49

Roken
Member
From: South Wales, UK
Registered: 2012-01-16
Posts: 1,251

Re: infinality-bundle: good looking fonts made (even) easier

I also found horrible font rendering on various forums and facebook (yeah, I know). Installed infinality-ultimate and chose my default fonts in firefox, much much better.


Ryzen 5900X 12 core/24 thread - RTX 3090 FE 24 Gb, Asus Prime B450 Plus, 32Gb Corsair DDR4, Cooler Master N300 chassis, 5 HD (1 NvME PCI, 4SSD) + 1 x optical.
Linux user #545703

Offline

#1731 2015-09-04 21:31:03

suija
Member
Registered: 2013-06-23
Posts: 34

Re: infinality-bundle: good looking fonts made (even) easier

@bohoomil I symlinked the file, but it has no effect. By the way if I use -*-terminus-medium-*-*-*-14-*-*-*-*-*-iso8859-1 instead of xft:Terminus:pixelsize=14 it has no lag. But I can't use my custom font from .local/share/fonts/, because I dont know how to type it the long way, it does not show in xfontsel.

Also I would like some tips on how to create and install my own fonts properly, I just make a font with gbdfed and put it in .local/share/fonts/. This works, but apart from that I have 0 clue.


..   ..- ... .   .- .-. -.-. ....   -... - .--

Offline

#1732 2015-09-05 04:25:48

bohoomil
Member
Registered: 2010-09-04
Posts: 2,376
Website

Re: infinality-bundle: good looking fonts made (even) easier

Xorg needs to see pcf / bdf bitmap fonts so you shouldn't install them in $XDG_DATA_HOME/fonts. Install them system-wide and point Xorg to the path in /etc/X11/xorg.conf.d/50-fonts.conf (the number may differ: I'm using a custom build Xorg server with no support for old style bitmap fonts whatsoever).

some tips on how to create and install my own fonts

I'm sorry but this has really nothing to do with Infinality & stuff. Check out this. ;-)


:: Registered Linux User No. 223384

:: github
:: infinality-bundle+fonts: good looking fonts made easy

Offline

#1733 2015-09-05 18:05:54

miguelvps
Member
Registered: 2015-09-05
Posts: 1

Re: infinality-bundle: good looking fonts made (even) easier

Hey bohoomil, great work on the bundle!

I was using an old version of infinality and today I upgraded to the bundle and it seems that the Consolas font became a bit taller.
Do you know how to fix this?

In this screenshot you can see that the bottom 2 lines (bundle) square backets are on top of each other unlike in the top 2 lines (old infinality version).
z2TjJKv.png


[miguel@io ~]$ env | grep INFINALITY
INFINALITY_FT_FRINGE_FILTER_STRENGTH=25
INFINALITY_FT_USE_VARIOUS_TWEAKS=true
INFINALITY_FT_FILTER_PARAMS=08 24 36 24 08
INFINALITY_FT_WINDOWS_STYLE_SHARPENING_STRENGTH=25
INFINALITY_FT_STEM_ALIGNMENT_STRENGTH=15
INFINALITY_FT_STEM_FITTING_STRENGTH=15

Offline

#1734 2015-09-06 01:22:24

bohoomil
Member
Registered: 2010-09-04
Posts: 2,376
Website

Re: infinality-bundle: good looking fonts made (even) easier

@miguelvps Yes, I can reproduce it. I'm not sure whether the problem is Infinality or upstream updates, though (the same happens when all Infinality settings are disabled). We're using a significantly modified code base so I'll have to test a clean freetype2 build to see if upstream patches have introduced any scaling issues. For the time being, thanks for using and the feedback: once we find out a fix or a workaround I'll leave a note in the Changelog.


:: Registered Linux User No. 223384

:: github
:: infinality-bundle+fonts: good looking fonts made easy

Offline

#1735 2015-09-07 00:30:54

zerophase
Member
Registered: 2015-09-03
Posts: 228

Re: infinality-bundle: good looking fonts made (even) easier

Sorry, if this was already mentioned in here. I probably missed the post in this thread.

Whenever I try to install infinality-bundle-fonts I error out.

error: failed to prepare transaction (conflicting dependencies)
:: t1-bh-ib and ttf-bh-ib are in conflict

Is the solution just to install each font individually?

Offline

#1736 2015-09-07 01:02:38

bohoomil
Member
Registered: 2010-09-04
Posts: 2,376
Website

Re: infinality-bundle: good looking fonts made (even) easier

@zerophase Both packages offer the same families but in two different formats and each requires different rendering settings. In most cases TTF should do just fine.


:: Registered Linux User No. 223384

:: github
:: infinality-bundle+fonts: good looking fonts made easy

Offline

#1737 2015-09-10 16:07:51

Perfect Gentleman
Member
Registered: 2012-10-25
Posts: 222

Re: infinality-bundle: good looking fonts made (even) easier

-

Last edited by Perfect Gentleman (2015-09-11 17:30:22)

Offline

#1738 2015-09-15 21:45:15

suija
Member
Registered: 2013-06-23
Posts: 34

Re: infinality-bundle: good looking fonts made (even) easier

So, just to answer my own question: when I did this http://awesome.naquadah.org/wiki/Customizing_Fonts , and used the full font name, I no longer have lagg issues with my own custon fonts, like this one wink


..   ..- ... .   .- .-. -.-. ....   -... - .--

Offline

#1739 2015-09-16 03:10:16

likytau
Member
Registered: 2012-09-02
Posts: 142

Re: infinality-bundle: good looking fonts made (even) easier

@bohoomil:
Since this recently came up, I guess I should ask:

Both packages offer the same families but in two different formats and each requires different rendering settings. In most cases TTF should do just fine.

For non-UI use I am currently looking for fonts that render well (ideally, pixel-art or near pixel-art qualities) at small point sizes (6-18pt) without anti-aliasing. Occasionally I might want to use fonts for larger, print purposes.
Normally, this would suggest to prioritize TTF > OTF > T1, correct? Does infinality impact this equation in any way?

Maybe a better question to ask would be, is there a reasonably simple way that I can make side-by-side comparisons of the rendering of the different font formats, and is that a sensible aim to have?
At the moment, the only idea occurring to me is to process my XCF full of font samples, exporting all the necessary images from this in one set, then to quit GIMP, replace all relevant font packages with the alternate font format, and re-process the XCF, exporting all necessary images into another directory. I am hoping there is a possibility less laborious than that.

EDIT: Also, BTW, I spotted a typo -- 'Truentype' -- in description of ttf-yanone-kaffeesatz-ibx.

Last edited by likytau (2015-09-16 03:22:58)

Offline

#1740 2015-09-16 08:59:18

muffinmad
Member
Registered: 2013-10-15
Posts: 5

Re: infinality-bundle: good looking fonts made (even) easier

fungle wrote:

An update from freetype2-infinality-ultimate 2.5.5-4 has made synthetic bold fonts via embolden too bold.
Here's a sample

2.5.5-5 / 2.5.5-6
http://i.imgur.com/9EnSrYn.jpg

2.5.5-4
http://i.imgur.com/YrPmgkK.jpg

I have same issue with freetype2-infinality-ultimate 2.6-3 and fontconfig-infinality-ultimate 2.11.1-30

http://i.imgur.com/CO8wf5o.png

Only infinality-settings.sh is from /etc/X11/xinit/xinitrc.d:

XFT_SETTINGS="
Xft.antialias:  1
Xft.autohint:   0
Xft.dpi:        96
Xft.hinting:    1
Xft.hintstyle:  hintslight
Xft.lcdfilter:  lcddefault
Xft.rgba:       rgb
"

echo "$XFT_SETTINGS" | xrdb -merge > /dev/null 2>&1

export INFINALITY_FT_FILTER_PARAMS="11 22 38 22 11"
export INFINALITY_FT_FRINGE_FILTER_STRENGTH="0"
export INFINALITY_FT_USE_VARIOUS_TWEAKS="true"
export INFINALITY_FT_WINDOWS_STYLE_SHARPENING_STRENGTH="0"
export INFINALITY_FT_STEM_ALIGNMENT_STRENGTH="15"
export INFINALITY_FT_STEM_FITTING_STRENGTH="15"

Terminal is gnome-terminal, font is VGA Regular 10 (http://www.inp.nsk.su/~bolkhov/files/fo … index.html)

What can I do about it?

Last edited by muffinmad (2015-09-16 09:33:07)

Offline

#1741 2015-09-16 19:32:29

bohoomil
Member
Registered: 2010-09-04
Posts: 2,376
Website

Re: infinality-bundle: good looking fonts made (even) easier

@muffinmad Disable "Allow bold text" in your profile preferences.


:: Registered Linux User No. 223384

:: github
:: infinality-bundle+fonts: good looking fonts made easy

Offline

#1742 2015-09-17 07:14:15

muffinmad
Member
Registered: 2013-10-15
Posts: 5

Re: infinality-bundle: good looking fonts made (even) easier

bohoomil wrote:

@muffinmad Disable "Allow bold text" in your profile preferences.

Yes, but this solution is too extreme. Is there any way to make fonts less bold via fontconfig rules or infinality-settings.sh etc.?

Offline

#1743 2015-09-17 09:51:55

bohoomil
Member
Registered: 2010-09-04
Posts: 2,376
Website

Re: infinality-bundle: good looking fonts made (even) easier

Put a snippet below in /etc/fonts/conf.d/97-selective-rendering-custom.conf:

<match target="font">
  <test name="family">
    <string>VGA</string>
  </test>
  <edit name="embolden" mode="assign">
    <bool>false</bool>
  </edit>
  <edit name="weight" mode="assign">
    <const>black</const>
  </edit>
</match>

:: Registered Linux User No. 223384

:: github
:: infinality-bundle+fonts: good looking fonts made easy

Offline

#1744 2015-09-19 17:39:27

ozky
Member
From: Finland
Registered: 2013-08-01
Posts: 11

Re: infinality-bundle: good looking fonts made (even) easier

I get very big fonts in some sites like kde-look.org and facebook and github. Browser is qupzilla and desktop lxqt all fonts are set to 12 and try different sizes too.

https://www.dropbox.com/s/zbnpcxmr0zear … 1.png?dl=0

https://www.dropbox.com/s/09ua9kj3jxpz5 … 2.png?dl=0


Arch linux x64 lxqt acer aspire e1-571

Offline

#1745 2015-09-20 06:16:58

bohoomil
Member
Registered: 2010-09-04
Posts: 2,376
Website

Re: infinality-bundle: good looking fonts made (even) easier

@likytau First of all, sorry for a bit late answer. As far as I can tell, Infinality shouldn't affect printing in any way. (I'm not a guru and can be wrong, so if anyone has a better knowledge on the subject feel free to correct me.) I've been creating mainly PDF documents with XeLaTeX so these days I'm using TTF and OTF fonts almost exclusively and the output looks OK both on paper and the screen. If you need a side by side comparison of all font formats, I'm afraid the only way is to install each and create a sample document. I believe there won't be huge differences, though. Personally, I'd get OTFs (if available) if the target medium is supposed to be paper. Most DTP / text processing applications will make use of extra features they offer which you may find quite handy.

@ozky It looks like you're experiencing DPI issues. See the Wiki for details:

https://wiki.archlinux.org/index.php/Fo … rted_fonts
https://wiki.archlinux.org/index.php/Xo … ze_and_DPI


:: Registered Linux User No. 223384

:: github
:: infinality-bundle+fonts: good looking fonts made easy

Offline

#1746 2015-09-20 08:34:58

ozky
Member
From: Finland
Registered: 2013-08-01
Posts: 11

Re: infinality-bundle: good looking fonts made (even) easier

No it's not dpi problem as my dpi is 96 and xorg should default dpi to 96 and i configured it manually to 96 but fonts are still too big.


Arch linux x64 lxqt acer aspire e1-571

Offline

#1747 2015-09-20 10:01:15

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: infinality-bundle: good looking fonts made (even) easier

ozky wrote:

my dpi is 96... but fonts are still too big.

You, like everyone else, need to *calcuate* the DPI for your screen by considering its physical dimensions, and physical resolution.

96 x 96 (yes, it's two values - horizontal and vertical) is almost certainly wrong, so please stop with the "96 DPI should be enough for anybody" mantra - it's ridiculously old-fashioned, and this becomes blatantly obvious when using e.g. a "4k" high-res screen.

Offline

#1748 2015-09-20 12:18:38

ozky
Member
From: Finland
Registered: 2013-08-01
Posts: 11

Re: infinality-bundle: good looking fonts made (even) easier

I try to lower dpi value but it does nothing to qupzilla everything else is smaller than qupzilla certain fonts.


Arch linux x64 lxqt acer aspire e1-571

Offline

#1749 2015-09-20 14:03:28

bohoomil
Member
Registered: 2010-09-04
Posts: 2,376
Website

Re: infinality-bundle: good looking fonts made (even) easier

What values does

grep Xft <(xrdb -q)

return?


:: Registered Linux User No. 223384

:: github
:: infinality-bundle+fonts: good looking fonts made easy

Offline

#1750 2015-09-20 15:57:35

ozky
Member
From: Finland
Registered: 2013-08-01
Posts: 11

Re: infinality-bundle: good looking fonts made (even) easier

This.

Xft.antialias: 1
Xft.autohint: 0
Xft.dpi: 96
Xft.hinting: 1
Xft.hintstyle: hintfull
Xft.lcdfilter: lcddefault
Xft.rgba: rgb

Arch linux x64 lxqt acer aspire e1-571

Offline

Board footer

Powered by FluxBB