Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Helvetica won't get anti-aliased
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Charles Alexander
n00b
n00b


Joined: 07 Nov 2005
Posts: 55

PostPosted: Tue Feb 28, 2006 10:20 pm    Post subject: Helvetica won't get anti-aliased Reply with quote

Is there a way to replace all instances of Helvetica with Arial? For some reason Helvetica is never anti-aliased on this system.
Back to top
View user's profile Send private message
Vann
Guru
Guru


Joined: 04 Aug 2002
Posts: 357

PostPosted: Wed Mar 01, 2006 1:42 am    Post subject: Reply with quote

Although you can do some trickery with fontconfig to convince it that Helevetica is actually Arial, a better way is to set it through whatever desktop environment. If you're not using a desktop environment then you'll have to set for each subset of software you use, e.g., for your GTK+ applications, for your QT application, and so forth.
Back to top
View user's profile Send private message
Charles Alexander
n00b
n00b


Joined: 07 Nov 2005
Posts: 55

PostPosted: Fri Mar 03, 2006 11:36 pm    Post subject: Reply with quote

Is there anyway to just get an antialiased helvetica?
Back to top
View user's profile Send private message
dek
l33t
l33t


Joined: 16 May 2002
Posts: 657
Location: Germany

PostPosted: Wed Jun 07, 2006 11:53 am    Post subject: Reply with quote

Have you ever found a solution for this?
Back to top
View user's profile Send private message
yngwin
Retired Dev
Retired Dev


Joined: 19 Dec 2002
Posts: 4572
Location: Suzhou, China

PostPosted: Wed Jun 07, 2006 12:12 pm    Post subject: Reply with quote

Helvetica on most X systems is a bitmap font. If you don't want to use that (like me) set the -bitmap-fonts useflag. And do
Code:
cp /etc/fonts/conf.d/no-bitmaps.conf /etc/fonts/conf.d/10-no-bitmaps.conf


