[XeTeX] Fwd: Re: Segmentation fault in xdvipdfmx

maxwell maxwell at umiacs.umd.edu
Fri Jun 12 17:21:02 CEST 2009

I don't mean to nag, but is there any chance of getting this fixed?  Or is
it a bug in the font?

   Mike Maxwell

-------- Original Message --------
Subject: Re: [XeTeX] Segmentation fault in xdvipdfmx
Date: Thu, 04 Jun 2009 16:44:59 -0400
From: maxwell <maxwell at umiacs.umd.edu>
To: Unicode-based TeX for Mac OS X and other platforms <xetex at tug.org>
Reply-To: Unicode-based TeX for Mac OS X and other platforms
<xetex at tug.org>

On Mon, 01 Jun 2009 18:36:54 -0400, maxwell <maxwell at umiacs.umd.edu> wrote:
> On Sun, 31 May 2009 16:28:42 +0100, Jonathan Kew
<jfkthame at googlemail.com>
> wrote:
>> Any chance of narrowing down the range of  
>> your document that (sometimes) leads to the crash, perhaps by repeated  
>> bisection?

OK, I think the attached file is pretty much minimal, and it seems to
reproduce the problem consistently.  It's possible that the crash happens
when a character inside the \urdu{...} is not present in the Urdu font; at
least I see a '!' in there, and when I delete that, I get a warning msg in
place of a crash.

   Mike Maxwell
-------------- next part --------------
\setmainfont{DejaVu Serif}

% Bidirectional text

% Urdu script:
% There are two Nasta'liq fonts that we have tried, and each has its advantages;
% uncomment whichever \newfontface command.
% The first is CRULP's Urdu Nastaliq, version 1.02, downloaded from
% http://www.crulp.org/software/localization/Fonts/nafeesNastaleeq.html.
% This causes CMap to complain about "Invalid CMap mapping entry."  But it
% ignores these errors, and it's not clear what implications that has.

% (Trying to specify 'Language=Urdu' doesn't work: Nafees doesn't list that.)
% ...and the second is the Alvi Nastaleeq font, downloaded from
% http://alvi.urdushare.net/blog/200811/download-alvi-nastaleeq/
% At least one observer reports that this is not quite as pretty as the Nafees
% font, but it does place the tashdeed diacritic correctly (whereas the Nafees
% font tends to place it below or in the middle of the base character).

\newfontface\urdufont[Script=Arabic,Scale=1.2]{Alvi Nastaleeq}
% Specifying 'Language=Urdu' for the Alvi font gives a warning that the font does
% not contain language 'Urdu' for script 'Latin'.  Probably harmless, but specifying
% Urdu does not seem to make any difference, perhaps because the font is only
% made for Urdu.

\newcommand{\urdu}[1]{{\RL{\urdufont #1}}}


Here are some Urdu words: \urdu{بیٹا! مجھے روز فون کیا کرو}


More information about the XeTeX mailing list