Sverre Froyen | 6 Feb 15:40 2011

libX11 and the xcb option

Hi,

Would it make sense to enable the xcb option in libX11? It seems that packages 
are beginning to expect it, notably vlc.

Regards,
Sverre

matthew green | 8 Feb 02:09 2011
Picon

re: libX11 and the xcb option


> Would it make sense to enable the xcb option in libX11? It seems that packages 
> are beginning to expect it, notably vlc.

that seems like an good idea.  i don't know when i'll have time
to look at this so if someone else could that would be best.

.mrg.

Thomas Klausner | 26 Feb 12:24 2011
Picon

inconsolata not found

Hi!

I don't know exactly when it started, but a few weeks back my xterm
switched font. I didn't really think about it then, but today I tried
to track it down.

My .Xdefaults has
XTerm*faceName: Inconsolata
and I remember that that worked at one point.

I have pkgsrc/fonts/inconsolata-ttf installed, the package is called
inconsolata (I'll fix that inconsistency) and
/usr/pkg/lib/X11/fonts/TTF/Inconsolata.otf exists.
When I run fc-cache -v, I see:
...
/usr/pkg/lib/X11/fonts/TTF: skipping, existing cache is valid: 83 fonts, 0 dirs
...
but "xlsfonts | grep -i consolata" comes up empty.
There is no line for Inconsolata.otf in
/usr/pkg/lib/X11/fonts/TTF/fonts.dir. It's not a problem with the
extension, because when I rename make a link for the file to
Inconsolata.ttf, I still get no entries.

Ideas?
 Thomas

rjs | 26 Feb 16:51 2011
Picon
Picon

Re: inconsolata not found


Thomas Klausner wrote:
>I don't know exactly when it started, but a few weeks back my xterm
>switched font. I didn't really think about it then, but today I tried
>to track it down.
>
>My .Xdefaults has
>XTerm*faceName: Inconsolata
>and I remember that that worked at one point.
>
>I have pkgsrc/fonts/inconsolata-ttf installed, the package is called
>inconsolata (I'll fix that inconsistency) and
>/usr/pkg/lib/X11/fonts/TTF/Inconsolata.otf exists.
>When I run fc-cache -v, I see:
>...
>/usr/pkg/lib/X11/fonts/TTF: skipping, existing cache is valid: 83 fonts, 0 dirs
>...
>but "xlsfonts | grep -i consolata" comes up empty.
>There is no line for Inconsolata.otf in
>/usr/pkg/lib/X11/fonts/TTF/fonts.dir. It's not a problem with the
>extension, because when I rename make a link for the file to
>Inconsolata.ttf, I still get no entries.

Does your /etc/fonts/fonts.conf file (or local.conf) contain the following
line ?

        <dir>/usr/pkg/lib/X11/fonts</dir>

Recent versions of xterm will use fontconfig.

(Continue reading)

Thomas Klausner | 26 Feb 18:15 2011
Picon

Re: inconsolata not found

On Sat, Feb 26, 2011 at 03:51:10PM +0000, rjs <at> fdy2.demon.co.uk wrote:
> Does your /etc/fonts/fonts.conf file (or local.conf) contain the following
> line ?
> 
>         <dir>/usr/pkg/lib/X11/fonts</dir>

Yes.
        <dir>/usr/X11R7/lib/X11/fonts</dir>
        <dir>/usr/pkg/lib/X11/fonts</dir>
        <dir>~/.fonts</dir>
 Thomas

rjs | 26 Feb 18:32 2011
Picon
Picon

Re: inconsolata not found


Thomas Klausner wrote:
>On Sat, Feb 26, 2011 at 03:51:10PM +0000, rjs <at> fdy2.demon.co.uk wrote:
>> Does your /etc/fonts/fonts.conf file (or local.conf) contain the following
>> line ?
>> 
>>         <dir>/usr/pkg/lib/X11/fonts</dir>
>
>Yes.

I have slightly different resources to the ones you listed in the original
post.

I'm using:

XTerm.vt100.faceName:           inconsolata
XTerm.vt100.faceSize:           9

Robert Swindells

Thomas Klausner | 26 Feb 22:32 2011
Picon

Re: inconsolata not found

On Sat, Feb 26, 2011 at 05:32:35PM +0000, rjs <at> fdy2.demon.co.uk wrote:
> I have slightly different resources to the ones you listed in the original
> post.
> 
> I'm using:
> 
> XTerm.vt100.faceName:           inconsolata
> XTerm.vt100.faceSize:           9

I've tried these as well, no change.
When I set another typeface, it works (I tried with one that was
listed in xlsfonts output).

I think that the cause is rather that inconsolata isn't in the fonts
database. Do you see it in the xlsfonts output? If yes, what
opsys/release/X from base or pkgsrc?
 Thomas

rjs | 26 Feb 23:02 2011
Picon
Picon

Re: inconsolata not found


>On Sat, Feb 26, 2011 at 05:32:35PM +0000, rjs <at> fdy2.demon.co.uk wrote:
>> I have slightly different resources to the ones you listed in the original
>> post.
>> 
>> I'm using:
>> 
>> XTerm.vt100.faceName:           inconsolata
>> XTerm.vt100.faceSize:           9
>
>I've tried these as well, no change.
>When I set another typeface, it works (I tried with one that was
>listed in xlsfonts output).
>
>I think that the cause is rather that inconsolata isn't in the fonts
>database. Do you see it in the xlsfonts output? If yes, what
>opsys/release/X from base or pkgsrc?

I don't see inconsolata in the xlsfonts output, and it isn't listed
in /usr/pkg/lib/X11/fonts/TTF/fonts.dir.

I'm using:

NetBSD/i386 5.99.42
NetBSD/amd64 5.99.47 (from today)

X from base.

What cachedir tags do you have in fonts.conf ?

(Continue reading)

Thomas Klausner | 28 Feb 12:28 2011
Picon

Re: inconsolata not found

On Sat, Feb 26, 2011 at 10:02:49PM +0000, rjs <at> fdy2.demon.co.uk wrote:
> I don't see inconsolata in the xlsfonts output, and it isn't listed
> in /usr/pkg/lib/X11/fonts/TTF/fonts.dir.

Soren pointed me to fc-list, which lists Inconsolata.

I think the change was probably that xterm started honoring the font
request :)
I wanted a font that could should more of utf-8 than the latin1-only
inconsolata displays; I'm now back to
xterm*font: -misc-fixed-medium-r-normal--18-120-100-100-c-90-iso10646-1
xterm*wideFont: -misc-fixed-medium-r-normal-ja-18-120-100-100-c-180-iso10646-1

Thanks for the help!
 Thomas


Gmane