Another solution would be to find a Helvetica in TTF (truetype) or OTF (open type) format and install that - that should override the bitmap. (Bitmap fonts don't get anti-aliasing, truetype and opentype do.)
_________________
"Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF
Back to top
View user's profile Send private message
dek
l33t
l33t


Joined: 16 May 2002
Posts: 657
Location: Germany

PostPosted: Wed Jun 07, 2006 12:23 pm    Post subject: Reply with quote

Thanks for your quick reply, i will give it a try.
Are there any known side effects, like apps that rely on bitmap-fonts for printing or something?
Back to top
View user's profile Send private message
dek
l33t
l33t


Joined: 16 May 2002
Posts: 657
Location: Germany

PostPosted: Wed Jun 07, 2006 12:50 pm    Post subject: Reply with quote

That did the trick. Finally all these unreadable fonts are gone when browsing with Konqueror. Thanks again!
Back to top
View user's profile Send private message
widremann
Veteran
Veteran


Joined: 14 Mar 2005
Posts: 1314

PostPosted: Wed Jun 07, 2006 1:28 pm    Post subject: Reply with quote

dek wrote:
That did the trick. Finally all these unreadable fonts are gone when browsing with Konqueror. Thanks again!

Why not just change your fonts settings in Konqueror? Seems a lot easier than trying to hunt down a Helvetica .ttf file.
Back to top
View user's profile Send private message
dek
l33t
l33t


Joined: 16 May 2002
Posts: 657
Location: Germany

PostPosted: Wed Jun 07, 2006 1:35 pm    Post subject: Reply with quote

Well, if it was that easy i wouldn't have asked. :)
Sites with font-family Helvetica as first font will use the bitmap-font regardless of the settings.
Back to top
View user's profile Send private message
skellr
l33t
l33t


Joined: 18 Jun 2005
Posts: 975
Location: The Village, Portmeirion

PostPosted: Wed Jun 07, 2006 2:04 pm    Post subject: Reply with quote

That font put me over the edge once or twice. :P
Try this in your .fonts.conf

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
Code:
</match>
 <match target="pattern" name="family" >
  <test name="family" qual="any" >
   <string>Helvetica</string>
</test>
  <edit mode="assign" name="family" >
   <string>Arial</string>
  </edit>
 </match>
</fontconfig>
Back to top
View user's profile Send private message
dek
l33t
l33t


Joined: 16 May 2002
Posts: 657
Location: Germany

PostPosted: Wed Jul 05, 2006 2:30 pm    Post subject: Reply with quote

After the upgrade to Xorg 7.0 these ugly bitmap-fonts came back. :?
Any ideas what happened to the USE flag or how to get rid of the fonts again?
Back to top
View user's profile Send private message
dek
l33t
l33t


Joined: 16 May 2002
Posts: 657
Location: Germany

PostPosted: Wed Jul 12, 2006 6:08 pm    Post subject: Reply with quote

*bump*

Rainskellr: your solution doesn't work for me. I have the feeling something is missing/wrong in your example. There's a closing match tag, but no opening. Removing it doesn't help.
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Wed Jul 12, 2006 7:14 pm    Post subject: Reply with quote

You want something like:
Code:
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>

        <!-- Replace Courier with a better-looking font -->
        <match target="pattern" name="family">
                <test name="family" qual="any">
                        <string>Courier</string>
                </test>
                <edit mode="assign" name="family">
                        <!-- Other choices - Courier New, Luxi Mono -->
                        <string>Bitstream Vera Sans Mono</string>
                </edit>
        </match>

</fontconfig>
Back to top
View user's profile Send private message
a.forlorn
Guru
Guru


Joined: 12 Aug 2005
Posts: 412
Location: Ulm, Germany

PostPosted: Wed Jul 12, 2006 7:17 pm    Post subject: Reply with quote

According to the log of fotcache, changes have to be applied to /etc/fonts/local.conf. But alas it still doesnt make it work for me.
_________________
Gentoo update is sometimes harder than it should.
Back to top
View user's profile Send private message
dek
l33t
l33t


Joined: 16 May 2002
Posts: 657
Location: Germany

PostPosted: Wed Jul 12, 2006 7:49 pm    Post subject: Reply with quote

Same here. :/

What packages are the bitmap fonts in? Not installing them at all with Xorg-6.8 was perfect for me.
Back to top
View user's profile Send private message
skellr
l33t
l33t


Joined: 18 Jun 2005
Posts: 975
Location: The Village, Portmeirion

PostPosted: Wed Jul 12, 2006 8:54 pm    Post subject: Reply with quote

dek wrote:
Rainskellr: your solution doesn't work for me. I have the feeling something is missing/wrong in your example. There's a closing match tag, but no opening. Removing it doesn't help.

Yeah that was a bad cut to get the relevant art of the config file, screwy tag and such. :? sorry about that.
It's no longer working for me either. I'll mess around with it some more today.

a.forlorn wrote:
According to the log of fotcache, changes have to be applied to /etc/fonts/local.conf. But alas it still doesnt make it work for me.

There is also info in fontconfig.
http://fontconfig.org/fontconfig-user.html
Back to top
View user's profile Send private message
gkmac
Guru
Guru


Joined: 19 Jan 2003
Posts: 333
Location: West Sussex, UK

PostPosted: Wed Jul 12, 2006 9:25 pm    Post subject: Reply with quote

It seems that qt-3.3 stubbornly refuses to respect any fonts.conf substitutions unless Helvetica is actually missing. Bug report.

For those wishing to get rid of Helvetica in the same way as the now-vanished "bitmap-fonts" USE flag did, unmerge font-adobe-100dpi and font-adobe-75dpi. To prevent portage from pulling them back in with the next xorg update, create the file /etc/portage/profile/package.provided with these lines...
Code:
media-fonts/font-adobe-100dpi-1.0.0
media-fonts/font-adobe-75dpi-1.0.0
Back to top
View user's profile Send private message
dek
l33t
l33t


Joined: 16 May 2002
Posts: 657
Location: Germany

PostPosted: Thu Jul 13, 2006 8:02 am    Post subject: Reply with quote

Thanks gkmac!
Just a small remark: it's /etc/portage/package.provided, not /etc/portage/profile/package.provided.
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Thu Jul 13, 2006 8:06 am    Post subject: Reply with quote

dek, see doc re location of package.provided - it's in the "profile" subdir :wink:
Back to top
View user's profile Send private message
dek
l33t
l33t


Joined: 16 May 2002
Posts: 657
Location: Germany

PostPosted: Thu Jul 13, 2006 8:11 am    Post subject: Reply with quote

Oops :oops:
Back to top
View user's profile Send private message
Peach
Advocate
Advocate


Joined: 08 Mar 2003
Posts: 3686
Location: London, UK

PostPosted: Tue Dec 06, 2011 11:41 pm    Post subject: Reply with quote

really old post, but worth an update:
Code:
# eselect fontconfig enable 70-no-bitmaps.conf


enjoy.
_________________
Gentoo user since 2004.
"It's all fun and games, until someone loses an eye" - mom
Back to top
View user's profile Send private message
HumanUser
n00b
n00b


Joined: 25 Oct 2013
Posts: 2

PostPosted: Fri Oct 25, 2013 3:01 pm    Post subject: Reply with quote

Peach wrote:
really old post, but worth an update:
Code:
# eselect fontconfig enable 70-no-bitmaps.conf


enjoy.


yes, really old. But very useful

thanks you very much, Peach! You made my day with this :)
Back to top
View user's profile Send private message
HumanUser
n00b
n00b


Joined: 25 Oct 2013
Posts: 2

PostPosted: Sat Oct 26, 2013 2:07 pm    Post subject: Reply with quote

HumanUser wrote:
Peach wrote:
really old post, but worth an update:
Code:
# eselect fontconfig enable 70-no-bitmaps.conf


enjoy.


yes, really old. But very useful

thanks you very much, Peach! You made my day with this :)


Hello every one. After this action i have good fonts in browser, but now i have another big problem to me.

I'm using gnome-terminal and now i cant choose terminus font in it. It just missing after this :(

How can i bring it back?
Back to top
View user's profile Send private message
noisebleed
Apprentice
Apprentice


Joined: 03 Oct 2006
Posts: 177
Location: Porto, Portugal

PostPosted: Sat Feb 08, 2014 4:31 pm    Post subject: Reply with quote

Peach wrote:
really old post, but worth an update:
Code:
# eselect fontconfig enable 70-no-bitmaps.conf


enjoy.


Peach, thank you. Really. Very very useful tip. After a lot of searching this was the trick that did it for me. Have a nice day ;)
_________________
Please add [SOLVED] to the subject line if the posted issue is resolved.
Back to top
View user's profile Send private message
linuxfiend
n00b
n00b


Joined: 20 Jun 2009
Posts: 2
Location: Caney, KS

PostPosted: Wed Sep 24, 2014 1:46 am    Post subject: Reply with quote

Peach wrote:
really old post, but worth an update:
Code:
# eselect fontconfig enable 70-no-bitmaps.conf


enjoy.


This really saved my sanity. Thanks!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum