delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2022/12/22/02:03:50

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DA8A43858000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1671692587;
bh=AdcmY6QaZtLJejnpwB9v076BLEUTHFTYBkS/ZO9pCBg=;
h=Date:Subject:To:List-Id:List-Unsubscribe:List-Archive:List-Post:
List-Help:List-Subscribe:From:Reply-To:From;
b=bGajaSZ+ZCHba7xPqjX8wvQCX85fBdvh2PTr5i/h/Bq21s9x+CXii40eGnCJMoQc+
p9eEjZ1xJNZK0swD3U7ABadQgCskMpCjhVWVNWpX6H4w4SOfqMp9Ox0Jk0jv9R93H7
dcy6zFR2XpeW5oHUPKff1MM9Lik22Mr7oL5pdNOM=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 71F903858D1E
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20210112;
h=to:subject:message-id:date:from:mime-version:x-gm-message-state
:from:to:cc:subject:date:message-id:reply-to;
bh=7rDsJVVHVK/fJkDjms0cFqlG8qt1igYLa7OKXK4Y+V4=;
b=qOS5PddTe1OdhzS/qMJ1S5G2o0g/6bj/fk4qdIRwEN/keAXpNpJjG6r5QC7PHlB5Fn
hocs9htQvSuNJemvG0SY2HdCQhuE+oExjoCeCGz7mUhl2r2OGSOzEueFqgtxppef4dBf
lQNbsbX/3JrJpo2EJ+veHP7Ki0bA7FJwVkMNFd0aMqpdFfG35s0ZqSuOONuZCzUkJF3l
KQYiLdxnsO+f+wV0STTv69G1WNPj06mE9uZwktEVflPW1fwxKqNhUDIx//KLXxVOg5hk
HbAeqqgexzdtCplkP0d3L/9Xp4L8OXxB6blG6Lv8Y0rhJKdz39OEE9cZ95togDurlW1a
rJ0g==
X-Gm-Message-State: AFqh2kp7hU9k6ScFJ2klOn1onhwkiR67k1xaSqwMDhRrM4aXSJlo+uUg
3R+CV1X4+0TZpVpRlwKm+xCyObXbHIXKKHoTkkfnF4L50us=
X-Google-Smtp-Source: AMrXdXspggsgb5xGXaUl60CuomDXiDHuCKN/M4aciuS64M59HV/cqqfbhsMpuX4U3MurwOqkQGWU8iyj667494HGGOA=
X-Received: by 2002:a05:6808:46:b0:35b:58e9:8890 with SMTP id
v6-20020a056808004600b0035b58e98890mr93395oic.243.1671692550594; Wed, 21 Dec
2022 23:02:30 -0800 (PST)
MIME-Version: 1.0
Date: Thu, 22 Dec 2022 01:02:19 -0600
Message-ID: <CAOEhWT097htNvmqxSysg9Wt_HVsETVxe-Fu9RJvjpNkVFkLXww@mail.gmail.com>
Subject: luatex not loading opentype fonts
To: cygwin AT cygwin DOT com
X-Spam-Status: No, score=-0.4 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_ENVFROM_END_DIGIT,
FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS,
TXREP autolearn=ham autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Luis Rivera via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Luis Rivera <jlrn77 AT gmail DOT com>
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

While developing a package for LuaTeX with the texlive-collection, I
noticed that LuaTeX could not access the directories for OpenType
fonts;

```
$ luatex sloth
This is LuaTeX, Version 1.15.0 (TeX Live 2022/Cygwin)
 restricted system commands enabled.
(./sloth.tex (/home/root/.local/share/texmf/tex/luatex/luatex85.sty)
(/usr/share/texmf-dist/tex/generic/yax/yax.tex
(/usr/share/texmf-dist/tex/generic/texapi/texapi.tex))
(/usr/share/texmf-dist/tex/generic/gates/gates.tex
(/usr/share/texmf-dist/tex/generic/texapi/texapi.tex)) (./lua.ptx) (./files.ptx
) (./fonts.ptx./fonts.ptxlua:285: cannot open .:/home/root/.config/texmf/fonts/
opentype/:/home/root/.cache/texmf/fonts/opentype/:/home/root/.local/share/texmf
/fonts/opentype/:/usr/share/texmf-site/fonts/opentype/:/etc/texmf/fonts/opentyp
e/:/var/lib/texmf/fonts/opentype/:/usr/share/texmf-dist/fonts/opentype/:/home/r
oot/.config/texmf/fonts/truetype/:/home/root/.cache/texmf/fonts/truetype/:/home
/root/.local/share/texmf/fonts/truetype/:/usr/share/texmf-site/fonts/truetype/:
/etc/texmf/fonts/truetype/:/var/lib/texmf/fonts/truetype/:/usr/share/texmf-dist
/fonts/truetype/:/cygdrive/c/windows/fonts/: No such file or directory
stack traceback:
        [C]: in function 'lfs.dir'
        ./fonts.ptxlua:285: in local 'check_fonts'
        ./fonts.ptxlua:366: in main chunk
        [C]: in function 'dofile'
        [\directlua]:1: in main chunk.
\inputluafile ...ua {dofile(kpse.find_file("#1"))}

l.1 \inputluafile fonts.ptxlua

?

```

Which is weird, because my program works correctly in the windows
version of TeXLive, and `ls /cygdrive/c/windows/fonts` returns the
directory listing correctly.

I fear I have spotted a bug.

Luis Rivera

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019