Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
fecking fonts
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Gentree
Watchman
Watchman


Joined: 01 Jul 2003
Posts: 5350
Location: France, Old Europe

PostPosted: Sun May 03, 2015 3:09 pm    Post subject: fecking fonts Reply with quote

Hi,

I have font errors from FVWM spamming the console when I start X .Fonts also look a bit odd.

I found a a recent fontconfig bug which seemed to fit the bill , so I masked back to the stable version:

echo '>=media-libs/fontconfig-2.11.93:1.0' >> /etc/portage/package.mask

A lot of the errors seem to concern lucida-bold, so I checked those packages:
Code:

#esearch -S lucida
[ Results for search key : lucida ]
[ Applications found : 2 ]

*  media-fonts/font-bh-lucidatypewriter-100dpi
      Latest version available: 1.0.3
      Latest version installed: [ Not Installed ]
      Size of downloaded files: 240 kB
      Homepage:    http://xorg.freedesktop.org/
      Description: X.Org Bigelow & Holmes Lucida bitmap fonts
      License:     public-domain

*  media-fonts/font-bh-lucidatypewriter-75dpi
      Latest version available: 1.0.3
      Latest version installed: [ Not Installed ]
      Size of downloaded files: 214 kB
      Homepage:    http://xorg.freedesktop.org/
      Description: X.Org Bigelow & Holmes Lucida bitmap fonts
      License:     public-domain
 


Huh? Strange. I thought they were installed.

Code:
bash-4.3#emp font-bh-lucidatypewriter-75dpi font-bh-lucidatypewriter-100dpi

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] media-fonts/font-bh-lucidatypewriter-75dpi-1.0.3
[ebuild   R    ] media-fonts/font-bh-lucidatypewriter-100dpi-1.0.3


WTF? they are. installed. ;?

Neither do I see anything about lucida fonts in output from
Code:
 eselect fontconfig  list



Also have errors from conky , which I suspect is a related issue.
Code:

Conky: window type - normal
Conky: drawing to created window (0x600001)
Conky: drawing to double buffer
Conky: can't load font 'Bitstream Vera Sans:size=12'
Conky: can't load font 'Bitstream Vera Sans:size=12'
Conky: can't load font 'Bitstream Vera Sans:size=12'
Conky: can't load font 'Bitstream Vera Sans:size=12'
Conky: can't load font 'Bitstream Vera Sans:size=10'
Conky: can't load font 'Bitstream Vera Sans:size=10'



[EDIT] No, that was missing use flag truetype . One less problem. ;)



Any ideas what may be going on here?

TIA, Gentree. 8)
_________________
Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86


Last edited by Gentree on Sun May 03, 2015 4:10 pm; edited 1 time in total
Back to top
View user's profile Send private message
gerard27
Advocate
Advocate


Joined: 04 Jan 2004
Posts: 2377
Location: Netherlands

PostPosted: Sun May 03, 2015 3:35 pm    Post subject: Reply with quote

Run "eupdatedb" and then try esearch again.
This problem with esearch not being up to date exists for a long time.
Gerard.
_________________
To install Gentoo I use sysrescuecd.Based on Gentoo,has firefox to browse Gentoo docs and mc to browse (and edit) files.
The same disk can be used for 32 and 64 bit installs.
You can follow the Handbook verbatim.
http://www.sysresccd.org/Download
Back to top
View user's profile Send private message
Gentree
Watchman
Watchman


Joined: 01 Jul 2003
Posts: 5350
Location: France, Old Europe

PostPosted: Sun May 03, 2015 4:03 pm    Post subject: Reply with quote

Thanks, so that explains why equery was lying to me.

I've just found out that truetype has disappeared from make.conf. Not sure when that happened, but it could explain a thing or two.
:lol:
_________________
Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86
Back to top
View user's profile Send private message
Gentree
Watchman
Watchman


Joined: 01 Jul 2003
Posts: 5350
Location: France, Old Europe

PostPosted: Sun May 03, 2015 6:27 pm    Post subject: Reply with quote

Still not out of the woods with this.

