From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: Non-default fonts in Emacs using Xft Date: Sat, 30 Jun 2007 17:17:47 +0200 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=WINDOWS-1252; delsp=yes; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1183216716 16221 80.91.229.12 (30 Jun 2007 15:18:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 30 Jun 2007 15:18:36 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Felix Eckhofer Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jun 30 17:18:28 2007 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 1I4eiO-0003AB-Pi for geh-help-gnu-emacs@m.gmane.org; Sat, 30 Jun 2007 17:18:27 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I4eiK-0000Q5-Vj for geh-help-gnu-emacs@m.gmane.org; Sat, 30 Jun 2007 11:18:21 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I4ei6-0000Ph-1W for help-gnu-emacs@gnu.org; Sat, 30 Jun 2007 11:18:06 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I4ei2-0000PT-CU for help-gnu-emacs@gnu.org; Sat, 30 Jun 2007 11:18:05 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I4ei2-0000PQ-76 for help-gnu-emacs@gnu.org; Sat, 30 Jun 2007 11:18:02 -0400 Original-Received: from fmmailgate01.web.de ([217.72.192.221]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1I4ehz-0006KF-K4 for help-gnu-emacs@gnu.org; Sat, 30 Jun 2007 11:18:01 -0400 Original-Received: from smtp06.web.de (fmsmtp06.dlan.cinetic.de [172.20.5.172]) by fmmailgate01.web.de (Postfix) with ESMTP id 85A8F8C48095; Sat, 30 Jun 2007 17:17:51 +0200 (CEST) Original-Received: from [62.134.230.35] (helo=[192.168.1.2]) by smtp06.web.de with asmtp (TLSv1:AES128-SHA:128) (WEB.DE 4.108 #197) id 1I4ehr-0001FR-00; Sat, 30 Jun 2007 17:17:51 +0200 In-Reply-To: X-Mailer: Apple Mail (2.752.2) X-Sender: Peter_Dyballa@web.de X-Provags-ID: V01U2FsdGVkX18R79P9JZWX91j83/F+bN5n/65pB+67V9QuzqL4 1z10QpXPRYixfGYYElfA/0bXKKLMM0UB4cMmPGwyRXsQ3/NN66 noV/MGPlOujXEhLlGHVA== X-detected-kernel: Linux 2.4-2.6 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:45381 Archived-At: Am 30.06.2007 um 15:28 schrieb Felix Eckhofer: > I've been playing a little with Emacs from the unicode-2 branch. > However I cannot get it to render non-default-sized fonts with > antialiasing, for examples headlines in auctex show up like this: > http://secundus.stunet.tu-freiberg.de/~felix/temp/screenshots/emacs-=20= > xft.png Are you sure that your GNU Emacs 23 was configured and compiled to =20 achieve font anti-aliasing? (Trying to report a bug you can retrieve =20 some information on this.) > > Is there some sort of "global font parameter" I have not found? I =20 > tried > set-default-font and set-fontset-font as suggest on emacswiki.org but > nothing seems to help. I think there is none, except: on the command line you need to add --=20 enable-font-backend. You also need to prepare your system with =20 fontconfig. It uses (an) XML file(s) to mention all directories with =20 fonts, name substitutes, define standards ... When I try to launch =20 GNU Emacs 23 with activated font backend I get an error =96 I think =20 it's really time for a bug report! BTW, you don't need to write your LaTeX documents in UTF-8 using =20 LaTeX's incomplete UTF-8 support. ISO 8859-9 would be sufficient: %% -*- mode: LaTeX; coding: iso-8859-15; -*- either this = header line =20 or the Local Variables section at the end \usepackage{ifpdf} \ifpdf \immediate\write16{\jobname: Bonjour, PDF!} \usepackage{cmap} \usepackage[pdftex]{graphicx} % \DeclareGraphicsExtensions{.png,.gif,.tif,.jpeg} % what =20= about .svg ? \usepackage[activate=3D{true,nocompatibility}]{microtype} \else % for non-pdfTeX \immediate\write16{=A1Hola \jobname: DVI!} % \DeclareGraphicsExtensions{.eps,.ps} \usepackage[dvips]{graphicx} \usepackage[protrusion=3Dtrue,expansion=3Dfalse]{microtype} \fi \usepackage[ngerman]{babel} %\usepackage{lmodern} \usepackage[T1]{fontenc} \usepackage[full]{textcomp} \usepackage[latin9]{inputenc} =09 =09 %%% Local Variables: %%% mode: LaTeX %%% coding: iso-8859-15 %%% TeX-master: t %%% TeX-command-default: "possible script" %%% End: -- Mit friedvollen Gr=FC=DFen Pete Das Milit=E4r ist eine Pflanze, die mensch sorgf=E4ltig pflegen muss, =20= damit sie keine Fr=FCchte tr=E4gt. Jacques Tati