public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] X bitmap fonts and UTF-8
@ 2009-10-14 14:00 DPX-Infinity
  2009-10-14 16:13 ` [gentoo-user] " walt
  2009-10-14 19:07 ` walt
  0 siblings, 2 replies; 11+ messages in thread
From: DPX-Infinity @ 2009-10-14 14:00 UTC (permalink / raw
  To: gentoo-user

Hi.
I have some strange problem with X fonts (not freetype). I installed
xmonad, dzen2 and dmenu and configured the last two to use font
-xos4-terminus-medium-*-*-*-12-*-*-*-*-*-iso10646-1 (but I have this
problem in other fonts too) because I need the unicode for correct
display of russian letters (i have ru_RU.UTF-8 locale, so koi8-r is
not my option). But russian text looks very strange. The text from
xmonad (for example, window captions) contains one symbol per one
russian letter, but it is not correct - something like 0?8A0BL ?8AL<>
. In the text in dmenu (or in dzen2 when I pipe output from echo to it
on the console) the letters are not displayed as hieroglyphs or
strange symbols; each letter consists of an ' (apostrophe sign) and
one symbol from ASCII table from Q up to q (33 chars totally). I have
found no correspondence between UTF-8 bytes and these pairs (but the
first byte in russian letters is also the same). The same
configuration of xmonad and dzen2 on my other machine (ubuntu) works
perfectly, and the text in xterm and emacs also looks very well. What
can this be?
Sorry for my bad language if it is such :)



^ permalink raw reply	[flat|nested] 11+ messages in thread

* [gentoo-user]  Re: X bitmap fonts and UTF-8
  2009-10-14 14:00 [gentoo-user] X bitmap fonts and UTF-8 DPX-Infinity
@ 2009-10-14 16:13 ` walt
  2009-10-14 17:02   ` DPX-Infinity
  2009-10-14 19:07 ` walt
  1 sibling, 1 reply; 11+ messages in thread
From: walt @ 2009-10-14 16:13 UTC (permalink / raw
  To: gentoo-user

On 10/14/2009 07:00 AM, DPX-Infinity wrote:
> Hi.
> I have some strange problem with X fonts (not freetype). I installed
> xmonad, dzen2 and dmenu and configured the last two to use font
> -xos4-terminus-medium-*-*-*-12-*-*-*-*-*-iso10646-1 (but I have this
> problem in other fonts too) because I need the unicode...

Do you have the 'unicode' USE flag set?  I think it may be on by default,
but I'm not sure.




^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] Re: X bitmap fonts and UTF-8
  2009-10-14 16:13 ` [gentoo-user] " walt
@ 2009-10-14 17:02   ` DPX-Infinity
  0 siblings, 0 replies; 11+ messages in thread
From: DPX-Infinity @ 2009-10-14 17:02 UTC (permalink / raw
  To: gentoo-user

Yes, of course. There are unicode and utf8 in make.conf and
UNICODE="yes" in rc.conf.

2009/10/14 walt <w41ter@gmail.com>:
> On 10/14/2009 07:00 AM, DPX-Infinity wrote:
>> Hi.
>> I have some strange problem with X fonts (not freetype). I installed
>> xmonad, dzen2 and dmenu and configured the last two to use font
>> -xos4-terminus-medium-*-*-*-12-*-*-*-*-*-iso10646-1 (but I have this
>> problem in other fonts too) because I need the unicode...
>
> Do you have the 'unicode' USE flag set?  I think it may be on by default,
> but I'm not sure.
>
>
>



^ permalink raw reply	[flat|nested] 11+ messages in thread

* [gentoo-user]  Re: X bitmap fonts and UTF-8
  2009-10-14 14:00 [gentoo-user] X bitmap fonts and UTF-8 DPX-Infinity
  2009-10-14 16:13 ` [gentoo-user] " walt
@ 2009-10-14 19:07 ` walt
  2009-10-14 19:17   ` DPX-Infinity
  1 sibling, 1 reply; 11+ messages in thread
