[tex-live] Problems with Nafees fonts

Zdenek Wagner zdenek.wagner at gmail.com
Wed Aug 31 13:51:51 CEST 2011


2011/8/31 Akira Kakuto <kakuto at fuk.kindai.ac.jp>:
>> 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}:
>
Thank you for the test, I removed bidi but I still get the same error.
Thus is seems to be an OS specific problem, maybe in XeTeX, maybe in
fontspec, maybe in xdvipdfmx (I cannot find a contact to an author of
xdvipdfmx). I have placed all relevant mails, the source file and the
log file at
http://hroch486.icpf.cas.cz/NafeesBug/

I can try it on i386 in Fedora 13 and if needed, I can build TL
binaries from svn repository, if you modify the sources and if it
helps testing.
>
> 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
>
>



-- 
Zdeněk Wagner
http://hroch486.icpf.cas.cz/wagner/
http://icebearsoft.euweb.cz



More information about the tex-live mailing list