Re: [NTG-context] Problem using League of Moveable Type's Gothic font in simple project

2012-12-11 Thread Hans Hagen

On 12/11/2012 7:54 PM, Wolfgang Schuster wrote:


Am 11.12.2012 um 19:29 schrieb Pavneet Arora :


Hello,

I have a simple sign that I need to put together with a good title font.  
Since, I have been looking for a project to try out LoMT's Gothic 
(http://www.theleagueofmoveabletype.com/league-gothic) I thought that this 
would be a perfect opportunity.

Unfortunately, I am getting some errors from LuaTeX that I am unable to decipher.  The 
context file compiles successfully with other fonts such as Museo via the simplefonts 
mechanism.  Note that the errors come after the message: "otf loading > font loaded 
okay" and seems related to the adobe glyph list, which I am unfamiliar with.


I can reproduce the problem but it’s always useful to provide a minimal example 
for the problem.

\starttext
{\definedfont[file:LeagueGothic-Regular*default]Regular}
{\definedfont[file:LeagueGothic-Italic*default]Italic}
\stoptext



in font-otf.lua, around line 1061, you can add a check for name:

if not name then
-- in fact an error
report_otf("skipping weird lookup number %s",k)
elseif features then

(no beta today, I'm in the middle of some experiments)

Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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
___


Re: [NTG-context] Problem using League of Moveable Type's Gothic font in simple project

2012-12-11 Thread Wolfgang Schuster

Am 11.12.2012 um 19:29 schrieb Pavneet Arora :

> Hello,
> 
> I have a simple sign that I need to put together with a good title font.  
> Since, I have been looking for a project to try out LoMT's Gothic 
> (http://www.theleagueofmoveabletype.com/league-gothic) I thought that this 
> would be a perfect opportunity.
> 
> Unfortunately, I am getting some errors from LuaTeX that I am unable to 
> decipher.  The context file compiles successfully with other fonts such as 
> Museo via the simplefonts mechanism.  Note that the errors come after the 
> message: "otf loading > font loaded okay" and seems related to the adobe 
> glyph list, which I am unfamiliar with.

I can reproduce the problem but it’s always useful to provide a minimal example 
for the problem.

\starttext
{\definedfont[file:LeagueGothic-Regular*default]Regular}
{\definedfont[file:LeagueGothic-Italic*default]Italic}
\stoptext

Wolfgang
___
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
___


[NTG-context] Problem using League of Moveable Type's Gothic font in simple project

2012-12-11 Thread Pavneet Arora

Hello,

I have a simple sign that I need to put together with a good title font.  Since, 
I have been looking for a project to try out LoMT's Gothic 
(http://www.theleagueofmoveabletype.com/league-gothic) I thought that this would 
be a perfect opportunity.


Unfortunately, I am getting some errors from LuaTeX that I am unable to 
decipher.  The context file compiles successfully with other fonts such as Museo 
via the simplefonts mechanism.  Note that the errors come after the message: 
"otf loading > font loaded okay" and seems related to the adobe glyph list, 
which I am unfamiliar with.


Any guidance would be greatly appreciated.

-- Pavneet

>
ConTeXt  ver: 2012.12.10 23:20 MKIV  fmt: 2012.12.11  int: english/english

system  > cont-new.mkiv loaded
(/opt/context/tex/texmf-context/tex/context/base/cont-new.mkiv
system  > beware: some patches loaded from cont-new.mkiv
)
system  > files > jobname: electricalpanelwarning, input: 
electricalpanelwarning, result: electricalpanelwarning

fonts   > latin modern fonts are not preloaded
languages   > language en is active
(electricalpanelwarning.tex
resolvers   > modules > loaded: 'simplefonts'
(/opt/context/tex/texmf-modules/tex/context/third/simplefonts/t-simplefonts.mkiv
loading > ConTeXt User Module / Simplefonts
<+ 
/opt/context/tex/texmf-modules/tex/context/third/simplefonts/t-simplefonts.lua>)
fonts   > typescripts > unknown: library 'loc'
{/opt/context/tex/texmf/fonts/map/dvips/lm/lm-math.map}{/opt/context/tex/texmf/fonts/map/dvips/lm/lm-rm.map}{/opt/context/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map}
fonts   > otf loading > loading: 
/home/pavneet/.fonts/opentype/theleagueof-league-gothic-64c3ede/LeagueGothic-Regular.otf 
(hash: leaguegothic-regular)

fonts   > otf loading > font loaded okay
fonts   > otf loading > file size: 24472
fonts   > encoding > loading (extended) adobe glyph list
! LuaTeX error ...text/tex/texmf-context/tex/context/base/font-otf.lua:1095: 
table index is nil

stack traceback:
	...text/tex/texmf-context/tex/context/base/font-otf.lua:1095: in function 
'enhancer'

...text/tex/texmf-context/tex/context/base/font-otf.lua:260: in 
function 'enhance'
...text/tex/texmf-context/tex/context/base/font-otf.lua:282: in 
function 'apply'
...text/tex/texmf-context/tex/context/base/font-otf.lua:457: in 
function 'load'
	...text/tex/texmf-context/tex/context/base/font-otf.lua:1942: in function 
'otftotfm'
	...text/tex/texmf-context/tex/context/base/font-otf.lua:1969: in function 
<...text/tex/texmf-context/tex/context/base/font-otf.lua:1968>

(tail call): ?
(tail call): ?
(tail call): ?
...text/tex/texmf-context/tex/context/base/font-def.lua:299: in 
function 'loadfont'
...text/tex/texmf-context/tex/context/base/font-ctx.lua:469: in 
function 'loadfont'
...text/tex/texmf-context/tex/context/base/font-def.lua:413: in 
function 'read'
	...text/tex/texmf-context/tex/context/base/font-ctx.lua:965: in function 
'definefont_two'

<\directlua >:1: in main chunk.

system  > tex > error on line 8 in file electricalpanelwarning.tex: 
LuaTeX error  ...



--
-
- Pavneet Arora

Waroc Fine Audio + Custom Home Cinema
www.waroc.com  416.937.WAROC (9276)

___
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
___