I've installed a few possible packages for the missing fonts. It made some change but now there's lot of errors about "missing font charactersets"

Maybe that's since I moved the new system to UTF-8.

Maybe a better way to resolve this would be to specify other font faces.

All the stuff in /usr/share/fonts is tarballed stuff with non-informative names.

So how to I get a list of the exact names that I can use?

Thanks for any advice.

[EDIT]

OK, I just did emerge --sync to catch all this and it seems to have straightened out. vlc-2.2.1 ( the third ebuild of the same name ) now seems to be ready to rebuild what I already have without changing the rest of the system.

Thanks for the help in seeing what was going on under the blankets.
_________________
Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86
Back to top
View user's profile Send private message
dol-sen
Retired Dev
Retired Dev


Joined: 30 Jun 2002
Posts: 2805
Location: Richmond, BC, Canada

PostPosted: Mon May 04, 2015 8:22 pm    Post subject: Reply with quote

For your esearch db, you can put a simple script in /etc/portage/postsync.d/ to run eupdatedb after every sync automatically. That way you shouldn't ever get out of sync like that again.

For newer portage, like 2.2.18, there is even a /etc/portage/repo.postsync.d that passes 3 arguments in to ever script. Those 3 args can be used to determine what actions to do, if any action at all. This is very useful to re-generate the portage cache for an overlay to help speed up portage operations.
Plus there is more that can be done.
Note: repo.postsync.d scripts are run for every repo that is synced, so they are meant to be discerning as to when they should run or just simply exit.
_________________
Brian
Porthole, the Portage GUI frontend irc@freenode: #gentoo-guis, #porthole, Blog
layman, gentoolkit, CoreBuilder, esearch...
Back to top
View user's profile Send private message
Gentree
Watchman
Watchman


Joined: 01 Jul 2003
Posts: 5350
Location: France, Old Europe

PostPosted: Tue May 05, 2015 6:26 am    Post subject: Reply with quote

[quote="Gentree"]Still not out of the woods with this.

I've installed a few possible packages for the missing fonts. It made some change but now there's lot of errors about "missing font charactersets"

Maybe that's since I moved the new system to UTF-8.

Maybe a better way to resolve this would be to specify other font faces.

All the stuff in /usr/share/fonts is tarballed stuff with non-informative names.

So how to I get a list of the exact names that I can use?

Thanks for any advice.
_________________
Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Tue May 05, 2015 8:09 am    Post subject: Reply with quote

:roll: You know, there's a reason why the configuration horror of fontconfig was written.
Back to top
View user's profile Send private message
Gentree
Watchman
Watchman


Joined: 01 Jul 2003
Posts: 5350
Location: France, Old Europe

PostPosted: Tue May 05, 2015 8:51 am    Post subject: Reply with quote

The eyeroll would seem to indicate that you consider that your terse comment answers the question or it is so obvious that it does not need answering.

Code:
 fontconfig
bash: fontconfig: command not found


Try again if have something useful.

Quote:
So how do I get a list of the exact names that I can use?


thx
_________________
Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Tue May 05, 2015 11:48 am    Post subject: Reply with quote

The eyeroll is my general opinion on mixing Truetype and xfonts (also, using apps that still depends on xfonts without a damn good reason).

'fc-list' gives you a list of available fontconfig fonts.
'fc-match -s <fontconfig font string>' will give you a list that will be returned for a given font string. The syntax of the string is given by fontconfig docs - they're a pain to read though.
Back to top
View user's profile Send private message
Gentree
Watchman
Watchman


Joined: 01 Jul 2003
Posts: 5350
Location: France, Old Europe

PostPosted: Tue May 05, 2015 12:22 pm    Post subject: Reply with quote

Thanks fc-list is help.

The whole fonts thing seems to be a historically laden mess.

The main thing I have that is causing font errors is FVWM, which I do want to use. I built it with truetype options so maybe I can avoid the bitmapped fonts if only I can find out what to change.

Unfortunately the man page is slightly longer than Tolstoy's War and Peace and a lot less readable.
:x
_________________
Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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