From owner-freebsd-questions@FreeBSD.ORG Mon Mar 23 00:13:17 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2BB0F1065693 for ; Mon, 23 Mar 2009 00:13:17 +0000 (UTC) (envelope-from lars@larseighner.com) Received: from mail.team1internet.com (mail.team1internet.com [216.110.13.10]) by mx1.freebsd.org (Postfix) with ESMTP id EF1298FC21 for ; Mon, 23 Mar 2009 00:13:16 +0000 (UTC) (envelope-from lars@larseighner.com) Received: by mail.team1internet.com (Postfix, from userid 12346) id 61C8516B5CC; Sun, 22 Mar 2009 19:13:16 -0500 (CDT) Received: from larseighner.com (unknown [216.110.13.80]) by mail.team1internet.com (Postfix) with SMTP id 95F3C16B5C5; Sun, 22 Mar 2009 19:13:14 -0500 (CDT) Received: by larseighner.com (nbSMTP-1.00) for uid 1001 lars@larseighner.com; Sun, 22 Mar 2009 19:11:33 -0500 (CDT) Date: Sun, 22 Mar 2009 19:11:27 -0500 (CDT) From: Lars Eighner X-X-Sender: lars@debranded.6dollardialup.com To: Yuri In-Reply-To: <49C6CC4A.9080209@rawbw.com> Message-ID: <20090322191121.L74464@qroenaqrq.6qbyyneqvnyhc.pbz> References: <49C6C225.9010104@rawbw.com> <20090322182155.X74315@qroenaqrq.6qbyyneqvnyhc.pbz> <49C6CC4A.9080209@rawbw.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Sanitizer: Anomy and SpamAssassin mail filter - see http://www.6dollardialup.com/support/spaminfo.html Cc: freebsd-questions@freebsd.org Subject: Re: What is the best XServer font configuration to use with international fonts (Cyrillic/Chinese/Korean) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Mar 2009 00:13:17 -0000 On Sun, 22 Mar 2009, Yuri wrote: > Lars Eighner wrote: >> On Sun, 22 Mar 2009, Yuri wrote: >> >>> I use the following font section: >>> Section "Files" >>> FontPath "/usr/local/lib/X11/fonts/misc/" >>> FontPath "/usr/local/lib/X11/fonts/TrueType/" >>> EndSection >>> >>> What is the best font configuration to use to show all those languages >>> nicely? >> >> The place to deal with these issues is in your windows manager, or in >> some cases, the configuration of individual applications. I do not know >> if there really is a single best solution to your problem, but only that >> the solution is not in the X configuration. >> > > Lars, > > I don't know understand why xorg.conf isn't the place. If there are no fonts > for some language they should be installed and corresponding lines placed into > xorg.conf. That's right. But I see you did not install the cyrillic fonts. Install the port x11-fonts/xorg-fonts-cyrillic from the ports collect. The port should add the font path to your x configuration file if it in the normal place. If it doesn't, you can add the path manually after you verify that the port did install and the fonts are in the appropriate directory. > Some fonts may be defective. So they shouldn't be put there. > So xorg.conf has to do with the problem. The directories in the path in the x configuration file are collections of fonts. You cannot delete individual fonts from the x configuration file. > I specifically have an issue with the font calls "sans-serif" that FF uses > to show Cyrillic texts. Then change the defaults in FF preferences. Choose Preferences from the Edit menu, then Content. Go to the Advanced menu from Fonts & Colors. Use the drop-down menu to change Fonts for: Western to Fonts for: Cyrillic. Select fonts for each of the generic families: Proportional, Serif, etc. Uncheck the box for Allow pages to choose their own font (unless you are willing to allow authors to choose fonts you do not like). Click OK and close the Preferences menu. > It must have come from FontPath in XServer. Yes, but mangling the x configuration is not the way to deal with it. If FF cannot find the font it thinks should be the default, there is no guarantee that FF's second choice will be any more pleasing (and it could be a great deal worse --- second choice might be refusing to display at all or using a Western font with many missing characters). -- Lars Eighner http://www.larseighner.com/index.html 8800 N IH35 APT 1191 AUSTIN TX 78753-5266