[lltx] [fontspec] selecting font features has no effect?
Diederick C. Niehorster
dcnieho at gmail.com
Tue Mar 30 14:15:42 CEST 2010
Hi Elie,
On Tue, Mar 30, 2010 at 8:03 PM, Élie Roux
<elie.roux at telecom-bretagne.eu> wrote:
> 2010/3/30 Diederick C. Niehorster <dcnieho at gmail.com>:
>>
>> --- otfl-names.lua:
>> {
>> ["checksum"]="F342E0175B3F2F8E22AF2FA67EB88D92",
>> ["familyname"]="ArnoPro",
>> ["filename"]="arnopro-italic.otf",
>> ["fontname"]="ArnoPro-Italic",
>> ["fontstyle_name"]="Italic",
>> ["fullname"]="Arno Pro Italic",
>> ["names"]={
>> ["family"]="arnopro",
>> ["fullname"]="ArnoPro-Italic",
>> ["psname"]="ArnoPro-Italic",
>> ["subfamily"]="Italic",
>> },
>> ["size"]={ 120, 140, 110 },
>> ["slant"]=-11,
>> ["weight"]=400,
>> ["width"]=5,
>> }
>
> Which otfl-names is it? Are you sure it is the one actually used by
> luaotfload? It never looks into the current directory (maybe it
> should?) and it looks first in the local directory then in the sys
> directory. Please try to remove all otfl-names.lua and to install only
> one in the local directory to see if you have the same result.
>
I currently have only one, in C:\Documents and
Settings\DCN\.texlive2009\texmf-var\luatex-cache\latex\names.
I deleted the empty one in the sys directory, discussed on the luatex list.
To ascertain which file is used, I renamed otfl-names.lua, getting me:
---
! LuaTeX error cannot open C:/Documents and Settings/DCN/.texlive2009/texmf-var
/luatex-cache/latex/names/otfl-names.lua: No such file or directory.
---
To trouble you some more, some other fonts I am trying to use give me
even more trouble.
Say i request Adobe Caslon Pro, "\setmainfont[Ligatures=TeX]{Adobe
Caslon Pro}", I get:
---
! LuaTeX error ...9/texmf-dist/tex/luatex/luaotfload/otfl-font-nms.lua:76: atte
mpt to compare nil with number.
<to be read again>
\let
l.7 \setmainfont[Ligatures=TeX]{Adobe Caslon Pro}
---
--- otfl-names.lua
{
["checksum"]="DB739B38957B742116B5C8DD0F0559E7",
["familyname"]="Adobe Caslon Pro",
["filename"]="acaslonpro-bold.otf",
["fontname"]="ACaslonPro-Bold",
["fullname"]="Adobe Caslon Pro Bold",
["names"]={
["family"]="adobecaslonpro",
["fullname"]="ACaslonPro-Bold",
["psname"]="ACaslonPro-Bold",
["subfamily"]="Bold",
},
["size"]={ 120 },
["slant"]=0,
["weight"]=700,
["width"]=5,
}
---
Fonts are all in subdirectories of
C:\texlive\texmf-local\fonts\opentype\adobe. fc-cache can find them
(through a local.conf, as recommended by Akira Kakuto, and seem to be
indexed properly my mkfontnamedb.lua, as they appear in
otfl-names.lua.
I thus seem to have multiple weird problems (this and the
mkfontnamedb.lua silently dying in the middle of its operation when
the --sys switch is given) with otfl, how much is it tested on windows
(and is there any reason things should work different on windows)? No
worries, I'm just curious and want to try things out. Hope the bug
reports are not coming at a too early stage of development ;)
Best,
Dee
To unsubscribe from this group, send email to lualatex-dev+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
More information about the lualatex-dev
mailing list