From cb0ce5fa5f42bfaea4f8f326bcd8914dd14e782d Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Thu, 1 Nov 2012 12:43:45 +0100 Subject: ida: strip font list, enable utf8 locale --- Ida.ad | 13 ++++--------- ida.c | 4 +++- 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/Ida.ad b/Ida.ad index 3717f14..efbcc88 100644 --- a/Ida.ad +++ b/Ida.ad @@ -8,18 +8,15 @@ -*-lucida-medium-r-normal-*-*-140-*-*-p-*-*-*, \ -*-liberation sans-medium-r-normal-*-*-140-*-*-p-*-*-*, \ -*-*-medium-r-normal-*-*-140-*-*-p-*-*-*, \ - -*-*-medium-r-normal-*-*-160-*-*-p-*-*-*, \ - -*-*-*-*-*-*-*-140-*-*-*-*-*-*, \ - -*-*-*-*-*-*-*-160-*-*-*-*-*-*, * + -*-*-medium-r-normal-*-*-160-*-*-p-*-*-*, * + *renderTable.small.fontType: FONT_IS_FONTSET *renderTable.small.fontName: \ -*-helvetica-medium-r-normal-*-*-100-*-*-p-*-*-*, \ -*-lucida-medium-r-normal-*-*-100-*-*-p-*-*-*, \ -*-liberation sans-medium-r-normal-*-*-100-*-*-p-*-*-*, \ -*-*-medium-r-normal-*-*-100-*-*-p-*-*-*, \ - -*-*-medium-r-normal-*-*-120-*-*-p-*-*-*, \ - -*-*-*-*-*-*-*-100-*-*-*-*-*-*, \ - -*-*-*-*-*-*-*-120-*-*-*-*-*-*, * + -*-*-medium-r-normal-*-*-120-*-*-p-*-*-*, * *XmTextField.renderTable: *XmTextField.renderTable.fontType: FONT_IS_FONTSET @@ -28,9 +25,7 @@ -*-lucidatypewriter-medium-r-normal-*-*-140-*-*-m-*-*-*, \ -*-liberation mono-medium-r-normal-*-*-140-*-*-*-*-*-*, \ -*-*-medium-r-normal-*-*-140-*-*-m-*-*-*, \ - -*-*-medium-r-normal-*-*-160-*-*-m-*-*-*, \ - -*-*-*-*-*-*-*-140-*-*-*-*-*-*, \ - -*-*-*-*-*-*-*-160-*-*-*-*-*-*, * + -*-*-medium-r-normal-*-*-160-*-*-m-*-*-*, * *background: gray77 diff --git a/ida.c b/ida.c index 65e1d0a..520cf42 100644 --- a/ida.c +++ b/ida.c @@ -1816,6 +1816,7 @@ main(int argc, char *argv[]) struct stat st; Pixel background; +#if 0 setlocale(LC_ALL,""); if (0 == strcasecmp("utf-8", nl_langinfo(CODESET))) { /* ### FIXME ### @@ -1824,7 +1825,8 @@ main(int argc, char *argv[]) setenv("LC_ALL", "POSIX", 1); setlocale(LC_ALL,""); } - +#endif + binary = argv[0]; ida_init_config(); ida_read_config(); -- cgit