[lltx] Opentype font loading problem
khaledhosny at eglug.org
Mon Jul 19 09:43:56 CEST 2010
On Mon, Jul 19, 2010 at 03:59:26PM +0930, Will Robertson wrote:
> On 19/07/2010, at 3:49 PM, Will Robertson wrote:
> > On 19/07/2010, at 3:30 PM, Khaled Hosny wrote:
> >> Does `kpsewhich berling.ttf` find any thing then? Looks like
> >> misconfiguration to me, what is the output of `kpsewhich -show-path .otf`
> >> and .ttf?
> > Why would these show anything?
> On 19/07/2010, at 3:49 PM, Arun Dev wrote:
> > kpsewhich berling.ttf gives c:/windows/fonts/berling.ttf and
> Err, clearly I don't know anything about how LuaTeX font loading works in Windows :)
If OSFONTDIR is set, all fonts including system fonts are loaded by kpse
not by full path. The idea was that if kpse can found the fonts, then we
should not bother hard coding the full path in the database, this has
the advantage that the user can move his TEXMF tree and the database
need not to be rebuilt. When OSFONTDIR is set, system fonts are treated
as TEXMF fonts. In this case, OPENTYPEFONTS kpse search path didn't
include OSFONTDIR for some reason, but TTFONTS did.
Arabic localiser and member of Arabeyes.org team
Free font developer
More information about the lualatex-dev