From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Dmitri Minaev" Newsgroups: gmane.emacs.help Subject: Re: charset problems in CVS emacs Date: Thu, 14 Feb 2008 10:07:29 +0400 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1202969291 17751 80.91.229.12 (14 Feb 2008 06:08:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 14 Feb 2008 06:08:11 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: "Peter Dyballa" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Feb 14 07:08:32 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JPXGo-0008KS-P5 for geh-help-gnu-emacs@m.gmane.org; Thu, 14 Feb 2008 07:08:31 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JPXGK-0008Hj-KG for geh-help-gnu-emacs@m.gmane.org; Thu, 14 Feb 2008 01:08:00 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JPXFs-0008GY-LA for help-gnu-emacs@gnu.org; Thu, 14 Feb 2008 01:07:32 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JPXFq-0008EX-Kf for help-gnu-emacs@gnu.org; Thu, 14 Feb 2008 01:07:31 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JPXFq-0008EL-HB for help-gnu-emacs@gnu.org; Thu, 14 Feb 2008 01:07:30 -0500 Original-Received: from wx-out-0506.google.com ([66.249.82.234]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JPXFq-0006Xb-9l for help-gnu-emacs@gnu.org; Thu, 14 Feb 2008 01:07:30 -0500 Original-Received: by wx-out-0506.google.com with SMTP id s7so255352wxc.24 for ; Wed, 13 Feb 2008 22:07:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=43zLgPS80dAUr28wuove1I38gdxOepcPhusLVV3t7ww=; b=ChPVCVUj31/ThPAmAsbW/b4k4zjHnjLTQ2Hi82SAQgg4f8xhvDnhZ8aItJ0AP6D6pS5y8QrTMpFB9DbkxJ0kQ3XmyaIBsSwEhMfT4GO63aktP3ozKex+YCJaeMEt8NNWI5GyO1qeUmvm6s6eBg5ETiTMq7fK4RiCdILDUUN6mFE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=rDDIGQA64MVBySXAuQc0kXniSVvG1t6qWjxuHKw+o2Cl1Ll2pnL1vGUSy1qhCnX3WRgbmvqhlKUPkj7USQ7dcEyCXtAfZJB2weGjmne7WpkPGNDlu9ydYLjm+hNYVfrcbpWMVxwV1DaHlU5zZ2PL1V8K6sSSHc70SOew/w38t8M= Original-Received: by 10.140.172.6 with SMTP id u6mr637825rve.257.1202969249082; Wed, 13 Feb 2008 22:07:29 -0800 (PST) Original-Received: by 10.140.143.18 with HTTP; Wed, 13 Feb 2008 22:07:29 -0800 (PST) In-Reply-To: Content-Disposition: inline X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:51506 Archived-At: On Wed, Feb 13, 2008 at 6:16 PM, Peter Dyballa wrote: > is a specification from libfontconfig2. You could edit /etc/fonts/ > fonts.conf (or the equivalent on your system) to make it know all > font resources of your system (and don't forget 'sudo fc-cache'). Hmm. Until today, I didn't even know it was called 'fontconfig'. I only cursed trying to find the way to add a fontpath to the missing font server :) So, I will postpone this solution till I learn how fontconfig works. > You > could also try to find a TrueType or OpenType font with all four > variants (regular, bold, italic, bold-italic) that has well-shaped > mono-spaced Cyrillic and Latin glyphs. So I did. Unfortunately, I can't find the way to disable antialiasing, which makes me feel like a hedgehog in the fog and strain my eyes trying to discern the shapes through the haze of font smoothing. I would prefer a crisp and clear X font. > You could create a fontset that specifies Latin and Cyrillic and > Unicode encodings. Then make this fontset the default. I tried to do so, but it didn't work. Perhaps, I wasn't sufficiently diligent. > You could set LANG or LC_CTYPE to the proper value? Or use prefer- > coding-system? If I only knew which value is proper :/... I tried setting prefer-coding-system to utf-8, but to no avail. > You could launch GNU Emacs with --disable-font-backend. It will show > a slightly different behaviour. Bingo! This one works. Now, I've got both Unicode support and multi-tty without blurred fonts. Thank you! -- With best regards, Dmitri Minaev Russian history blog: http://minaev.blogspot.com