On Sun, Oct 05, 2008 at 09:35:28PM +0200, Jehan wrote: > ok from what everyone told me on different side of the font > characteristics, as well as what I read here and there, here is how I > think it can be for mrxvt. I intend to do it in two steps: > > 1/ remove the distinction font/multifont. This is a false notion, it > does not really exist. There is a distinction between fixed-width and > proportional fonts, but this has nothing to do with the encoding being > multibyte or not. Even in simple ASCII, fonts can be with-variable > (usually the smaller is 'i' and the wider is 'W' in proportional > ASCII). At the opposite, some asian characters can be small as ASCII > characters.
Hmm. I don't think you should do this. From what I read, it looks like people use "font" to display regular text, and "multifont" for CJK (because it looks better for some reason). There are proportional fonts in mrxvt, but are used to draw tab titles, etc. If you feed a proportional font to mrxvt, then it computes the width of the widest char, and draws *all* characters that wide. Multi font is so that you can have one font for English, another for CJK for purely aesthetic reasons. Nothing to do with char width. Don't remove it unless you really have to (and get the blessing of the avid multi-char mrxvt users). > 2/ it is possible that there is some cases where you may want to mix > fonts. For instance, during my tests, I found some fonts with japanese > characters and ASCII (of course), but without the ISO-8859-1 > characters (like the 'é', and all accented characters we use so much > in French). Moreover if someone wants to mix arab, japanese and greek > in the same text, I guess he will hardly find a single font supporting > all of this. > > For this, I think it must be possible to select a list of fonts, > ordered by preference, so that during display, if the character you > need isn't found in the first font, you go to the second, and so on. > > In my idea, is that I will do the step 1 now for the first release. > Then when I will have something working well this way, I will study > the multiple font option... Is it ok for you? This suggestion is very nice, and will work a lot better than the mfont option. I suggest however you *DON'T* only do step 1. Only release when you have 1 and 2 together. Doing 1 only for a SVN release is OK, but probably not for a beta release! GI -- 100 THINGS I'D DO IF I EVER BECAME AN EVIL OVERLORD 11. I will be secure in my superiority. Therefore, I will feel no need to prove it by leaving clues in the form of riddles or leaving my weaker enemies alive to show they pose no threat.
pgpfMxTg7wm7W.pgp
Description: PGP signature
------------------------------------------------------------------------- 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