[comp.windows.x] Danish

rune.johansen%odin.re.nta.uninett@NAC.NO (Rune Henning Johansen) (08/31/90)

 > From: John_Skok_Porterfield@cup.portal.COM
 > Newsgroups: comp.windows.x
 >
 > I have a customer that needs to be able to download Danish fonts. I could
 > not find any on the tape. Can you help?

This code us is used for modifying a Norwegian text so it can be 
displayed in X.  I'm pretty sure it can be used for Danish texts 
as well.

     ...

    unsigned int i,len;
    len=strlen(str);
    for(i=0;i<len;i++)
        switch(str[i]){
            case '{' : str[i]=230; break;
            case '|' : str[i]=248; break;
            case '}' : str[i]=229; break;
            case '[' : str[i]=198; break;
            case '\\': str[i]=216; break;
            case ']' : str[i]=197; break;
            default  : break;
        }

     ...

Has  anybody  ever thought of making an international xterm with 
options for different languages?

 - Rune.