You are not logged in.

#926 2014-03-10 08:57:51

rumpelsepp
Member
From: Bavaria
Registered: 2012-11-13
Posts: 105
Website

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

orschiro wrote:

@bohoomil

With one of the recent updates the style of code fonts has changed. The font appears to be a lot smaller. Unfortunately I do not have any older screenshots for comparison but this is how it looks now:

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

Intended behaviour?

I also had this problem. Microsoft Consolas is replaced by inconsoleta (don't remember the spelling).

I have put this in my /etc/fonts/conf.avail.infinality/35-repl-custom.conf

  <match target="font">
    <test name="family">
      <string>Consolas</string>
    </test>
    <edit name="family" mode="assign">
      <string>Liberation Mono</string>
    </edit>
  </match>
  <match target="pattern">
    <test name="family">
      <string>Consolas</string>
    </test>
    <edit name="family" mode="prepend" binding="strong">
      <string>Liberation Mono</string>
    </edit>
  </match> 

Last edited by rumpelsepp (2014-03-10 08:58:17)


Every time I see some piece of medical research saying that caffeine is good for you, I high-five myself. Because I'm going to live forever. -- Torvalds, Linus (2010-08-03).

Offline

#927 2014-03-10 21:38:40

rumpelsepp
Member
From: Bavaria
Registered: 2012-11-13
Posts: 105
Website

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

I have strange kerning issues in firefox with the most recent version. When I type the word "warning" ist looks like in the screenshot.

Bildschirmfoto%20vom%202014-03-10%2022%3A36%3A15.png


Every time I see some piece of medical research saying that caffeine is good for you, I high-five myself. Because I'm going to live forever. -- Torvalds, Linus (2010-08-03).

Offline

#928 2014-03-10 22:11:09

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

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

@rumpelsepp

Thanks for the hint! I overlooked this switch.

Offline

#929 2014-03-10 22:37:37

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

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

@orschiro, thanks for the feedback. Yes, it was intentional. Liberation Mono is a great font, but it is a completely different design than Consolas. However, there is a third option which I think you may like better: Fira Mono. Please, take a look: Consolas vs. Fira Mono vs. Inconsolatazi4. Shall I change the new default to Fira then? You can still use anything you wish via 35-repl-custom.conf just as rumpelsepp did.

@rumpelsepp, this is something about the UI font you are using. With Source Sans Pro 9 everything is fine: FF search box.

Last edited by bohoomil (2014-03-10 22:41:33)


:: Registered Linux User No. 223384

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

Offline

#930 2014-03-10 23:43:36

progandy
Member
Registered: 2012-05-17
Posts: 5,266

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

bohoomil wrote:

@orschiro, thanks for the feedback. Yes, it was intentional. Liberation Mono is a great font, but it is a completely different design than Consolas. However, there is a third option which I think you may like better: Fira Mono. Please, take a look: Consolas vs. Fira Mono vs. Inconsolatazi4. Shall I change the new default to Fira then? You can still use anything you wish via 35-repl-custom.conf just as rumpelsepp did.

Fira Sans OT has a funny @-symbol. You might also want to consider Droid Sans Mono.
PS: This (german) article about CamincoCode ends with an image comparing different coding fonts: http://www.myfonts.de/2013/12/camingocode/

Last edited by progandy (2014-03-10 23:48:24)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#931 2014-03-11 00:17:01

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

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

progandy wrote:

Droid Sans Mono

Thank you very much. This is actually the best option as far as metrics and the general look is concerned. I will use Droid Sans Mono Slashed, though. The updated fontconfig-iu will be available soon.

Thanks once again!


:: Registered Linux User No. 223384

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

Offline

#932 2014-03-11 08:08:59

rumpelsepp
Member
From: Bavaria
Registered: 2012-11-13
Posts: 105
Website

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

bohoomil wrote:
progandy wrote:

Droid Sans Mono

Thank you very much. This is actually the best option as far as metrics and the general look is concerned. I will use Droid Sans Mono Slashed, though. The updated fontconfig-iu will be available soon.

Thanks once again!

Like, like, like!


Every time I see some piece of medical research saying that caffeine is good for you, I high-five myself. Because I'm going to live forever. -- Torvalds, Linus (2010-08-03).

Offline

#933 2014-03-11 10:52:58

Nektarios
Member
Registered: 2013-02-19
Posts: 90

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

I have a problem with correctly matching fonts. In particular the font Verdana comes up as "DejaVu Sans" "Book" which is wrong. This happened when I installed Deja Vu fonts but it seems that this matching bug exists in the infinality match making rules.

This is the debug output of fc-match:

$ FC_DEBUG=1024 fc-match "Verdana"
FC_DEBUG=1024
        Loading config file /etc/fonts/fonts.conf
        Scanning config dir /etc/fonts/conf.d
        Loading config file /etc/fonts/conf.d/10-base-rendering.conf
        Loading config file /etc/fonts/conf.d/30-metric-aliases-free.conf
        Loading config file /etc/fonts/conf.d/30-win32-aliases.conf
        Loading config file /etc/fonts/conf.d/31-fix-cantarell.conf
        Loading config file /etc/fonts/conf.d/35-repl-custom.conf
        Loading config file /etc/fonts/conf.d/37-repl-global-free.conf
        Loading config file /etc/fonts/conf.d/40-non-latin.conf
        Loading config file /etc/fonts/conf.d/45-latin.conf
        Loading config file /etc/fonts/conf.d/49-sansserif.conf
        Loading config file /etc/fonts/conf.d/50-user.conf
        Loading config file /home/nektarios/.config/fontconfig/fonts.conf
        Loading config file /etc/fonts/conf.d/51-local.conf
        Loading config file /etc/fonts/conf.d/60-latin-free.conf
        Loading config file /etc/fonts/conf.d/65-non-latin-free.conf
        Loading config file /etc/fonts/conf.d/66-aliases-wine-free.conf
        Loading config file /etc/fonts/conf.d/68-override.conf
        Loading config file /etc/fonts/conf.d/82-no-embedded-bitmaps.conf
        Loading config file /etc/fonts/conf.d/82-no-force-autohint.conf
        Loading config file /etc/fonts/conf.d/82-no-ttf-as-bitmap.conf
        Loading config file /etc/fonts/conf.d/83-yes-bitmaps.conf
        Loading config file /etc/fonts/conf.d/83-yes-postscript.conf
        Loading config file /etc/fonts/conf.d/88-forced-synthetic.conf
        Loading config file /etc/fonts/conf.d/90-non-tt-fonts.conf
        Loading config file /etc/fonts/conf.d/90-tt-fonts.conf
        Loading config file /etc/fonts/conf.d/92-selective-rendering.conf
        Loading config file /etc/fonts/conf.d/93-final-lang-spec-free.conf
        Loading config file /etc/fonts/conf.d/93-final-rendering.conf
        Loading config file /etc/fonts/conf.d/94-no-synthetic.conf
        Loading config file /etc/fonts/conf.d/95-reject.conf
DejaVuSans.ttf: "DejaVu Sans" "Book"

And this is the list of installed packages that have something to do with fonts on my system:

$ sudo pacman -Qsq font
cairo-infinality-ultimate
cantarell-fonts
fontconfig-infinality-ultimate
fontforge
fontsproto
freetype2-infinality-ultimate
gsfonts
lib32-fontconfig
lib32-freetype2-infinality-ultimate
lib32-libxft
libfontenc
libxfont
libxft
sdl_ttf
ttf-bitstream-vera
ttf-dejavu
ttf-liberation
ttf-win7-fonts
xorg-bdftopcf
xorg-font-util
xorg-font-utils
xorg-fonts-alias
xorg-fonts-encodings
xorg-fonts-misc
xorg-mkfontdir
xorg-mkfontscale

If I remove fontcofing-infinality-ultimate and reinstall plain fontconfig the problem goes away, so it must be an infinality issue. How can I resolve this, without editing the match making rule files (which will probably be overwritten on every update)?

Offline

#934 2014-03-11 13:30:23

skuda
Member
Registered: 2010-11-29
Posts: 9

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

I am having what I think it's the same problem Nektarios have with the last two releases, font matching don't seems to work well and my settings in /home/skuda/.config/fontconfig/conf.d/ are ignored.

fc-match get "Noto Sans" and "Noto Serif" for too many things and i get "DejaVu Sans" "Book" for fc-match "Verdana" as Nektarios.

Offline

#935 2014-03-11 15:30:39

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

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

@Nektarios

Nektarios wrote:

the font Verdana comes up as "DejaVu Sans" "Book" which is wrong.

No, it is not. DejaVu Sans replaces Verdana when the free collection of fonts is used. As you are using MS fonts, run 'fc-presets set' and hit "3" when prompted to choose the number.

@skuda, what fonts are you using: free, Microsoft's or a custom collection? Which fonts are being misused in particular?

fc-match get "Noto Sans" and "Noto Serif" for too many things

What does "too many" mean? Do you have fonts being replaced by Noto family actually installed locally?

Check out 'fc-presets' that comes with fontconfig-iu and see if your font collection was set up correctly.  Please, refer to infinality-bundle Wiki article for details.


:: Registered Linux User No. 223384

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

Offline

#936 2014-03-11 16:14:47

skuda
Member
Registered: 2010-11-29
Posts: 9

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

@bohoomil Thanks, I was using custom collection but i had to set it another time to have my fonts working as expected, anyway it seems that fc-presets check detection is broken:

# fc-presets set
1) custom
2) ms
3) free
4) reset
5) quit
Enter your choice... 1
[ custom ] preset chosen...
Done.

