ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Whacko font behaviour ? ( Or Am I ? :O)
@ 2008-07-14 19:22 Alan Stone
  2008-07-14 20:30 ` Wolfgang Schuster
  0 siblings, 1 reply; 4+ messages in thread
From: Alan Stone @ 2008-07-14 19:22 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 4130 bytes --]

ConTeXt  ver: 2008.07.10 08:40 MKIV  fmt: 2008.7.10  int: english/english

See test.tex in attachement.

The following combinations give the following results after compiling with

   texmfstart texexec --lua test.tex

-------------------------------------------------------------------------------

(1) \definefont[myChapterFont][myHeadingsFont sa 1.728]  % with

\setuphead[chapter][style=myChapterFont] % or
\setuphead[chapter][style=\myChapterFont] % or
\setuphead[chapter][style={\myChapterFont}]

generates the following compile error...

! Font \**myChapterFont**:=myHeadingsFont at 20.736pt not loadable: metric
data not found or bad.
<to be read again>
                   \relax
\dododefinefont ...ontspec {#2}\rawfontidentifier
                                                  \let
\localrelativefontsiz...
\dosetfontattribute ...me #1#2\@EA \endcsname \fi
                                                  \empty
\doplaceheadnumbertext ...bute {\??ko #1}\c!style
                                                  \getvalue {\??ko
#1\c!comm...
\dodododoconstructhead ...{\finalsectionnumber }}}
                                                  \writesection
{#1}{#3}{#4}...
l.54 \chapter{chapter test}

?
! Emergency stop.
<to be read again>
                   \relax
\dododefinefont ...ontspec {#2}\rawfontidentifier
                                                  \let
\localrelativefontsiz...
\dosetfontattribute ...me #1#2\@EA \endcsname \fi
                                                  \empty
\doplaceheadnumbertext ...bute {\??ko #1}\c!style
                                                  \getvalue {\??ko
#1\c!comm...
\dodododoconstructhead ...{\finalsectionnumber }}}
                                                  \writesection
{#1}{#3}{#4}...
l.54 \chapter{chapter test}

!  ==> Fatal error occurred, no output PDF file produced!

-------------------------------------------------------------------------------

(2) \definefont[myChapterFont][Sans sa 1.728]  % with

\setuphead[chapter][style=myChapterFont] % or
\setuphead[chapter][style=\myChapterFont] % or
\setuphead[chapter][style={\myChapterFont}]

displays the chapter heading with a scaled LMSans10-Regular font

-------------------------------------------------------------------------------

(3) this displays the chapter heading font correctly

\setuphead[chapter][style={\tfc\myHeadingsFont}]

-------------------------------------------------------------------------------

(4) \setuphead[chapter][style={\tfc\Sans}]

generates the following compile error...

! Undefined control sequence.
\@@kochapterstyle ->\tfc \Sans

\doifdefinedelse #1->\edef \p!defined {#1
                                         }\ifcsname \detokenize \@EA
{\p!def...
\doconvertfont #1->\doifdefinedelse {\@letter@ #1}
                                                   {\doifelsenothing
{#1}\go...
\dosetfontattribute ...me #1#2\@EA \endcsname \fi
                                                  \empty
\doplaceheadnumbertext ...bute {\??ko #1}\c!style
                                                  \getvalue {\??ko
#1\c!comm...
\dodododoconstructhead ...{\finalsectionnumber }}}
                                                  \writesection
{#1}{#3}{#4}...
l.54 \chapter{chapter test}

?
! Emergency stop.
\@@kochapterstyle ->\tfc \Sans

\doifdefinedelse #1->\edef \p!defined {#1
                                         }\ifcsname \detokenize \@EA
{\p!def...
\doconvertfont #1->\doifdefinedelse {\@letter@ #1}
                                                   {\doifelsenothing
{#1}\go...
\dosetfontattribute ...me #1#2\@EA \endcsname \fi
                                                  \empty
\doplaceheadnumbertext ...bute {\??ko #1}\c!style
                                                  \getvalue {\??ko
#1\c!comm...
\dodododoconstructhead ...{\finalsectionnumber }}}
                                                  \writesection
{#1}{#3}{#4}...
l.54 \chapter{chapter test}

!  ==> Fatal error occurred, no output PDF file produced!

-------------------------------------------------------------------------------


How come ?

Alan

[-- Attachment #1.2: Type: text/html, Size: 10076 bytes --]

[-- Attachment #2: test.tex --]
[-- Type: application/x-tex, Size: 2265 bytes --]

[-- Attachment #3: Type: text/plain, Size: 487 bytes --]

___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Whacko font behaviour ? ( Or Am I ? :O)
  2008-07-14 19:22 Whacko font behaviour ? ( Or Am I ? :O) Alan Stone
@ 2008-07-14 20:30 ` Wolfgang Schuster
  0 siblings, 0 replies; 4+ messages in thread
