[tex-live] Problems with Nafees fonts

Akira Kakuto kakuto at fuk.kindai.ac.jp
Wed Aug 31 11:03:10 CEST 2011


> Well obviously xdvipdfmx can't find the font. I get the same error
> message if I first generate the xdv, then remove the font, and then
> call xdvipdfmx.

Here (windows) xdvipdfmx can find the font by
\setmainfont[Script=Arabic]{Nafees Nastaleeq}:


xdvipdfmx -v t
<FONTMAP:psbase14.map><FONTMAP:pdfmfnt.map><FONTMAP:cid-x.map>DVI Comment:  XeTeX output 2011.08.31:1842
t.xdv -> t.pdf
<AGL:texglyphlist.txt> g:/workdir/dvipdfmx.a0225600001 [1<NafeesNastaleeq(Nafees:Regular)@20.66pt<NATIVE-FONTMAP:NafeesNastaleeq/H/65536/0/0>
pdf_font>> Input encoding "Identity-H" requires at least 2 bytes.
pdf_font>> The -m <00> option will be assumed for "c:/usr/local/share/texmf/fonts/truetype/public/nafees/Nafees Nastaleeq v1.02.ttf".
(CID:NafeesNastaleeq)
pdf_font>> Type0 font "c:/usr/local/share/texmf/fonts/truetype/public/nafees/Nafees Nastaleeq v1.02.ttf" cmap_id=<Identity-H,0> opened at font_id=<NafeesNastaleeq/H/65536/0/0,0>.
>]
otf_cmap>> Creating ToUnicode CMap for "c:/usr/local/share/texmf/fonts/truetype/public/nafees/Nafees Nastaleeq v1.02.ttf"...

** WARNING ** Invalid CMap mapping entry. (ignored)
** WARNING ** Invalid CMap mapping entry. (ignored)
** WARNING ** Invalid CMap mapping entry. (ignored)
** WARNING ** Invalid CMap mapping entry. (ignored)
** WARNING ** Invalid CMap mapping entry. (ignored)
** WARNING ** Invalid CMap mapping entry. (ignored)
** WARNING ** Invalid CMap mapping entry. (ignored)
** WARNING ** Invalid CMap mapping entry. (ignored)
** WARNING ** Invalid CMap mapping entry. (ignored)
** WARNING ** Invalid CMap mapping entry. (ignored)
** WARNING ** Invalid CMap mapping entry. (ignored)
** WARNING ** Invalid CMap mapping entry. (ignored)
** WARNING ** Invalid CMap mapping entry. (ignored)
(CID:c:/usr/local/share/texmf/fonts/truetype/public/nafees/Nafees Nastaleeq v1.02.ttf[CIDFontType2])
Compression saved 13541 bytes
9224 bytes written


I changed the source since I don't have some packages:

\documentclass[12pt]{article}
%\usepackage[a5,Landscape,margins=1in]{zwpagelayout}
\usepackage{fontspec,xltxtra}
%\usepackage{bidi}
\pagestyle{empty}
\setmainfont[Script=Arabic]{Nafees Nastaleeq}
%\setmainfont[Script=Arabic]{font urdu.ttf}
\parindent 0mm
\begin{document}
\linespread{2}
\centerline{\LARGE{... ... ...}}


\end{document}

where ... ... ... are the original Arabic characters.

Best,
Akira



More information about the tex-live mailing list