# fc-presets check
[ custom ] is not set
:: Run <fc-presets help> for more information.
[ ms ] is not set
:: Run <fc-presets help> for more information.
[ free ] is not set
:: Run <fc-presets help> for more information.

The file /etc/fonts/conf.d/35-repl-custom.conf owned by fontconfig-infinality-ultimate 2.11.0-22 is creating the seventh "-custom.conf" file in /etc/fonts/conf.d.

Thank you for this great package and the repo, my desktop it is much better thanks to it smile

Offline

#937 2014-03-11 16:35:27

Nektarios
Member
Registered: 2013-02-19
Posts: 90

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

bohoomil wrote:

@Nektarios

No, it is not. DejaVu Sans replaces Verdana when the free collection of fonts is used. As you are using MS fonts, run 'fc-presets set' and hit "3" when prompted to choose the number.

Fixed. Thanks

Offline

#938 2014-03-11 18:33:17

lahwaacz
Wiki Admin
From: Czech Republic
Registered: 2012-05-29
Posts: 762

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

As others, I have noticed these "strange" issues after recent updates:
- monospace font is much smaller than before and "monospace 9" is smaller than "normal 9"
- kerning is applied to monospace text in Firefox, i.e. it is no longer "monospaced" (see screenshot, notice words "infinality" or "unofficial")
screenshot_2014_03_11_19_20_08.jpg