From: Wolfgang Schuster @ 2008-07-14 20:30 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 14.07.2008 um 21:22 schrieb Alan Stone:

> ConTeXt  ver: 2008.07.10 08:40 MKIV  fmt: 2008.7.10  int: english/ 
> english
>
> See test.tex in attachement.
>
> The following combinations give the following results after  
> compiling with
>
>   texmfstart texexec --lua test.tex
>
> -------------------------------------------------------------------------------
>
> (1) \definefont[myChapterFont][myHeadingsFont sa 1.728]  % with

You could either use a real font name like 'Arial' or a symbolic name
defined with \definefontsynonym like 'Serif', 'SerifBold', 'Sans',
'Dummy-Regular' etc. in the second argument of \definefont but not
the name for a font collection defined with \definetype, in your case

\definefont[myChapterFont][Sans sa 1.728]

or

\definefont[myChapterFont][DummyRegular sa 1.728]

> \setuphead[chapter][style=myChapterFont] % or
> \setuphead[chapter][style=\myChapterFont] % or
> \setuphead[chapter][style={\myChapterFont}]
>
> generates the following compile error...
>
> ! Font \**myChapterFont**:=myHeadingsFont at 20.736pt not loadable:  
> metric data not found or bad.
> <to be read again>
>                   \relax
> \dododefinefont ...ontspec {#2}\rawfontidentifier
>                                                  \let  
> \localrelativefontsiz...
> \dosetfontattribute ...me #1#2\@EA \endcsname \fi
>                                                  \empty
> \doplaceheadnumbertext ...bute {\??ko #1}\c!style
>                                                  \getvalue {\??ko  
> #1\c!comm...
> \dodododoconstructhead ...{\finalsectionnumber }}}
>                                                  \writesection {#1} 
> {#3}{#4}...
> l.54 \chapter{chapter test}
>
> ?
> ! Emergency stop.
> <to be read again>
>                   \relax
> \dododefinefont ...ontspec {#2}\rawfontidentifier
>                                                  \let  
> \localrelativefontsiz...
> \dosetfontattribute ...me #1#2\@EA \endcsname \fi
>                                                  \empty
> \doplaceheadnumbertext ...bute {\??ko #1}\c!style
>                                                  \getvalue {\??ko  
> #1\c!comm...
> \dodododoconstructhead ...{\finalsectionnumber }}}
>                                                  \writesection {#1} 
> {#3}{#4}...
> l.54 \chapter{chapter test}
>
> !  ==> Fatal error occurred, no output PDF file produced!
>
> -------------------------------------------------------------------------------
>
> (2) \definefont[myChapterFont][Sans sa 1.728]  % with
>
> \setuphead[chapter][style=myChapterFont] % or
> \setuphead[chapter][style=\myChapterFont] % or
> \setuphead[chapter][style={\myChapterFont}]
>
> displays the chapter heading with a scaled LMSans10-Regular font

This did happen because Latin Modern Sans is the default sans serif  
font,
you have to define a typescript with the desired font as sans style or  
you
use a symbolic name for 'myChapterFont', in your case 'Dummy-Regular'.

\starttypescript [myBodyFont]
    \definetypeface [myBodyFont] [rm] [serif] [myBodyFont] [default]
    \definetypeface [myBodyFont] [ss] [sans] [myHeadingsFont] [default]
\stoptypescript

works with the definition from you because it use now Arial as sans  
font.

> -------------------------------------------------------------------------------
>
> (3) this displays the chapter heading font correctly
>
> \setuphead[chapter][style={\tfc\myHeadingsFont}]
>
> -------------------------------------------------------------------------------
>
> (4) \setuphead[chapter][style={\tfc\Sans}]
>
> generates the following compile error...
>
> ! Undefined control sequence.
> \@@kochapterstyle ->\tfc \Sans
>
> \doifdefinedelse #1->\edef \p!defined {#1
>                                         }\ifcsname \detokenize \@EA  
> {\p!def...
> \doconvertfont #1->\doifdefinedelse {\@letter@ #1}
>                                                   {\doifelsenothing  
> {#1}\go...
> \dosetfontattribute ...me #1#2\@EA \endcsname \fi
>                                                  \empty
> \doplaceheadnumbertext ...bute {\??ko #1}\c!style
>                                                  \getvalue {\??ko  
> #1\c!comm...
> \dodododoconstructhead ...{\finalsectionnumber }}}
>                                                  \writesection {#1} 
> {#3}{#4}...
> l.54 \chapter{chapter test}
>
> ?
> ! Emergency stop.
> \@@kochapterstyle ->\tfc \Sans
>
> \doifdefinedelse #1->\edef \p!defined {#1
>                                         }\ifcsname \detokenize \@EA  
> {\p!def...
> \doconvertfont #1->\doifdefinedelse {\@letter@ #1}
>                                                   {\doifelsenothing  
> {#1}\go...
> \dosetfontattribute ...me #1#2\@EA \endcsname \fi
>                                                  \empty
> \doplaceheadnumbertext ...bute {\??ko #1}\c!style
>                                                  \getvalue {\??ko  
> #1\c!comm...
> \dodododoconstructhead ...{\finalsectionnumber }}}
>                                                  \writesection {#1} 
> {#3}{#4}...
> l.54 \chapter{chapter test}
>
> !  ==> Fatal error occurred, no output PDF file produced!

The correct definition is:

\setuphead[chapter][style={\tfc\ss}]


You should also read Aditya Mahajans about article about fonts:
http://wiki.contextgarden.net/Font_Switching
http://www.tug.org/TUGboat/Articles/tb28-2/tb89mahajan.pdf


Regards,
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Whacko font behaviour ? ( Or Am I ? :O)
@ 2008-07-16 16:00 Alan Stone
  0 siblings, 0 replies; 4+ messages in thread
From: Alan Stone @ 2008-07-16 16:00 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 6692 bytes --]

( 2nd and last attempt: message didn't get through )

Thanks a lot Wolfgang. There's still something I don't understand though...

Why does this not compile then ?

--------

\setuppapersize [A4][A4]

\starttypescript [serif] [myBodyFont]
    \definefontsynonym [myBodyFontRegular] [name:Times New Roman]
[features=default]
    \definefontsynonym [myBodyFontItalic] [name:Times New Roman Italic]
[features=default]
    \definefontsynonym [myBodyFontBold] [name:Times New Roman Bold]
[features=default]
    \definefontsynonym [myBodyFontBoldItalic] [name:Times New Roman Bold
Italic] [features=default]
\stoptypescript
\starttypescript [serif] [myBodyFont]
    \setups[font:fallback:serif]
    \definefontsynonym [Serif] [myBodyFontRegular]
    \definefontsynonym [SerifItalic] [myBodyFontItalic]
    \definefontsynonym [SerifBold] [myBodyFontBold]
    \definefontsynonym [SerifBoldItalic] [myBodyFontBoldItalic]
\stoptypescript
\starttypescript [myBodyFont]
    \definetypeface [myBodyFont] [rm] [serif] [myBodyFont] [default]
\stoptypescript

\starttypescript [sans] [myHeadingsFont]
    \definefontsynonym [myHeadingsFontRegular] [name:Arial]
[features=default]
    \definefontsynonym [myHeadingsFontItalic] [name:Arial Italic]
[features=default]
    \definefontsynonym [myHeadingsFontBold] [name:Arial Bold]
[features=default]
    \definefontsynonym [myHeadingsFontBoldItalic] [name:Arial Bold Italic]
[features=default]
\stoptypescript
\starttypescript [sans] [myHeadingsFont]
    \setups[font:fallback:sans]
    \definefontsynonym [Sans] [myHeadingsFontRegular]
    \definefontsynonym [SansItalic] [myHeadingsFontItalic]
    \definefontsynonym [SansBold] [myHeadingsFontBold]
    \definefontsynonym [SansBoldItalic] [myHeadingsFontBoldItalic]
\stoptypescript
\starttypescript [myHeadingsFont]
    \definetypeface [myHeadingsFont] [ss] [sans] [myHeadingsFont] [default]
\stoptypescript

\usetypescript[myBodyFont]
\usetypescript[myHeadingsFont]

\setupbodyfont[myBodyFont,12pt]

\definefont[myChapterFont][myHeadingsFontRegular sa 1.728]

%\setuphead[chapter][style=myChapterFont]      % compile error at line 49
\setuphead[chapter][style=\myChapterFont]  % compile error at line 49

\starttext

\chapter{chapter test}    % line 49

\section{section test}

text test

\stoptext

-------

ConTeXt  ver: 2008.07.10 08:40 MKIV  fmt: 2008.7.10  int: english/english

language       : language en is active
system         : cont-new loaded
(/opt/context/tex/texmf-context/tex/context/base/cont-new.tex
systems         : beware: some patches loaded from cont-new.tex
(/opt/context/tex/texmf-context/tex/context/base/cont-new.mkiv
lua            : used config path - /opt/context/tex/texmf/web2c/texmf.cnf
lua            : used cache path -
/opt/context/tex/texmf-cache/luatex-cache/context/9d2177de8a31df158f21be632b7742b7
) (/opt/context/tex/texmf-context/tex/context/base/cont-mtx.tex))
system         : cont-old loaded
(/opt/context/tex/texmf-context/tex/context/base/cont-old.tex
loading        : Context Old Macros
)
system         : cont-fil loaded
(/opt/context/tex/texmf-context/tex/context/base/cont-fil.tex
loading        : Context File Synonyms
)
system         : cont-sys loaded
(/opt/context/tex/texmf-context/tex/context/user/cont-sys.tex
(/opt/context/tex/texmf-context/tex/context/base/type-tmf.tex)
(/opt/context/tex/texmf-context/tex/context/base/type-siz.tex)
(/opt/context/tex/texmf-context/tex/context/base/type-otf.tex))
bodyfont       : 12pt rm is loaded
load otf | loading:
/opt/context/tex/texmf/fonts/opentype/public/lm/lmroman12-regular.otf
load otf | enhance: before
load otf | enhance: enrich
load otf | enhance: registering tlig feature
load otf | enhance: registering trep feature
load otf | enhance: flatten
load otf | flattening 'specifications' tables
load otf | flattening 'anchor' tables
load otf | flattening 'gpos' tables
load otf | flattening 'gsub' tables
load otf | enhance: analyze
load otf | enhance: after
load otf | replacing 'kerns' tables by 'mykerns' tables
load otf | enhance: patch
load otf | enhance: strip
load otf | enhance: pack
load otf | file size: 107060
load otf | saving: in cache(test.tex

( snip: file too big )

load otf | loading:
/opt/context/tex/texmf/fonts/truetype/msttcorefonts/timesbi.ttf
load otf | warning: Warning: Glyph 257 is named middot which should mean it
is mapped to
 Unicode U+00B7, but Glyph 194 already has that encoding.
load otf | warning: Glyph 915 is called ".notdef", a singularly inept choice
of name (only glyph 0
 may be called .notdef)
FontForge will rename it.
load otf | enhance: before
load otf | enhance: enrich
load otf | enhance: registering tlig feature
load otf | enhance: registering trep feature
load otf | enhance: flatten
load otf | flattening 'specifications' tables
load otf | flattening 'anchor' tables
load otf | flattening 'gpos' tables
load otf | flattening 'gsub' tables
load otf | enhance: analyze
load otf | enhance: after
load otf | replacing 'kerns' tables by 'mykerns' tables
load otf | enhance: patch
load otf | enhance: strip
load otf | enhance: pack
load otf | file size: 239692
load otf | saving: in cache (test.tuo) (test.tuo)
systems        : begin file test at line 47
define font | font with name myHeadingsFontRegular is not found
define font | unknown font myHeadingsFontRegular, loading aborted
! Font \**myChapterFont**:=myHeadingsFontRegular at 20.736pt not loadable:
metric data not found or bad.
<to be read again>
                   \relax
\dododefinefont ...ontspec {#2}\rawfontidentifier
                                                  \let
\localrelativefontsiz...
\dosetfontattribute ...me #1#2\@EA \endcsname \fi
                                                  \empty
\doplaceheadnumbertext ...bute {\??ko #1}\c!style
                                                  \getvalue {\??ko
#1\c!comm...
\dodododoconstructhead ...{\finalsectionnumber }}}
                                                  \writesection
{#1}{#3}{#4}...
l.49 \chapter{chapter test}

?
! Emergency stop.
<to be read again>
                   \relax
\dododefinefont ...ontspec {#2}\rawfontidentifier
                                                  \let
\localrelativefontsiz...
\dosetfontattribute ...me #1#2\@EA \endcsname \fi
                                                  \empty
\doplaceheadnumbertext ...bute {\??ko #1}\c!style
                                                  \getvalue {\??ko
#1\c!comm...
\dodododoconstructhead ...{\finalsectionnumber }}}
                                                  \writesection
{#1}{#3}{#4}...
l.49 \chapter{chapter test}

End of file on the terminal!

!  ==> Fatal error occurred, no output PDF file produced!

-------

Alan

[-- Attachment #1.2: Type: text/html, Size: 10698 bytes --]

[-- Attachment #2: Type: text/plain, Size: 487 bytes --]

___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Whacko font behaviour ? ( Or Am I ? :O)
@ 2008-07-16  9:36 Alan Stone
  0 siblings, 0 replies; 4+ messages in thread
From: Alan Stone @ 2008-07-16  9:36 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: text/plain, Size: 177 bytes --]

(resend: didn't get through yesterday)

Thanks a lot Wolfgang.

There's still something I don't understand...

Why does this not compile then: see the (new) attachements ?

Alan

[-- Attachment #2: test.tex --]
[-- Type: application/octet-stream, Size: 2094 bytes --]

\setuppapersize [A4][A4]

\starttypescript [serif] [myBodyFont]
    \definefontsynonym [myBodyFontRegular] [name:Times New Roman] [features=default]
    \definefontsynonym [myBodyFontItalic] [name:Times New Roman Italic] [features=default]
    \definefontsynonym [myBodyFontBold] [name:Times New Roman Bold] [features=default]
    \definefontsynonym [myBodyFontBoldItalic] [name:Times New Roman Bold Italic] [features=default]
\stoptypescript
\starttypescript [serif] [myBodyFont]
    \setups[font:fallback:serif]
    \definefontsynonym [Serif] [myBodyFontRegular]
    \definefontsynonym [SerifItalic] [myBodyFontItalic]
    \definefontsynonym [SerifBold] [myBodyFontBold]
    \definefontsynonym [SerifBoldItalic] [myBodyFontBoldItalic]
\stoptypescript
\starttypescript [myBodyFont]
    \definetypeface [myBodyFont] [rm] [serif] [myBodyFont] [default]
\stoptypescript

\starttypescript [sans] [myHeadingsFont]
    \definefontsynonym [myHeadingsFontRegular] [name:Arial] [features=default]
    \definefontsynonym [myHeadingsFontItalic] [name:Arial Italic] [features=default]
    \definefontsynonym [myHeadingsFontBold] [name:Arial Bold] [features=default]
    \definefontsynonym [myHeadingsFontBoldItalic] [name:Arial Bold Italic] [features=default]
\stoptypescript
\starttypescript [sans] [myHeadingsFont]
    \setups[font:fallback:sans]
    \definefontsynonym [Sans] [myHeadingsFontRegular]
    \definefontsynonym [SansItalic] [myHeadingsFontItalic]
    \definefontsynonym [SansBold] [myHeadingsFontBold]
    \definefontsynonym [SansBoldItalic] [myHeadingsFontBoldItalic]
\stoptypescript
\starttypescript [myHeadingsFont]
    \definetypeface [myHeadingsFont] [ss] [sans] [myHeadingsFont] [default]
\stoptypescript

\usetypescript[myBodyFont]
\usetypescript[myHeadingsFont]

\setupbodyfont[myBodyFont,12pt]

\definefont[myChapterFont][myHeadingsFontRegular sa 1.728]

%\setuphead[chapter][style=myChapterFont]      % compile error at line 49
\setuphead[chapter][style=\myChapterFont]  % compile error at line 49

\starttext

\chapter{chapter test}

\section{section test}

text test

\stoptext

[-- Attachment #3: test.log --]
[-- Type: application/octet-stream, Size: 4463 bytes --]

(test.tex

ConTeXt  ver: 2008.07.10 08:40 MKIV  fmt: 2008.7.10  int: english/english

language       : language en is active
system         : cont-new loaded
(/opt/context/tex/texmf-context/tex/context/base/cont-new.tex
systems         : beware: some patches loaded from cont-new.tex
(/opt/context/tex/texmf-context/tex/context/base/cont-new.mkiv
lua            : used config path - /opt/context/tex/texmf/web2c/texmf.cnf
lua            : used cache path - /opt/context/tex/texmf-cache/luatex-cache/context/9d2177de8a31df158f21be632b7742b7
) (/opt/context/tex/texmf-context/tex/context/base/cont-mtx.tex))
system         : cont-old loaded
(/opt/context/tex/texmf-context/tex/context/base/cont-old.tex
loading        : Context Old Macros
)
system         : cont-fil loaded
(/opt/context/tex/texmf-context/tex/context/base/cont-fil.tex
loading        : Context File Synonyms
)
system         : cont-sys loaded
(/opt/context/tex/texmf-context/tex/context/user/cont-sys.tex (/opt/context/tex/texmf-context/tex/context/base/type-tmf.tex) (/opt/context/tex/texmf-context/tex/context/base/type-siz.tex) (/opt/context/tex/texmf-context/tex/context/base/type-otf.tex))
bodyfont       : 12pt rm is loaded
load otf | loading: /opt/context/tex/texmf/fonts/opentype/public/lm/lmroman12-regular.otf
load otf | enhance: before
load otf | enhance: enrich
load otf | enhance: registering tlig feature
load otf | enhance: registering trep feature
load otf | enhance: flatten
load otf | flattening 'specifications' tables
load otf | flattening 'anchor' tables
load otf | flattening 'gpos' tables
load otf | flattening 'gsub' tables
load otf | enhance: analyze
load otf | enhance: after
load otf | replacing 'kerns' tables by 'mykerns' tables
load otf | enhance: patch
load otf | enhance: strip
load otf | enhance: pack
load otf | file size: 107060
load otf | saving: in cache(test.tex

( snip: file too big )

load otf | loading: /opt/context/tex/texmf/fonts/truetype/msttcorefonts/timesbi.ttf
load otf | warning: Warning: Glyph 257 is named middot which should mean it is mapped to
 Unicode U+00B7, but Glyph 194 already has that encoding.
load otf | warning: Glyph 915 is called ".notdef", a singularly inept choice of name (only glyph 0
 may be called .notdef)
FontForge will rename it.
load otf | enhance: before
load otf | enhance: enrich
load otf | enhance: registering tlig feature
load otf | enhance: registering trep feature
load otf | enhance: flatten
load otf | flattening 'specifications' tables
load otf | flattening 'anchor' tables
load otf | flattening 'gpos' tables
load otf | flattening 'gsub' tables
load otf | enhance: analyze
load otf | enhance: after
load otf | replacing 'kerns' tables by 'mykerns' tables
load otf | enhance: patch
load otf | enhance: strip
load otf | enhance: pack
load otf | file size: 239692
load otf | saving: in cache (test.tuo) (test.tuo)
systems        : begin file test at line 47
define font | font with name myHeadingsFontRegular is not found
define font | unknown font myHeadingsFontRegular, loading aborted
! Font \**myChapterFont**:=myHeadingsFontRegular at 20.736pt not loadable: metric data not found or bad.
<to be read again> 
                   \relax 
\dododefinefont ...ontspec {#2}\rawfontidentifier 
                                                  \let \localrelativefontsiz...
\dosetfontattribute ...me #1#2\@EA \endcsname \fi 
                                                  \empty 
\doplaceheadnumbertext ...bute {\??ko #1}\c!style 
                                                  \getvalue {\??ko #1\c!comm...
\dodododoconstructhead ...{\finalsectionnumber }}}
                                                  \writesection {#1}{#3}{#4}...
l.49 \chapter{chapter test}
                           
? 
! Emergency stop.
<to be read again> 
                   \relax 
\dododefinefont ...ontspec {#2}\rawfontidentifier 
                                                  \let \localrelativefontsiz...
\dosetfontattribute ...me #1#2\@EA \endcsname \fi 
                                                  \empty 
\doplaceheadnumbertext ...bute {\??ko #1}\c!style 
                                                  \getvalue {\??ko #1\c!comm...
\dodododoconstructhead ...{\finalsectionnumber }}}
                                                  \writesection {#1}{#3}{#4}...
l.49 \chapter{chapter test}
                           
End of file on the terminal!

!  ==> Fatal error occurred, no output PDF file produced!

[-- Attachment #4: Type: text/plain, Size: 487 bytes --]

___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-07-16 16:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-07-14 19:22 Whacko font behaviour ? ( Or Am I ? :O) Alan Stone
2008-07-14 20:30 ` Wolfgang Schuster
2008-07-16  9:36 Alan Stone
2008-07-16 16:00 Alan Stone

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).