all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Peter Dyballa <Peter_Dyballa@Web.DE>
To: Felix Eckhofer <felix@tribut.de>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Non-default fonts in Emacs using Xft
Date: Sat, 30 Jun 2007 17:17:47 +0200	[thread overview]
Message-ID: <BE6ED35A-9CEE-4283-B048-C372619C2F81@Web.DE> (raw)
In-Reply-To: <f65lpa$ugt$1@sea.gmane.org>


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- 
> xft.png

Are you sure that your GNU Emacs 23 was configured and compiled to  
achieve font anti-aliasing? (Trying to report a bug you can retrieve  
some information on this.)

>
> Is there some sort of "global font parameter" I have not found? I  
> 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 -- 
enable-font-backend. You also need to prepare your system with  
fontconfig. It uses (an) XML file(s) to mention all directories with  
fonts, name substitutes, define standards ... When I try to launch  
GNU Emacs 23 with activated font backend I get an error – I think  
it's really time for a bug report!


BTW, you don't need to write your LaTeX documents in UTF-8 using  
LaTeX's incomplete UTF-8 support. ISO 8859-9 would be sufficient:

	%% -*- mode: LaTeX; coding: iso-8859-15; -*-	either this header line  
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  
about .svg ?
	   \usepackage[activate={true,nocompatibility}]{microtype}
	\else		% for non-pdfTeX
	   \immediate\write16{¡Hola \jobname: DVI!}
	%   \DeclareGraphicsExtensions{.eps,.ps}
	   \usepackage[dvips]{graphicx}
	   \usepackage[protrusion=true,expansion=false]{microtype}
	\fi
	\usepackage[ngerman]{babel}
	%\usepackage{lmodern}
	\usepackage[T1]{fontenc}
	\usepackage[full]{textcomp}
	\usepackage[latin9]{inputenc}
	
	
	%%% Local Variables:
	%%% mode: LaTeX
	%%% coding: iso-8859-15
	%%% TeX-master: t
	%%% TeX-command-default: "possible script"
	%%% End:

--
Mit friedvollen Grüßen

   Pete

Das Militär ist eine Pflanze, die mensch sorgfältig pflegen muss,  
damit sie keine Früchte trägt.
                                                  Jacques Tati

  reply	other threads:[~2007-06-30 15:17 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-30 13:28 Non-default fonts in Emacs using Xft Felix Eckhofer
2007-06-30 15:17 ` Peter Dyballa [this message]
2007-06-30 15:41   ` Felix Eckhofer
2007-06-30 16:41     ` Taylor Venable
2007-06-30 17:34       ` Felix Eckhofer
2007-06-30 17:56         ` Peter Dyballa
2007-06-30 19:51           ` Felix Eckhofer

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=BE6ED35A-9CEE-4283-B048-C372619C2F81@Web.DE \
    --to=peter_dyballa@web.de \
    --cc=felix@tribut.de \
    --cc=help-gnu-emacs@gnu.org \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.