Some questions:
- How do I reset the font size back to "normal"? Sorry, I'm not really into fonts and under time pressure...
- If the change was intentional, is there some announcement I have missed? I would like to avoid this in the future.

Edit: I think that I have identified the problem:

$ fc-match monospace
texgyrecursor-regular.otf: "TeX Gyre Cursor" "Regular"

whereas before the update it was

$ fc-match monospace
DejaVuSansMono.ttf: "DejaVu Sans Mono" "Book"

For now I just edited '/etc/fonts/conf.d/60-latin-free.conf' and corrected the ordering, but I will need to make this persistent.

Last edited by lahwaacz (2014-03-11 18:45:26)

Offline

#939 2014-03-11 19:17:43

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

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

lahwaacz wrote:

I think that I have identified the problem:

$ fc-match monospace
texgyrecursor-regular.otf: "TeX Gyre Cursor" "Regular"

whereas before the update it was

$ fc-match monospace
DejaVuSansMono.ttf: "DejaVu Sans Mono" "Book"

For now I just edited '/etc/fonts/conf.d/60-latin-free.conf' and corrected the ordering, but I will need to make this persistent.

None of the above is true by default. When I run the command, I get

$ fc-match monospace
LiberationMono-Regular.ttf: "Liberation Mono" "Regular"

which is what you should see as well.

I believe that fc-presets can solve the issue once again. Please, run it as root and first hit "4" to reset your configuration, and then "3" to set the free font collection which seems to be what you want to use. When you are done, re-run fc-match and see if the output has changed. Of course, you should always use the original 60-latin-free.conf: if you really need to customize your font configuration, use 35-repl-custom.conf as it was created to serve this purpose. For further reference, please consult the Wiki.


:: Registered Linux User No. 223384

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

Offline

#940 2014-03-11 19:54:28

lahwaacz
Wiki Admin
From: Czech Republic
Registered: 2012-05-29
Posts: 762

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

