From: sbolshakov@altlinux.ru
To: community@altlinux.ru
Subject: Re: [Comm] Проблемы с русскими шрифтами в xemacs
Date: Thu, 03 Jun 2004 16:40:34 +0400
Message-ID: <m365a8q0fx.fsf@hammer.malta.altlinux.ru> (raw)
In-Reply-To: <20040603121921.A1C97E5872@master.altlinux.ru> (kuchumov@srd.mtuci.ru's message of "Thu, 3 Jun 2004 16:18:35 +0400")
>>>>> "kuchumov" == kuchumov <.> writes:
> Доброго времени суток.
> Никак не могу настроить нормальное отображение русских букв в xemacs.
> Т.е. с русским все в порядке, но русские буквы отображаются слишком
> маленьким шрифтом.
Предлагаю поместить это в ~/.Xdefaults (или ~/.Xresources ):
--- %< ---
! Поправьте под свои нужды
#define XEMACSFONT -rfx-courier-medium-r-*-*-14-*-*-*-*-*-microsoft-cp1251
#define XEMACSFONTI -rfx-courier-medium-o-*-*-14-*-*-*-*-*-microsoft-cp1251
#define XEMACSFONTB -rfx-courier-bold-r-*-*-14-*-*-*-*-*-microsoft-cp1251
#define XEMACSFONTBI -rfx-courier-bold-o-*-*-14-*-*-*-*-*-microsoft-cp1251
#define XEMACSMENUFONT -rfx-helvetica-medium-r-*-*-12-*-*-*-*-*-microsoft-cp1251
#define XEMACSMENUFONTB -rfx-helvetica-bold-r-*-*-12-*-*-*-*-*-microsoft-cp1251
XEmacs*font: XEMACSFONT
XEmacs.default.attributeFont: XEMACSFONT
XEmacs.italic.attributeFont: XEMACSFONTI
XEmacs.bold.attributeFont: XEMACSFONTB
XEmacs.bold-italic.attributeFont: XEMACSFONTBI
! Опционально
XEmacs*Label.font: XEMACSFONT
XEmacs*menubar*font: XEMACSMENUFONTB
XEmacs*popup*Font: XEMACSMENUFONT
XEmacs*Dialog*Font: XEMACSFONT
XEmacs.gui-element.attributeFont: XEMACSMENUFONTB
--- %< ---
Это в ~/.xemacs/init.el :
--- %< ---
(MULElaunch
(set-language-environment "Cyrillic-Win")
(set-charset-registry 'ascii "windows-1251")
(set-charset-registry 'latin-iso8859-1 "windows-1251")
(set-charset-registry 'cyrillic-iso8859-5 "windows-1251")
(set-charset-ccl-program 'cyrillic-iso8859-5 'ccl-encode-windows1251)
(put-charset-property 'cyrillic-iso8859-5 'preferred-coding-system 'windows-1251)
(define-coding-system-alias 'cp1251 'windows-1251)
)
--- %< ---
Пишу с головы, сам не пробовал.
--
next prev parent reply other threads:[~2004-06-03 12:40 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-03 12:18 Кучумов А.А.
2004-06-03 12:40 ` sbolshakov [this message]
2004-06-08 10:42 ` [Comm] Проблемы с русскими шрифтами вxemacs Кучумов А.А.
2004-06-08 10:59 ` sbolshakov
2004-06-08 16:11 ` Кучумов А.А.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m365a8q0fx.fsf@hammer.malta.altlinux.ru \
--to=sbolshakov@altlinux.ru \
--cc=community@altlinux.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git