[XeTeX] Another fontspec bug

Herbert Schulz herbs at wideopenwest.com
Sat Mar 30 20:38:17 CET 2013


On Mar 30, 2013, at 2:06 PM, Peter Dyballa <Peter_Dyballa at Web.DE> wrote:

> Hello!
> 
> When I use with XeTeX, Version 3.1415926-2.5-0.9999.2 (TeX Live 2013/dev) and
> 
> 	fontspec.sty    2013/03/16 v2.3a Font selection for XeLaTeX and LuaLaTeX
> 	fontspec-patches.sty    2013/03/16 v2.3a Font selection for XeLaTeX and LuaLaTeX
> 	fontspec-xetex.sty    2013/03/16 v2.3a Font selection for XeLaTeX and LuaLaTeX
> 	fontspec.cfg
> 
> on Mac OS X 10.5.8, Leopard, PPC (7447A), and use this preamble:
> 
> 	\listfiles
> 	\documentclass[a4paper,12pt]{article}
> 	\usepackage[xetex,active,tightpage]{preview}
> 	\usepackage{fontspec}
> 	\defaultfontfeatures{Ligatures=TeX}	%[Mapping=tex-text]
> 	\usepackage{polyglossia}
> 	\setdefaultlanguage{malayalam}
> 	\setotherlanguage{english}
> 	
> 	\newfontfamily\malayalamfont[Language=Malayalam,Script=Malayalam]{FreeSerif}	% has both
> 	\newfontfamily\englishfont{Minion Pro}
> 
> fontspec complains:
> 
> 	!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
> 	!
> 	! LaTeX error: "kernel/key-choice-unknown"
> 	!
> 	! \msg text > LaTeX/kernel/key-choice-unknown
> 	! {fontspec/Language}{Malayalam}{}{}
> 	!
> 	! See the LaTeX3 documentation for further information.
> 	!
> 	! For immediate help type H <return>.
> 	!...............................................
> 	
> 	l.10 ...age=Malayalam,Script=Malayalam]{FreeSerif}
> 
> 
> --
> Greetings
> 
>  Pete
> 
> They're putting dimes in the hole in my head to see the change in me.


Howdy,

When I run otfinfo on FreeSerif.otf I don't see Language Malayalam for Script mlym. this is the output of OpenType-info.tex (with some extra above and below:

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PastedGraphic-1.pdf
Type: application/pdf
Size: 28351 bytes
Desc: not available
URL: <http://tug.org/pipermail/xetex/attachments/20130330/35d39f4d/attachment-0001.pdf>
-------------- next part --------------

and no Language except <default>.

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)





More information about the XeTeX mailing list