[XeTeX] char ß with pdflatex and xelatex

M. Niedermair m_g_n at gmx.de
Sun Nov 8 17:09:50 CET 2009


Hi,

I am working on a new package version for the libertine font.
Now I have found a problem.

If I use pdflatex I get other Glyphs for the german ß than when I use 
xelatex.
pdflatex and xelatex both use the type 1 version of the font.

I suppose, it is a problem with the input-encoding.

Does anyone have a tipp for me?

By
Michael


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\listfiles
\documentclass[ngerman,a4paper,10pt]{article}

\usepackage{ifxetex}
\ifxetex
     %
   \else
     \usepackage[utf8]{inputenc}
   \fi
\usepackage[TS1,T1]{fontenc}
\usepackage{textcomp}
\usepackage{babel}
%\usepackage[nootf]{libertinenew}

\renewcommand\rmdefault{fxl}%

\pagestyle{empty}
\setlength{\parindent}{0pt}

\def\BSP{%
Dies ist ein Beispieltext mit Zahlen 1234567890!\newline%
öäüß ÖÄÜ\quad ff fi fl ffi ffl\quad Hamburg\newline%
Am 30.4.1987 saß ich im \glqq{}Caf\'e Hamburg\grqq{} und\newline 
schlürfte Kaffee für 2,65\,€!\newline
\textsc{Maß}}

\begin{document}
\BSP

\usefont{T1}{fxl}{m}{n}\selectfont saß \textsc{Maß}

\end{document}



More information about the XeTeX mailing list