From: walt @ 2009-10-14 19:07 UTC (permalink / raw
  To: gentoo-user

On 10/14/2009 07:00 AM, DPX-Infinity wrote:
> Hi.
> I have some strange problem with X fonts (not freetype). I installed
> xmonad, dzen2 and dmenu and configured the last two to use font
> -xos4-terminus-medium...

If that font is part of the terminus-font package, there are quite a
few USE flags that may be important for you:

#equery u terminus-font
[ Searching for packages matching terminus-font... ]
[ Colour Code : set unset ]
[ Legend : Left column  (U) - USE flags from make.conf              ]
[        : Right column (I) - USE flags packages was installed with ]
[ Found these USE variables for media-fonts/terminus-font-4.28 ]
 U I
 + + X             : Adds support for X11
 - - a-like-o      : Changes view of letter 'a' - a looks like o (see homepage)
 - - bolddiag      : Boldified diagonal parts of '4', 'k', 'x' and some other chars
 - + pcf           : Intall Portable Compiled Font (PCF) (required for X11)
 - + psf           : Install PC Screen Font (PSF) with unicode data (for linux console)
 - - quote         : Changes view of quotes: symmetric ` and ' instead of asymmetric one (see homepage)
 - - raw-font-data : Install RAW font data which should be compatible with most UNIX systems (you don't need this on linux)
 - - ru-dv         : Changes view of Russian letters 'de' and 've' (see homepage)
 - + ru-g          : Changes view of Russian letter 'ge' (see homepage)
 - - ru-i          : Changes view of Russian letter 'i' - not like Latin u, but like "mirrored" N (see homepage)
 - - ru-k          : Changes view of Russian letter 'k' (see homepage)
 - - width         : Wider versions of some font elements




^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] Re: X bitmap fonts and UTF-8
  2009-10-14 19:07 ` walt
@ 2009-10-14 19:17   ` DPX-Infinity
  2009-10-14 19:33     ` walt
  0 siblings, 1 reply; 11+ messages in thread
From: DPX-Infinity @ 2009-10-14 19:17 UTC (permalink / raw
  To: gentoo-user

Here are mine: Installed versions:  4.28(23:40:35 09.10.2009)(X pcf
psf ru-dv ru-g ru-i -a-like-o -bolddiag -quote -raw-font-data -ru-k
-width)

But I think USE-flags aren't connected with this strange behaviour. I
already said, that russian letters are not displayed in every font,
including misc-fixed, for example. I also tried original (from
official site) fonts, but the result was the same. Definitely fonts
are not the reason.



^ permalink raw reply	[flat|nested] 11+ messages in thread

* [gentoo-user]  Re: X bitmap fonts and UTF-8
  2009-10-14 19:17   ` DPX-Infinity
@ 2009-10-14 19:33     ` walt
  2009-10-14 19:41       ` DPX-Infinity
  0 siblings, 1 reply; 11+ messages in thread
From: walt @ 2009-10-14 19:33 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 588 bytes --]

On 10/14/2009 12:17 PM, DPX-Infinity wrote:
> Here are mine: Installed versions:  4.28(23:40:35 09.10.2009)(X pcf
> psf ru-dv ru-g ru-i -a-like-o -bolddiag -quote -raw-font-data -ru-k
> -width)
> 
> But I think USE-flags aren't connected with this strange behaviour. I
> already said, that russian letters are not displayed in every font,
> including misc-fixed, for example. I also tried original (from
> official site) fonts, but the result was the same. Definitely fonts
> are not the reason.

I've attached a screencap of what I see using misc-fixed.  Do you see
something different?

[-- Attachment #2: xfontsel.png --]
[-- Type: image/png, Size: 8903 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] Re: X bitmap fonts and UTF-8
  2009-10-14 19:33     ` walt
@ 2009-10-14 19:41       ` DPX-Infinity
  2009-10-18 16:53         ` DPX-Infinity
  0 siblings, 1 reply; 11+ messages in thread
From: DPX-Infinity @ 2009-10-14 19:41 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 689 bytes --]

No, they are entirely same.

2009/10/14 walt <w41ter@gmail.com>:
> On 10/14/2009 12:17 PM, DPX-Infinity wrote:
>> Here are mine: Installed versions:  4.28(23:40:35 09.10.2009)(X pcf
>> psf ru-dv ru-g ru-i -a-like-o -bolddiag -quote -raw-font-data -ru-k
>> -width)
>>
>> But I think USE-flags aren't connected with this strange behaviour. I
>> already said, that russian letters are not displayed in every font,
>> including misc-fixed, for example. I also tried original (from
>> official site) fonts, but the result was the same. Definitely fonts
>> are not the reason.
>
> I've attached a screencap of what I see using misc-fixed.  Do you see
> something different?
>

[-- Attachment #2: xfontsel.png --]
[-- Type: image/png, Size: 12952 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] Re: X bitmap fonts and UTF-8
  2009-10-14 19:41       ` DPX-Infinity
@ 2009-10-18 16:53         ` DPX-Infinity
  2009-10-18 19:23           ` Alan McKinnon
  0 siblings, 1 reply; 11+ messages in thread
From: DPX-Infinity @ 2009-10-18 16:53 UTC (permalink / raw
  To: gentoo-user

So, nobody knows what can this be? I even tried to recompile dmenu
with Xutf8* functions instead of Xmb*, and this didn't help.



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] Re: X bitmap fonts and UTF-8
  2009-10-18 16:53         ` DPX-Infinity
@ 2009-10-18 19:23           ` Alan McKinnon
  2009-10-18 19:39             ` walt
  0 siblings, 1 reply; 11+ messages in thread
From: Alan McKinnon @ 2009-10-18 19:23 UTC (permalink / raw
  To: gentoo-user

On Sunday 18 October 2009 18:53:29 DPX-Infinity wrote:
> So, nobody knows what can this be? I even tried to recompile dmenu
> with Xutf8* functions instead of Xmb*, and this didn't help.
> 

Unfortunately, I (and by "I" I mean "we") haven't the foggiest idea what you 
are on about. What exactly is it that you are trying to do or want an answer 
to? 

It works like this:

You give information, we give answers. You left out the first step.

-- 
alan dot mckinnon at gmail dot com



^ permalink raw reply	[flat|nested] 11+ messages in thread

* [gentoo-user]  Re: X bitmap fonts and UTF-8
  2009-10-18 19:23           ` Alan McKinnon
@ 2009-10-18 19:39             ` walt
  2009-10-18 19:59               ` Alan McKinnon
  0 siblings, 1 reply; 11+ messages in thread
From: walt @ 2009-10-18 19:39 UTC (permalink / raw
  To: gentoo-user

On 10/18/2009 12:23 PM, Alan McKinnon wrote:
> On Sunday 18 October 2009 18:53:29 DPX-Infinity wrote:
>> So, nobody knows what can this be? I even tried to recompile dmenu
>> with Xutf8* functions instead of Xmb*, and this didn't help.
>>
> 
> Unfortunately, I (and by "I" I mean "we") haven't the foggiest idea what you 
> are on about. What exactly is it that you are trying to do or want an answer 
> to? 
> 
> It works like this:
> 
> You give information, we give answers. You left out the first step.

He's following up to his original question of 10/14 about broken Russian
fonts.  The original is still on gmane.org (that's how I read this list).






^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user]  Re: X bitmap fonts and UTF-8
  2009-10-18 19:39             ` walt
@ 2009-10-18 19:59               ` Alan McKinnon
  0 siblings, 0 replies; 11+ messages in thread
From: Alan McKinnon @ 2009-10-18 19:59 UTC (permalink / raw
  To: gentoo-user

On Sunday 18 October 2009 21:39:07 walt wrote:
> On 10/18/2009 12:23 PM, Alan McKinnon wrote:
> > On Sunday 18 October 2009 18:53:29 DPX-Infinity wrote:
> >> So, nobody knows what can this be? I even tried to recompile dmenu
> >> with Xutf8* functions instead of Xmb*, and this didn't help.
> >
> > Unfortunately, I (and by "I" I mean "we") haven't the foggiest idea what
> > you are on about. What exactly is it that you are trying to do or want an
> > answer to?
> >
> > It works like this:
> >
> > You give information, we give answers. You left out the first step.
> 
> He's following up to his original question of 10/14 about broken Russian
> fonts.  The original is still on gmane.org (that's how I read this list).

That makes sense now. This lists' mail goes to my inbox, it's only filtered to 
my gentoo-user directory after I've read it. So I don't see the threading on 
new messages

-- 
alan dot mckinnon at gmail dot com



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2009-10-18 20:00 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-14 14:00 [gentoo-user] X bitmap fonts and UTF-8 DPX-Infinity
2009-10-14 16:13 ` [gentoo-user] " walt
2009-10-14 17:02   ` DPX-Infinity
2009-10-14 19:07 ` walt
2009-10-14 19:17   ` DPX-Infinity
2009-10-14 19:33     ` walt
2009-10-14 19:41       ` DPX-Infinity
2009-10-18 16:53         ` DPX-Infinity
2009-10-18 19:23           ` Alan McKinnon
2009-10-18 19:39             ` walt
2009-10-18 19:59               ` Alan McKinnon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox