Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) by h1439878.stratoserver.net (8.14.4/8.14.4/Debian-2ubuntu2.1) with ESMTP id t37E9HK0000770 for ; Tue, 7 Apr 2015 16:09:18 +0200 Received: from relay2.uni-heidelberg.de ([129.206.210.211]) by mx-ha.gmx.net (mxgmx109) with ESMTPS (Nemesis) id 0McQSy-1Yx14a0BGq-00HbJk for ; Tue, 07 Apr 2015 16:09:12 +0200 Received: from listserv.uni-heidelberg.de (listserv.uni-heidelberg.de [129.206.100.94]) by relay2.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id t37E2JHf020520 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 7 Apr 2015 16:02:19 +0200 Received: from listserv.uni-heidelberg.de (listserv.uni-heidelberg.de [127.0.0.1]) by listserv.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id t37BVe3p020493; Tue, 7 Apr 2015 16:02:19 +0200 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 16.0) with spool id 12073504 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Tue, 7 Apr 2015 16:02:17 +0200 Received: from relay2.uni-heidelberg.de (relay2.uni-heidelberg.de [129.206.210.211]) by listserv.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id t37E2HvI009937 for ; Tue, 7 Apr 2015 16:02:17 +0200 Received: from ix.urz.uni-heidelberg.de (cyrus-portal01.urz.uni-heidelberg.de [129.206.100.97]) by relay2.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id t37E2GxN020494 for ; Tue, 7 Apr 2015 16:02:16 +0200 Received: from relay2.uni-heidelberg.de (relay2.uni-heidelberg.de [129.206.210.211]) by ix.urz.uni-heidelberg.de (Postfix) with ESMTPS id 87A7B2247B55 for ; Tue, 7 Apr 2015 16:02:16 +0200 (CEST) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by relay2.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id t37E27qk020387 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for ; Tue, 7 Apr 2015 16:02:10 +0200 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YfU4s-00014A-2G for LATEX-L@URZ.UNI-HEIDELBERG.DE; Tue, 07 Apr 2015 16:02:06 +0200 Received: from p5b391ccd.dip0.t-ipconnect.de ([91.57.28.205]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 07 Apr 2015 16:02:06 +0200 Received: from news3 by p5b391ccd.dip0.t-ipconnect.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 07 Apr 2015 16:02:06 +0200 X-Injected-Via-Gmane: http://gmane.org/ Lines: 67 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: p5b391ccd.dip0.t-ipconnect.de User-Agent: 40tude_Dialog/2.0.15.41de X-Spam-Level: X-Spam-Flag: No X-Envelope-From: X-Spam-Status: No, hits=-3.40 required=6 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS, URIBL_RHS_AHBL Message-ID: <1mh1yskm8yyj2.dlg@nililand.de> Date: Tue, 7 Apr 2015 16:01:47 +0200 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: Ulrike Fischer Subject: Corrupted NFSS table when fonts are selected in the preamble To: LATEX-L@LISTSERV.UNI-HEIDELBERG.DE Precedence: list List-Help: , List-Unsubscribe: List-Subscribe: List-Owner: List-Archive: Envelope-To: X-GMX-Antispam: 0 (Mail was not recognized as spam); Detail=V3; X-GMX-Antivirus: 0 (no virus found) X-UI-Filterresults: notjunk:1;V01:K0:q5GNFTBmlwk=:BWSNuSv3rwVRExQFjANWRtBxcD 2WTRgqDQTNxymhsfbB/TqdwuirD4FyZpb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 8/iZXMaAd+j0k2jq+WXmyyCDO8LN1DcAOupGikYIKtPs9td/wf7va7+KaB46loGxAFUD5icS3 Co+3WNJ7L4Vk2uLW2II7cP5OonHuAUQNlRGS55MWwVd/jelK5HMRsnhT5vYNf+MUh5VNLTx2Z fQtoH0hgSzmxi3f3TMWZvcZE4RTbzQQ7rPyp937R/EOwcCXJeelaGq3sVVpQlhuwq41qbQjVH WBU31qy9zc2GYsUEUGieXDO3xsm8eMlG9cg7ns1RLQzrwjBAaHxIfIKQjMQYY1NyWC/m2EIFO fBh3WduREzOiVZLwO2u9qS+Q5qO98W8tMHFHqtm867PR8Fci+vaBauP5RX//LXl+oZnnYI3Yk qlmKRzHxpHpESGo4aDn9EEhR743DyTD3y306lEJsNsSqQGCMY1sVKvEvVPPyCVGpMzykRWpA= = X-UI-Loop:V01:7vnrPWV5Fq0=:NJTO56j4Yy2QjPWFvOJZ1hBhbmHYQgPaRe0mOliw9ig= X-UI-Out-Filterresults: notjunk:1; X-Scanned-By: MIMEDefang 2.71 on 85.214.41.38 Status: R X-Status: X-Keywords: X-UID: 7696 I run into a problem with T5-encoding and a font family which doesn't support this encoding. I did sent a question on tex.SX: http://tex.stackexchange.com/questions/237188/corrupted-nfss-tables In my opinion the fd-file for the "fallback" font is loaded to late in \wrong@fontshape. I found a workaround but I'm in no way sure that it hasn't some unwanted side-effects. \documentclass{book} \usepackage[T5,T1]{fontenc} \makeatletter \def\wrong@fontshape{% \csname D@\f@encoding\endcsname % install defaults if in math \edef\reserved@a{\csname\curr@fontshape\endcsname}% \ifx\last@fontshape\reserved@a \errmessage{Corrupted NFSS tables}% \error@fontshape \else \let\f@shape\default@shape \expandafter\ifx\csname\curr@fontshape\endcsname\relax \let\f@series\default@series \expandafter \ifx\csname\curr@fontshape\endcsname\relax \let\f@family\default@family \fi \fi \fi \@font@warning{Font shape `\expandafter\string\reserved@a' \expandafter\@gobble\string\@undefined\MessageBreak using `\curr@fontshape' instead\@wrong@font@char}% \begingroup\try@load@fontshape\endgroup %<--------------new \global\let\last@fontshape\reserved@a \gdef\@defaultsubs{% \@font@warning{Some font shapes were not available, defaults substituted.\@gobbletwo}}% \global\expandafter\expandafter\expandafter\let \expandafter\reserved@a \csname\curr@fontshape\endcsname \xdef\font@name{% \csname\curr@fontshape/\f@size\endcsname}% \pickup@font} \makeatother \renewcommand\rmdefault{fve}%no T5fve.fd \fontencoding{T1}\fontfamily{\familydefault}\selectfont \fontencoding{T5}\selectfont \selectfont %error \begin{document} blub \end{document} -- Ulrike Fischer http://www.troubleshooting-tex.de/