@bohoomil: I don't have the liberation font installed. Sorry, I should have mentioned earlier that I have only these fonts installed (+ those provided by texlive-* packages):

ttf-bitstream-vera
ttf-dejavu

It is a long time since I last played with infinality and fonts in general, I just did not expect the default fonts to change and was hoping for a quick fix. It appears that I will have to go through my configuration again, the wiki will do just fine. Sorry for the noise.

Offline

#941 2014-03-11 21:11:31

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

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

@lahwaacz, that is a pretty useful piece of information. I think that in order to minimize the configuration headache, you should install the following font packages from my infinality-bundle-fonts repository:

  • ibfonts-meta-base

  • otf-tex-gyre-ib

  • otf-tex-gyre-math-ibx (optionally)

  • either t1-dejavu-ib or ttf-dejavu-ibx

Remove 'ttf-bitstream-vera' as DejaVu family provides the exact same content as Bitstream fonts which should not be used in most setups.

This will allow you to use the exact setup you have been using so far plus a few necessary dependencies.


:: Registered Linux User No. 223384

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

Offline

#942 2014-03-11 21:37:20

lahwaacz
Wiki Admin
From: Czech Republic
Registered: 2012-05-29
Posts: 762

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

@bohoomil: Actually, the only font relevant for me is DejaVu, Bitstream is installed as a dependency for Chromium (I'm trying to get rid of it anyway) and TeX Gyre is provided by texlive-core, so for me there is no (easy) way to get rid of it. I'm not using it for desktop, this is actually the first time I noticed it (I don't know if TeX Live uses it by default, otherwise I don't use it at all).

I will look at my configuration thoroughly when I get some more time, perhaps this weekend. Thanks for the tips smile

Offline

#943 2014-03-11 21:45:48

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

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

lahwaacz wrote:

TeX Gyre is provided by texlive-core, so for me there is no (easy) way to get rid of it.

This is not a problem: just do not install my package and use fonts provided by TeX Live (a relevant fontconfig config file is installed with the Arch package).

Chromium requires ttf-font as a dependency, which can be Bitstream or a few other typefaces. Anything you will ever need to run Chromium you will get by installing 'ibfonts-meta-base' (tested and proved to be working many times) wink .

Edit Do not forget to replace your /etc/profile.d/infinality-settings.sh with the most recent one (version 0.4.7.3, it should have the date stamp 'March 7, 12:41')!

Last edited by bohoomil (2014-03-11 22:15:05)


:: Registered Linux User No. 223384

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

Offline

#944 2014-03-12 08:24:52

rumpelsepp
Member
From: Bavaria
Registered: 2012-11-13
Posts: 105
Website

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

bohoomil wrote:

@rumpelsepp, this is something about the UI font you are using. With Source Sans Pro 9 everything is fine: FF search box.

Hmm no idea why, but it has been fixed with the most recent update...


Every time I see some piece of medical research saying that caffeine is good for you, I high-five myself. Because I'm going to live forever. -- Torvalds, Linus (2010-08-03).

Offline

#945 2014-03-12 10:38:37

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

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

Quickly sharing a pledgie campaign of the FreeType developer Werner Lernberg:

https://pledgie.com/campaigns/24434/

Offline

#946 2014-03-13 06:39:26

martinjh@blueyonder.co.uk
Member
From: Lancashire UK
Registered: 2013-06-06
Posts: 3

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

Using the following version of Libreoffice:

extra/libreoffice-calc 4.1.5-1 (libreoffice) [installed]
extra/libreoffice-common 4.1.5-1 (libreoffice) [installed]
extra/libreoffice-en-GB 4.1.5-1 [installed]
extra/libreoffice-kde4 4.1.5-1 (libreoffice) [installed]
extra/libreoffice-math 4.1.5-1 (libreoffice) [installed]
extra/libreoffice-writer 4.1.5-1 (libreoffice) [installed]

and the following version of Infinality Bundle:

infinality-bundle/cairo-infinality-ultimate 1.12.16-3 (infinality-bundle) [installed]
infinality-bundle/fontconfig-infinality-ultimate 2.11.0-22 (infinality-bundle) [installed]
infinality-bundle/freetype2-infinality-ultimate 2.5.3-2 (infinality-bundle) [installed]
infinality-bundle-fonts/otf-cantoraone-ib 1.001-2 (infinality-bundle-fonts) [installed]
infinality-bundle-fonts/otf-crimson-text-ib 0.8-2 (infinality-bundle-fonts) [installed]
infinality-bundle-fonts/otf-fira-mono-ibx 2.001-2 (infinality-bundle-fonts-extra) [installed]
infinality-bundle-fonts/otf-inconsolatazi4-ibx 1.04-4 (infinality-bundle-fonts-extra) [installed]
infinality-bundle-fonts/otf-libre-baskerville-ib 2013.09.20-1 (infinality-bundle-fonts) [installed]
infinality-bundle-fonts/otf-oswald-ib 3.0-2 (infinality-bundle-fonts) [installed]
infinality-bundle-fonts/otf-quintessential-ib 1.000-2 (infinality-bundle-fonts) [installed]
infinality-bundle-fonts/otf-vollkorn-ibx 3.001-2 (infinality-bundle-fonts-extra) [installed]
infinality-bundle-fonts/t1-cantarell-ib 2.4-2 (infinality-bundle-fonts) [installed]
infinality-bundle-fonts/t1-dejavu-ib 2.34-4 (infinality-bundle-fonts) [installed]
infinality-bundle-fonts/ttf-chromeos-ibx 1.23-5 (infinality-bundle-fonts-extra) [installed]
infinality-bundle-fonts/ttf-clear-sans-ibx 1.00-1 (infinality-bundle-fonts-extra) [installed]
infinality-bundle-fonts/ttf-liberation-ib 2.00.1-4 (infinality-bundle-fonts) [installed]
infinality-bundle-fonts/ttf-merriweather-ib 1.003-4 (infinality-bundle-fonts) [installed]
infinality-bundle-fonts/ttf-merriweather-sans-ib 1.003-4 (infinality-bundle-fonts) [installed]
infinality-bundle-fonts/ttf-noto-sans-ib 1.04-2 (infinality-bundle-fonts) [installed]
infinality-bundle-fonts/ttf-noto-serif-ib 1.02-2 (infinality-bundle-fonts) [installed]

libreoffice seems to totally ignore the infinality setup - see http://i.imgur.com/4DgYdaa.jpg for a screenshot....

Where would I start to debug this and has any one else seen this problem...?

Offline

#947 2014-03-13 11:10:29

rumpelsepp
Member
From: Bavaria
Registered: 2012-11-13
Posts: 105
Website

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

rumpelsepp wrote:
bohoomil wrote:

@rumpelsepp, this is something about the UI font you are using. With Source Sans Pro 9 everything is fine: FF search box.

Hmm no idea why, but it has been fixed with the most recent update...

Unfortunately this issue appears again, but with other letter combinations... (this one should be "file"). I use DejaVu Sans as a font. If I switch to Source Sans Pro it's gone.

Bildschirmfoto%20vom%202014-03-13%2012%3A09%3A12.png


Every time I see some piece of medical research saying that caffeine is good for you, I high-five myself. Because I'm going to live forever. -- Torvalds, Linus (2010-08-03).

Offline

#948 2014-03-13 11:51:40

rumpelsepp
Member
From: Bavaria
Registered: 2012-11-13
Posts: 105
Website

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

I am sorry to spam again, but I saw another issue. DejaVu Sans does really strange things in firefox now... I think it may be an issue with ligatures.

firefox inspector: Bildschirmfoto%20vom%202014-03-13%2012%3A49%3A07.png
rendered result: Bildschirmfoto%20vom%202014-03-13%2012%3A49%3A28.png


Every time I see some piece of medical research saying that caffeine is good for you, I high-five myself. Because I'm going to live forever. -- Torvalds, Linus (2010-08-03).

Offline

#949 2014-03-13 15:32:20

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

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

rumpelsepp wrote:

I am sorry to spam again

Just use the edit button if your post is still the most recent.  Then it won't be spam at all.  Though I would be hesitant to label the reporting of issues spam...

Offline

#950 2014-03-13 15:57:07

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

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

@rumpelsepp Unfortunately, I cannot confirm this: DejaVu Sans renders just fine for me (FF + DejaVu Sans Regular 8; I also tested it as a default sans typeface and the results were positive again). Could you please check out if using a fresh FF profile makes a difference?


:: Registered Linux User No. 223384

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

Offline

Board footer

Powered by FluxBB