[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Non-default fonts in Emacs using Xft
From: |
Peter Dyballa |
Subject: |
Re: Non-default fonts in Emacs using Xft |
Date: |
Sat, 30 Jun 2007 17:17:47 +0200 |
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