From unknown Thu Jul 10 04:16:26 2025 X-Loop: help-debbugs@gnu.org Subject: bug#15514: 24.3.50; Re: Issue with fonts on macosx Resent-From: Markus Pahlow Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 03 Oct 2013 20:28:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 15514 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 15514@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.138083205825022 (code B ref -1); Thu, 03 Oct 2013 20:28:03 +0000 Received: (at submit) by debbugs.gnu.org; 3 Oct 2013 20:27:38 +0000 Received: from localhost ([127.0.0.1]:52352 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VRpUm-0006VN-4e for submit@debbugs.gnu.org; Thu, 03 Oct 2013 16:27:37 -0400 Received: from eggs.gnu.org ([208.118.235.92]:40345) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VRGMM-0002Db-0Y for submit@debbugs.gnu.org; Wed, 02 Oct 2013 02:56:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VRGMD-00088I-Lx for submit@debbugs.gnu.org; Wed, 02 Oct 2013 02:56:33 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:39793) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VRGMD-00087y-Is for submit@debbugs.gnu.org; Wed, 02 Oct 2013 02:56:25 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41997) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VRGM6-0001GP-4s for bug-gnu-emacs@gnu.org; Wed, 02 Oct 2013 02:56:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VRGLz-0007wy-3B for bug-gnu-emacs@gnu.org; Wed, 02 Oct 2013 02:56:18 -0400 Received: from l3ms.rz.uni-kiel.de ([134.245.11.96]:40003) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VRGLy-0007wj-QK for bug-gnu-emacs@gnu.org; Wed, 02 Oct 2013 02:56:11 -0400 Received: from localhost ([127.0.0.1]) by l3ms.rz.uni-kiel.de with esmtp (Exim 4.80.1) (envelope-from ) id 1VRGLw-0007rv-4U for bug-gnu-emacs@gnu.org; Wed, 02 Oct 2013 08:56:08 +0200 Received: from amringhar.geomar.de ([134.245.208.163]) by l3ms.rz.uni-kiel.de with esmtps (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.80.1) (envelope-from ) id 1VRGLv-0007rp-Uz for bug-gnu-emacs@gnu.org; Wed, 02 Oct 2013 08:56:08 +0200 Received: from hui.geomar.de ([134.245.221.156]) by amringhar.geomar.de with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.68) (envelope-from ) id 1VRGLv-0007MI-9Q for bug-gnu-emacs@gnu.org; Wed, 02 Oct 2013 08:56:07 +0200 From: Markus Pahlow Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Message-Id: <426CC4B4-6C93-4E76-BD01-D371FF1D0CAC@geomar.de> Date: Wed, 2 Oct 2013 08:56:09 +0200 Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\)) X-Mailer: Apple Mail (2.1510) X-Virus-Scanned: by amavisd-new (Uni-Kiel/l3ms-sc) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Mailman-Approved-At: Thu, 03 Oct 2013 16:27:32 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) After the Mac port font backend was ported to the trunk, there appeared = a new display problem with LaTeX files on macosx. When I open a file in = latex mode and enter $x_0^0$, both 0s are shown in superscript position, = whereasthe first 0 should be in subscript position. Also, when using = AUCTeX, all the section, subsection, etc. arguments are shown in subscript position. = A recipe to reproduce the problem from emacs -Q: open a file "test.tex" = and enter $x_0^0$. When I comment out these lines (starting on line 1178) in nsfns.m: #ifdef NS_IMPL_COCOA #if MAC_OS_X_VERSION_MAX_ALLOWED >=3D3D MAC_OS_X_VERSION_10_5 if (CTGetCoreTextVersion !=3D3D NULL && CTGetCoreTextVersion () >=3D3D kCTVersionNumber10_5) mac_register_font_driver (f); #endif #endif and recompile, the LaTeX code is displayed correctly again. Can you = reproduce this problem? I use clang version 500.2.75 from xcode 5 and = osx 10.8.5. I don't know what the above code does, but I hope it helps = finding the cause of the problem. I was advised by Jan Dj=E4rv that setting the font-backend frame = parameter to "ns" also corrects the display problem. Many thanks. In GNU Emacs 24.3.50.1 (i386-apple-darwin12.5.0, NS = apple-appkit-1187.39) of 2013-09-25 on hui.geomar.de Windowing system distributor `Apple', version 10.3.1187 Configured using: `configure --with-ns CFLAGS=3D3D-O4 CC=3D3Dclang 'CPP=3D3Dclang -E'' Important settings: value of $LC_CTYPE: en_GB.UTF-8 value of $LANG: en_GB.UTF-8 locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: TeX-PDF-mode: t TeX-source-correlate-mode: t smartparens-global-mode: t smartparens-mode: t global-rainbow-delimiters-mode: t rainbow-delimiters-mode: t tabbar-mwheel-mode: t tabbar-mode: t shell-dirtrack-mode: t show-paren-mode: t recentf-mode: t global-hl-line-mode: t global-auto-revert-mode: t delete-selection-mode: t diff-auto-refine-mode: t savehist-mode: t tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t global-visual-line-mode: t visual-line-mode: t transient-mark-mode: t Recent input: x r e p o r Recent messages: Loading delsel...done Loading autorevert...done Loading hl-line...done Loading recentf...done Loading paren...done Loading /Users/mpahlow/.emacs.d/recentf...done Cleaning up the recentf list...done (0 removed) Loading /Users/mpahlow/.emacs.d/custom.el (source)...done For information about GNU Emacs and the GNU system, type C-h C-a. Making completion list... Load-path shadows: /Users/mpahlow/.emacs.d/elpa/gnuplot-20130207.101/gnuplot hides = /usr/local/=3D share/emacs/site-lisp/gnuplot /Users/mpahlow/.emacs.d/elpa/gnuplot-20130207.101/gnuplot-gui hides = /usr/lo=3D cal/share/emacs/site-lisp/gnuplot-gui ~/.emacs.d/el-get/el-get/.dir-locals hides = /usr/local/src/emacs/nextstep/Em=3D acs.app/Contents/Resources/lisp/gnus/.dir-locals Features: (shadow sort flyspell ispell mail-extr emacsbug message rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mail-utils sanityinc-solarized-light-theme color-theme-sanityinc-solarized ido ess-toolbar ess-mouse mouseme browse-url ess-menu ess-swv ess-noweb ess-noweb-font-lock-mode ess-bugs-l essd-els ess-sas-d ess-sas-l ess-sas-a ess-sta-d ess-sta-l cc-vars cc-defs make-regexp ess-sp6-d ess-sp3-d ess-julia ess-r-d compile ess-tracebug ess-roxy hideshow ess-help ess-developer ess-r-args eldoc ess-s-l ess ess-inf ess-mode ess-noweb-mode ess-utils ess-custom executable ess-compat ess-site auctex-latexmk latex edmacro kmacro tex-style tex-buf tex crm smartparens-config smartparens thingatpt dash rainbow-delimiters tabbar exec-path-from-shell auctex-latexmk-autoloads exec-path-from-shell-autoloads f90-interface-browser-autoloads gnuplot-autoloads tabbar-autoloads package saveplace tramp-cache tramp-sh tramp tramp-compat auth-source gnus-util mm-util mail-prsvr password-cache tramp-loaddefs cl-macs trampver shell pcomplete comint ansi-color format-spec paren recentf tree-widget hl-line autorevert filenotify delsel cus-start cus-load warnings server srecode/srt-mode semantic/analyze semantic/sort semantic/scope semantic/analyze/fcn semantic/format srecode/template srecode/srt-wy semantic/wisent semantic/wisent/wisent semantic/ctxt srecode/ctxt semantic/tag-ls semantic/find srecode/compile srecode/dictionary srecode/table srecode/map srecode semanticdb-matlab semantic/db semantic/util-modes semantic/util semantic semantic/tag semantic/lex semantic/fw mode-local eieio-opt help-mode find-func cedet-matlab psvn advice help-fns cl log-edit ring pcvs-util add-log diff-mode easy-mmode matlab-load preview-latex tex-site auto-loads ede/speedbar ede/files ede ede/base gv ede/auto ede/source eieio-base eieio-speedbar speedbar sb-image ezimage dframe easymenu eieio-custom wid-edit cl-loaddefs cl-lib eieio byte-opt bytecomp byte-compile cconv eieio-core cedet savehist time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel ns-win tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process ns multi-tty emacs) From unknown Thu Jul 10 04:16:26 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Markus Pahlow Subject: bug#15514: closed (Re: bug#15514: 24.3.50; Re: Issue with fonts on macosx) Message-ID: References: <426CC4B4-6C93-4E76-BD01-D371FF1D0CAC@geomar.de> X-Gnu-PR-Message: they-closed 15514 X-Gnu-PR-Package: emacs Reply-To: 15514@debbugs.gnu.org Date: Thu, 17 Aug 2017 20:26:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1503001562-5436-1" This is a multi-part message in MIME format... ------------=_1503001562-5436-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #15514: 24.3.50; Re: Issue with fonts on macosx which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 15514@debbugs.gnu.org. --=20 15514: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D15514 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1503001562-5436-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 15514-done) by debbugs.gnu.org; 17 Aug 2017 20:25:33 +0000 Received: from localhost ([127.0.0.1]:43166 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1diRMD-0001Oy-88 for submit@debbugs.gnu.org; Thu, 17 Aug 2017 16:25:33 -0400 Received: from mail-wr0-f194.google.com ([209.85.128.194]:38630) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1diRMB-0001Ol-Ez for 15514-done@debbugs.gnu.org; Thu, 17 Aug 2017 16:25:32 -0400 Received: by mail-wr0-f194.google.com with SMTP id 49so4114247wrw.5 for <15514-done@debbugs.gnu.org>; Thu, 17 Aug 2017 13:25:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=G9hi8b/AEcechDJETuDhCImpsZn4cseTZ3rQpgCre1U=; b=HYe0vdgTWGnrbJ91FJDjdmOmt9+A6qjz2Gd9g8fT/24/fPGD+sMzmCnvDzgdHgZQiu aglPtAg8mz6bW2RjfkMGeKWtFwE/cak3tJPZqt3PSF94aRiSMk0ypzxVgWao4a8pvGxT sdvFkRaQz3gvCXG2hJQQ3i/8EO6QOVKpJJ7DYpTSMSm5sEcPdRDycqbNfk8H4ev0WYkR lPCXfzXY/vclmwdVQxlf1yA0Xn3zG3atOPB0AQl/EjMOnptAYFSSliGl0Jy0MYBB+tAo TrlfWjMN2xz3pIIxuHBmnTF2kKhjFL0s3dqXOQKfIk8a6AjmXGzlicALSh2O5w9joR6Z pr7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=G9hi8b/AEcechDJETuDhCImpsZn4cseTZ3rQpgCre1U=; b=Qeuw2Kr3B/YSwt6k6HiJh00y1UrexEofuBCTjL10urEnAT9fxc1KEOwRkopz+r6ZM6 kp5EJCwNqrw08FBfcU5H+etOZrljXfZ0tHzK4vRETGcVIUmSNoqUL2XR3sxMCum6US9d zxfg6JHtOZ7FLSiUvEffUoEWFRLUHh0Qxs+BC4WwjpTeAbukEfHK1ZjOOUN1XgpHE6R2 Lm1hQqJEfKJGbirWS/j0IwmYvEXhE2P734g2yhASMCSFP4Fit4ITiAdtPgeJclkMT/72 e+Vt+kOMGpSHJbwykTMr9m2aAm0swtL4rRWh5gVqgm2GtYhid83MlTH44sA2lWnmaUso 4s/Q== X-Gm-Message-State: AHYfb5imfQrxPWNV8QwJZCUpUtqTHvGGJVyof0G3RHOKvAzQ3XOycc1K u5Tex50y3qaOrHVjOTdfTw== X-Received: by 10.223.166.173 with SMTP id t42mr4468354wrc.272.1503001525407; Thu, 17 Aug 2017 13:25:25 -0700 (PDT) Received: from breton.holly.idiocy.org (ip6-2001-08b0-03f8-8129-0595-da88-ef61-e9de.holly.idiocy.org. [2001:8b0:3f8:8129:595:da88:ef61:e9de]) by smtp.gmail.com with ESMTPSA id m16sm2600163wrg.11.2017.08.17.13.25.24 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 17 Aug 2017 13:25:24 -0700 (PDT) From: Alan Third To: Markus Pahlow Subject: Re: bug#15514: 24.3.50; Re: Issue with fonts on macosx References: <426CC4B4-6C93-4E76-BD01-D371FF1D0CAC@geomar.de> Date: Thu, 17 Aug 2017 21:25:23 +0100 In-Reply-To: <426CC4B4-6C93-4E76-BD01-D371FF1D0CAC@geomar.de> (Markus Pahlow's message of "Wed, 2 Oct 2013 08:56:09 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (darwin) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.1 (--) X-Debbugs-Envelope-To: 15514-done Cc: 15514-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) Markus Pahlow writes: > After the Mac port font backend was ported to the trunk, there > appeared a new display problem with LaTeX files on macosx. When I open > a file in latex mode and enter $x_0^0$, both 0s are shown in > superscript position, whereasthe first 0 should be in subscript > position. Also, when using AUCTeX, all the section, subsection, etc. > arguments are shown in subscript position. A recipe to reproduce the > problem from emacs -Q: open a file "test.tex" and enter $x_0^0$. Hi, sorry nobody's got back to you about this before now. I can't reproduce in Emacs 25+. I think it's probably been fixed at some point. I'll close this bug report, but if you're still seeing this behaviour, please reply and let us know. -- Alan Third ------------=_1503001562-5436-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 3 Oct 2013 20:27:38 +0000 Received: from localhost ([127.0.0.1]:52352 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VRpUm-0006VN-4e for submit@debbugs.gnu.org; Thu, 03 Oct 2013 16:27:37 -0400 Received: from eggs.gnu.org ([208.118.235.92]:40345) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VRGMM-0002Db-0Y for submit@debbugs.gnu.org; Wed, 02 Oct 2013 02:56:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VRGMD-00088I-Lx for submit@debbugs.gnu.org; Wed, 02 Oct 2013 02:56:33 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:39793) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VRGMD-00087y-Is for submit@debbugs.gnu.org; Wed, 02 Oct 2013 02:56:25 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41997) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VRGM6-0001GP-4s for bug-gnu-emacs@gnu.org; Wed, 02 Oct 2013 02:56:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VRGLz-0007wy-3B for bug-gnu-emacs@gnu.org; Wed, 02 Oct 2013 02:56:18 -0400 Received: from l3ms.rz.uni-kiel.de ([134.245.11.96]:40003) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VRGLy-0007wj-QK for bug-gnu-emacs@gnu.org; Wed, 02 Oct 2013 02:56:11 -0400 Received: from localhost ([127.0.0.1]) by l3ms.rz.uni-kiel.de with esmtp (Exim 4.80.1) (envelope-from ) id 1VRGLw-0007rv-4U for bug-gnu-emacs@gnu.org; Wed, 02 Oct 2013 08:56:08 +0200 Received: from amringhar.geomar.de ([134.245.208.163]) by l3ms.rz.uni-kiel.de with esmtps (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.80.1) (envelope-from ) id 1VRGLv-0007rp-Uz for bug-gnu-emacs@gnu.org; Wed, 02 Oct 2013 08:56:08 +0200 Received: from hui.geomar.de ([134.245.221.156]) by amringhar.geomar.de with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.68) (envelope-from ) id 1VRGLv-0007MI-9Q for bug-gnu-emacs@gnu.org; Wed, 02 Oct 2013 08:56:07 +0200 From: Markus Pahlow Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Subject: 24.3.50; Re: Issue with fonts on macosx Message-Id: <426CC4B4-6C93-4E76-BD01-D371FF1D0CAC@geomar.de> Date: Wed, 2 Oct 2013 08:56:09 +0200 To: bug-gnu-emacs@gnu.org Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\)) X-Mailer: Apple Mail (2.1510) X-Virus-Scanned: by amavisd-new (Uni-Kiel/l3ms-sc) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Thu, 03 Oct 2013 16:27:32 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) After the Mac port font backend was ported to the trunk, there appeared = a new display problem with LaTeX files on macosx. When I open a file in = latex mode and enter $x_0^0$, both 0s are shown in superscript position, = whereasthe first 0 should be in subscript position. Also, when using = AUCTeX, all the section, subsection, etc. arguments are shown in subscript position. = A recipe to reproduce the problem from emacs -Q: open a file "test.tex" = and enter $x_0^0$. When I comment out these lines (starting on line 1178) in nsfns.m: #ifdef NS_IMPL_COCOA #if MAC_OS_X_VERSION_MAX_ALLOWED >=3D3D MAC_OS_X_VERSION_10_5 if (CTGetCoreTextVersion !=3D3D NULL && CTGetCoreTextVersion () >=3D3D kCTVersionNumber10_5) mac_register_font_driver (f); #endif #endif and recompile, the LaTeX code is displayed correctly again. Can you = reproduce this problem? I use clang version 500.2.75 from xcode 5 and = osx 10.8.5. I don't know what the above code does, but I hope it helps = finding the cause of the problem. I was advised by Jan Dj=E4rv that setting the font-backend frame = parameter to "ns" also corrects the display problem. Many thanks. In GNU Emacs 24.3.50.1 (i386-apple-darwin12.5.0, NS = apple-appkit-1187.39) of 2013-09-25 on hui.geomar.de Windowing system distributor `Apple', version 10.3.1187 Configured using: `configure --with-ns CFLAGS=3D3D-O4 CC=3D3Dclang 'CPP=3D3Dclang -E'' Important settings: value of $LC_CTYPE: en_GB.UTF-8 value of $LANG: en_GB.UTF-8 locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: TeX-PDF-mode: t TeX-source-correlate-mode: t smartparens-global-mode: t smartparens-mode: t global-rainbow-delimiters-mode: t rainbow-delimiters-mode: t tabbar-mwheel-mode: t tabbar-mode: t shell-dirtrack-mode: t show-paren-mode: t recentf-mode: t global-hl-line-mode: t global-auto-revert-mode: t delete-selection-mode: t diff-auto-refine-mode: t savehist-mode: t tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t global-visual-line-mode: t visual-line-mode: t transient-mark-mode: t Recent input: x r e p o r Recent messages: Loading delsel...done Loading autorevert...done Loading hl-line...done Loading recentf...done Loading paren...done Loading /Users/mpahlow/.emacs.d/recentf...done Cleaning up the recentf list...done (0 removed) Loading /Users/mpahlow/.emacs.d/custom.el (source)...done For information about GNU Emacs and the GNU system, type C-h C-a. Making completion list... Load-path shadows: /Users/mpahlow/.emacs.d/elpa/gnuplot-20130207.101/gnuplot hides = /usr/local/=3D share/emacs/site-lisp/gnuplot /Users/mpahlow/.emacs.d/elpa/gnuplot-20130207.101/gnuplot-gui hides = /usr/lo=3D cal/share/emacs/site-lisp/gnuplot-gui ~/.emacs.d/el-get/el-get/.dir-locals hides = /usr/local/src/emacs/nextstep/Em=3D acs.app/Contents/Resources/lisp/gnus/.dir-locals Features: (shadow sort flyspell ispell mail-extr emacsbug message rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mail-utils sanityinc-solarized-light-theme color-theme-sanityinc-solarized ido ess-toolbar ess-mouse mouseme browse-url ess-menu ess-swv ess-noweb ess-noweb-font-lock-mode ess-bugs-l essd-els ess-sas-d ess-sas-l ess-sas-a ess-sta-d ess-sta-l cc-vars cc-defs make-regexp ess-sp6-d ess-sp3-d ess-julia ess-r-d compile ess-tracebug ess-roxy hideshow ess-help ess-developer ess-r-args eldoc ess-s-l ess ess-inf ess-mode ess-noweb-mode ess-utils ess-custom executable ess-compat ess-site auctex-latexmk latex edmacro kmacro tex-style tex-buf tex crm smartparens-config smartparens thingatpt dash rainbow-delimiters tabbar exec-path-from-shell auctex-latexmk-autoloads exec-path-from-shell-autoloads f90-interface-browser-autoloads gnuplot-autoloads tabbar-autoloads package saveplace tramp-cache tramp-sh tramp tramp-compat auth-source gnus-util mm-util mail-prsvr password-cache tramp-loaddefs cl-macs trampver shell pcomplete comint ansi-color format-spec paren recentf tree-widget hl-line autorevert filenotify delsel cus-start cus-load warnings server srecode/srt-mode semantic/analyze semantic/sort semantic/scope semantic/analyze/fcn semantic/format srecode/template srecode/srt-wy semantic/wisent semantic/wisent/wisent semantic/ctxt srecode/ctxt semantic/tag-ls semantic/find srecode/compile srecode/dictionary srecode/table srecode/map srecode semanticdb-matlab semantic/db semantic/util-modes semantic/util semantic semantic/tag semantic/lex semantic/fw mode-local eieio-opt help-mode find-func cedet-matlab psvn advice help-fns cl log-edit ring pcvs-util add-log diff-mode easy-mmode matlab-load preview-latex tex-site auto-loads ede/speedbar ede/files ede ede/base gv ede/auto ede/source eieio-base eieio-speedbar speedbar sb-image ezimage dframe easymenu eieio-custom wid-edit cl-loaddefs cl-lib eieio byte-opt bytecomp byte-compile cconv eieio-core cedet savehist time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel ns-win tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process ns multi-tty emacs) ------------=_1503001562-5436-1--