You are not logged in.

#26 2013-10-17 19:18:53

prash
Member
Registered: 2011-08-18
Posts: 57

Re: Distorted fonts

acrox999 wrote:
bohoomil wrote:

@acrox999, a link to a valid screenshot, please?

I can't, it gets 'fixed' once I press the screenshot. I'll grab one from my phone when I can. But then again, I think it might be the radeon graphics driver. I've been having these weird artifacts ever since I switched to glamor from EXA. I'll switch to EXA later and see how it goes.

Is it anything like this:

2XJbGsEl.png

(Konsole is to the left, and urxvt is to the right. I have printed a bunch of "#" characters with python.

For me, it happens most often in urxvt, and never in konsole. Thunderbird, chrome, and a few other programs have this problem too. But I have never seen this problem in KDE programs.

Offline

#27 2013-10-18 19:08:41

nu_kru
Member
Registered: 2009-12-14
Posts: 7

Re: Distorted fonts

heftig wrote:

We used to unconditionally replace Helvetica with Arial, but that's a wrong thing to do™ (see https://bugs.archlinux.org/task/25499 ). To get a nicer display, either:

- Install tex-gyre-fonts and enable 70-no-bitmaps.conf; This uses TeX Gyre Heros, a metric-compatible Helvetica replacement

- Install tex-gyre-fonts and uninstall xorg-fonts-{75,100}dpi; This uses TeX Gyre Heros, a metric-compatible Helvetica replacement

- Install ttf-liberation and grab 29-replace-bitmap-fonts.conf from the older fontconfig package; This uses Liberation Sans, an Arial replacement, but not metric-compatible with Helvetica

Thanks!! These solutions work, but I do not know why there are pages that are rare firefox (another typeface) and rekonq all good

example with tex-gyre-fonts and uninstall xorg-fonts-{75,100}dpi;

firefox
http://i.imgur.com/Q8BbG9q.png

Rekonq:
http://i.imgur.com/aPTLgEP.png

Last edited by nu_kru (2013-10-18 19:20:43)

Offline

#28 2013-10-19 07:46:52

fdservices
Member
From: France
Registered: 2012-02-06
Posts: 413

Re: Distorted fonts

Thanks, this is very useful! Maybe add these advices to the wiki?

And perhaps an update note next time something fundamental changes in a package?

Andrew

Offline

#29 2013-10-19 08:25:56

jcristovao
Member
Registered: 2013-10-14
Posts: 10

Re: Distorted fonts

I would just like to thank you all for the solutions provided.

I ended up using heftig third solution (29-replace-bitmap-fonts.conf), since 70-no-bitmaps.conf implies disabling all bitmaps fonts... since I use a bitmap font on my terminal emulator, that was not an option.

Offline

#30 2013-10-19 08:38:53

fdservices
Member
From: France
Registered: 2012-02-06
Posts: 413

Re: Distorted fonts

If you do not put it in ~/.fonts.conf.d it will be deleted on the next update.

Andrew

Offline

#31 2013-10-19 22:48:25

Undeterminant
Member
Registered: 2011-12-20
Posts: 4

Re: Distorted fonts

Installing tex-gyre-fonts and uninstalling xorg-fonts-{75,100}dpi does work to eliminate the bitmap fonts, but the new TeX fonts don't seem to be hinting at all, rendering my fonts into a blurry mess.

Is there a way to get this to work without adding back the old file?

Offline

#32 2013-10-20 21:04:27

firewalker
Member
From: Hellas (Greece).
Registered: 2006-06-05
Posts: 526

Re: Distorted fonts

Is my issue with aliasing in firefox fonts related?

dxOSxxZ.png

Last edited by firewalker (2013-10-20 21:05:05)


Γίνε ρεαλιστής, μείνε ονειροπόλος ...

Offline

#33 2013-10-22 07:20:45

89c51
Member
Registered: 2012-06-05
Posts: 740

Re: Distorted fonts

firewalker wrote:

Is my issue with aliasing in firefox fonts related?

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


Same here. Is there any solution to this beside downgrading?

Offline

#34 2013-10-22 07:58:55

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

Re: Distorted fonts

firewalker wrote:

aliasing

See thread regarding ignoring bitmap fonts using fontconfig.

Offline

#35 2013-10-22 10:02:22

firewalker
Member
From: Hellas (Greece).
Registered: 2006-06-05
Posts: 526

Re: Distorted fonts

I added the following to my .config/fontconfig/fonts.conf (as fdservices suggested) and it is ok now.


<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
  <!-- Prefer Microsoft versions of PostScript fonts, as these typically render a lot better on-screen 
       30-metric-aliases.conf will then also add the free clones of these fonts -->
  <alias binding="same">
    <family>Helvetica</family>
    <prefer><family>Arial</family></prefer>
  </alias>
  <alias binding="same">
    <family>Times</family>
    <prefer><family>Times New Roman</family></prefer>
  </alias>
  <alias binding="same">
    <family>Courier</family>
    <prefer><family>Courier New</family></prefer>
  </alias>
</fontconfig>

Γίνε ρεαλιστής, μείνε ονειροπόλος ...

Offline

#36 2013-10-23 21:12:29

darose
Member
Registered: 2004-04-13
Posts: 156

Re: Distorted fonts

anthon wrote:

It doesn't seem to be the same problem. What happened to you is that the latest fonconfig package doesn't contain the file 29-replace-bitmap-fonts.conf anymore. This bug report suggests to install tex-gyre-fonts to fix this (if I understand correctly), but it didn't work for me.
So you can either recreate the file (cf fonconfig wiki to do things properly), or append its content in ~/.config/fontconfig/fonts.conf.

FYI - I've created an AUR package (https://aur.archlinux.org/packages/font … -ms-fonts/) that restores that 29-replace-bitmap-fonts.conf file and makes it available system-wide. (I.e., in /etc/fonts/conf.d/, not in the user's ~/.config/fontconfig/fonts.conf)  I hate putting stray non-packaged files under the /etc/ dirtree.

Hope this is helpful to someone.

Offline

Board footer

Powered by FluxBB