ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Thangalin <thangalin@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Upgrade to 2015.11.19 breaks OTF reader?
Date: Wed, 2 Dec 2015 15:36:03 -0800	[thread overview]
Message-ID: <CAANrE7pwHPq-fU0Zc-cF6NGYhB8n26VxB+GGcw6xzCyXsKTa5g@mail.gmail.com> (raw)

Hi.

Installation: http://wiki.contextgarden.net/Ubuntu#With_ConTeXt_Standalone_.E2.80.93_should_work_with_all_Ubuntu_versions

Font (OTF): https://www.google.com/fonts/specimen/Source+Sans+Pro

= MWE (test.tex) =
\definefont[VersionFont][name:sourcesanspro]

\starttext
  \VersionFont
  Hello, World
\stoptext
= EOF =

= LOG FILE (test.log) =
system          > callbacks > not registering frozen 'find_format_file'

open source     > 1 > 1 >
/usr/local/context/tex/texmf-context/tex/context/base/cont-yes.mkiv

ConTeXt  ver: 2015.11.19 19:13 MKIV beta  fmt: 2015.12.2  int: english/english

system          > 'cont-new.mkiv' loaded
open source     > 2 > 2 >
/usr/local/context/tex/texmf-context/tex/context/base/cont-new.mkiv
close source    > 2 > 2 >
/usr/local/context/tex/texmf-context/tex/context/base/cont-new.mkiv
system          > files > jobname 'test', input './test', result 'test'
fonts           > latin modern fonts are not preloaded
languages       > language 'en' is active
open source     > 2 > 3 > /tmp/test.tex
fonts           > preloading latin modern fonts (second stage)
fonts           > 'fallback modern-designsize rm 12pt' is loaded
fonts           > defining > source file 'SourceSansPro-Regular.ttf'
is not found
backend         > xmp > using file
'/usr/local/context/tex/texmf-context/tex/context/base/lpdf-pdx.xml'
pages           > flushing realpage 1, userpage 1
close source    > 2 > 3 > /tmp/test.tex
close source    > 1 > 3 >
/usr/local/context/tex/texmf-context/tex/context/base/cont-yes.mkiv

!LuaTeX error: cannot find OpenType font file for reading ()
 ==> Fatal error occurred, no output PDF file produced!
= EOF =

= MTXRUN =
$ mtxrun --script fonts --list -all sourcesanspro

sourcesanspro   sourcesansprosemiboldit
/usr/local/share/fonts/google/s/SourceSansPro-SemiboldItalic.ttf
= EOT =

I also noticed that there's a luatex-cache directory in $HOME, which
is strongly undesirable. (It should be $HOME/.luatex-cache, or reside
under /var/.)

Any ideas on why the font cannot be found? This was working until I
upgraded ConTeXt last night.

Thank you.
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

             reply	other threads:[~2015-12-02 23:36 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-02 23:36 Thangalin [this message]
2015-12-02 23:41 ` Thangalin
2015-12-03  0:14   ` Thangalin
2015-12-03  7:27     ` Philipp Gesang
2015-12-03 13:35       ` Hans Hagen
2015-12-03 17:39         ` Philipp Gesang
2015-12-03 21:29           ` Hans Hagen
2015-12-04  2:39             ` Thangalin
2015-12-06 21:14               ` Philipp Gesang
2015-12-06 21:44                 ` Hans Hagen
2015-12-08  0:22                   ` Philipp Gesang
2015-12-10 23:10                     ` talazem
2015-12-11  9:15                       ` talazem
2015-12-11 22:51                       ` talazem
2015-12-12 10:32                         ` Philipp Gesang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAANrE7pwHPq-fU0Zc-cF6NGYhB8n26VxB+GGcw6xzCyXsKTa5g@mail.gmail.com \
    --to=thangalin@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).