View previous topic :: View next topic |
Author |
Message |
Charles Alexander n00b
Joined: 07 Nov 2005 Posts: 55
|
Posted: Tue Feb 28, 2006 10:20 pm Post subject: Helvetica won't get anti-aliased |
|
|
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 |
|
|
Vann Guru
Joined: 04 Aug 2002 Posts: 357
|
Posted: Wed Mar 01, 2006 1:42 am Post subject: |
|
|
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 |
|
|
Charles Alexander n00b
Joined: 07 Nov 2005 Posts: 55
|
Posted: Fri Mar 03, 2006 11:36 pm Post subject: |
|
|
Is there anyway to just get an antialiased helvetica? |
|
Back to top |
|
|
dek l33t
Joined: 16 May 2002 Posts: 657 Location: Germany
|
Posted: Wed Jun 07, 2006 11:53 am Post subject: |
|
|
Have you ever found a solution for this? |
|
Back to top |
|
|
yngwin Retired Dev
Joined: 19 Dec 2002 Posts: 4572 Location: Suzhou, China
|
Posted: Wed Jun 07, 2006 12:12 pm Post subject: |
|
|
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 |
|
|
dek l33t
Joined: 16 May 2002 Posts: 657 Location: Germany
|
Posted: Wed Jun 07, 2006 12:23 pm Post subject: |
|
|
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 |
|
|
dek l33t
Joined: 16 May 2002 Posts: 657 Location: Germany
|
Posted: Wed Jun 07, 2006 12:50 pm Post subject: |
|
|
That did the trick. Finally all these unreadable fonts are gone when browsing with Konqueror. Thanks again! |
|
Back to top |
|
|
widremann Veteran
Joined: 14 Mar 2005 Posts: 1314
|
Posted: Wed Jun 07, 2006 1:28 pm Post subject: |
|
|
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 |
|
|
dek l33t
Joined: 16 May 2002 Posts: 657 Location: Germany
|
Posted: Wed Jun 07, 2006 1:35 pm Post subject: |
|
|
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 |
|
|
skellr l33t
Joined: 18 Jun 2005 Posts: 975 Location: The Village, Portmeirion
|
Posted: Wed Jun 07, 2006 2:04 pm Post subject: |
|
|
That font put me over the edge once or twice.
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 |
|
|
dek l33t
Joined: 16 May 2002 Posts: 657 Location: Germany
|
Posted: Wed Jul 05, 2006 2:30 pm Post subject: |
|
|
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 |
|
|
dek l33t
Joined: 16 May 2002 Posts: 657 Location: Germany
|
Posted: Wed Jul 12, 2006 6:08 pm Post subject: |
|
|
*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 |
|
|
PaulBredbury Watchman
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Wed Jul 12, 2006 7:14 pm Post subject: |
|
|
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 |
|
|
a.forlorn Guru
Joined: 12 Aug 2005 Posts: 412 Location: Ulm, Germany
|
Posted: Wed Jul 12, 2006 7:17 pm Post subject: |
|
|
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 |
|
|
dek l33t
Joined: 16 May 2002 Posts: 657 Location: Germany
|
Posted: Wed Jul 12, 2006 7:49 pm Post subject: |
|
|
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 |
|
|
skellr l33t
Joined: 18 Jun 2005 Posts: 975 Location: The Village, Portmeirion
|
Posted: Wed Jul 12, 2006 8:54 pm Post subject: |
|
|
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 |
|
|
gkmac Guru
Joined: 19 Jan 2003 Posts: 333 Location: West Sussex, UK
|
Posted: Wed Jul 12, 2006 9:25 pm Post subject: |
|
|
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 |
|
|
dek l33t
Joined: 16 May 2002 Posts: 657 Location: Germany
|
Posted: Thu Jul 13, 2006 8:02 am Post subject: |
|
|
Thanks gkmac!
Just a small remark: it's /etc/portage/package.provided, not /etc/portage/profile/package.provided. |
|
Back to top |
|
|
PaulBredbury Watchman
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Thu Jul 13, 2006 8:06 am Post subject: |
|
|
dek, see doc re location of package.provided - it's in the "profile" subdir |
|
Back to top |
|
|
dek l33t
Joined: 16 May 2002 Posts: 657 Location: Germany
|
Posted: Thu Jul 13, 2006 8:11 am Post subject: |
|
|
Oops |
|
Back to top |
|
|
Peach Advocate
Joined: 08 Mar 2003 Posts: 3686 Location: London, UK
|
Posted: Tue Dec 06, 2011 11:41 pm Post subject: |
|
|
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 |
|
|
HumanUser n00b
Joined: 25 Oct 2013 Posts: 2
|
Posted: Fri Oct 25, 2013 3:01 pm Post subject: |
|
|
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 |
|
|
HumanUser n00b
Joined: 25 Oct 2013 Posts: 2
|
Posted: Sat Oct 26, 2013 2:07 pm Post subject: |
|
|
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 |
|
|
noisebleed Apprentice
Joined: 03 Oct 2006 Posts: 177 Location: Porto, Portugal
|
Posted: Sat Feb 08, 2014 4:31 pm Post subject: |
|
|
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 |
|
|
linuxfiend n00b
Joined: 20 Jun 2009 Posts: 2 Location: Caney, KS
|
Posted: Wed Sep 24, 2014 1:46 am Post subject: |
|
|
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 |
|
|
|