Hi, Gary Zhang a écrit : > Hi Jehan, > > I test mrxvt05utf8 on my non-utf8 (big5) system mandriva 2009.0. I > hope you can use the format of -xftfn or -xftpfn like this > > -xftfn 'DejaVu Sans Mono-10,MingLiU-12' >
That's interesting. Unfortunately it does not seem to work. Except that I added the possibility to have several fonts in xftfn (note that I haven't added this in the 'xftpfn', which is anyway only used for tabs title... So it is not prioritary), I did not change the way they are loaded. And when I tried to add the font as you propose, I get: [EMAIL PROTECTED] ~ $ mrxvt -xftfn 'Bitstream Vera Sans Mono-12' Debug mask: 0x00000000, debug level: 1 Cannot open font 'Bitstream Vera Sans Mono-12'. Using font 'Bitstream Vera Sans' instead. But I will study how to do this as soon as it will be stable. > The number after the dash means the size of the previous font, So > -xftsz does not need any more. It is good to copy the format described > in the part of fluxbox's manual "fluxstyle" having more specific > instruction. It is necessary to set different size of fonts, because > the display of same sized fonts are different. (some are smaller) > I don't know this manual but will take a look later on. > Compraring the two screenshots screenshot-14488.png taked in 0.5.4 and > screenshot-14556.png taked in utf8 branch, you can see mrxvt05utf8 > messes up the width of words regardless of the encoding of b.txt. > What are you supposed to get exactly from this file? Are you supposed to have some nice looking ASCII art or something similar? $ file b.txt b.txt: ISO-8859 text, with escape sequences So I tried to run mrxvt (utf-8 branch) with a ISO-8859 locale (to be accurate, I tested with both a ISO-8859-1 and a ISO-8859-15 encoding). And in both tests, I got exactly what you get in image screenshot-14488.png (which is if I understand, what you get also in the 0.5.4 normal branch). Moreover I get the same thing with xterm for instance. But it is true that when using a UTF-8 locale, it does not get your file... I will look at it to see if there may be some stuffs specific to ISO-8859 encoding which may sucks when mrxvt thinks they can be UTF-8. By the way, it is not mrxvt job to "reencode" files. If ever the file is in a completely different encoding as yours, the terminal console does not have to do anything about this. YOU, as the user, have to reencode the file. A terminal console just expects to get anything in the system encoding and is expected to send anything in this same encoding. > You can try to run "telnet ptt.cc" in mrxvt05utf8. I have to press any > key to continue displaying the login screen, but this bug does not > exist in 0.5.4. Yes, I will look why it stops like this... ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Materm-devel mailing list Materm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/materm-devel mrxvt home page: http://materm.sourceforge.net