From: Henning Hraban Ramm <texml@fiee.net>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Fonts not found
Date: Wed, 15 Mar 2017 08:27:06 +0100 [thread overview]
Message-ID: <6D23B56D-3C3C-422A-B6B9-3A0640D9D26A@fiee.net> (raw)
In-Reply-To: <9080A01C-B391-412B-AE06-BAC4FE7E2A35@fiee.net>
[-- Attachment #1: Type: text/plain, Size: 1503 bytes --]
Sorry for hijacking the other thread.
While I saw the same error message at some time, I seem to have a different problem.
Am 2017-03-15 um 08:17 schrieb Henning Hraban Ramm <texml@fiee.net>:
> There seem to be serious problems with font detection.
>
> I spent most of yesterday trying to convince ConTeXt to load my font, even from the same directory and even proven candidates like Gentium and Delicious – I get mostly only TeX Gyre Palladio Math :(
>
> While a simple example works:
>
> \usetypescriptfile[type-fiee]
> \usetypescript[fiee]
> \setupbodyfont[fiee,rm,9.5pt]
>
> \starttext
> \input tufte
> {\ss \input knuth }
> \stoptext
>
> The same code in an environment doesn’t. I tried force-reloading the font database several times, deleting the luatex cache, reverting to an older version - always the same. I’m out of resources now.
My log says only:
...
open source > level 5, order 6, name 'type-fiee.tex'
close source > level 5, order 6, name 'type-fiee.tex'
fonts > typescripts > unknown library 'default'
...
mkiv lua stats > loaded fonts: 3 files: latinmodern-math.otf, lmroman12-regular.otf, texgyrepagella-math.otf
mkiv lua stats > font engine: otf 3.027, afm 1.512, tfm 1.000, 10 instances, 3 shared in backend, 0 common vectors, 3 common hashes, load time 0.824 seconds
...
mkiv lua stats > luatex banner: this is luatex, version 1.0.3 (tex live 2017/dev)
I try to attach the typescript file.
Greetlings, Hraban
[-- Attachment #2: type-fiee.tex --]
[-- Type: application/octet-stream, Size: 5177 bytes --]
%
% Typescript for serif family sil gentium
% LuaTeX only!
%
\definefontfeature[fieefeatures]
[%mode=node,liga=yes,kern=yes,tlig=yes,
%ccmp=yes,language=dflt,
protrusion=quality,
expansion=quality]
\starttypescript[serif][gentium]
% \definefontsynonym[Gentium] [name:Gentium]
% \definefontsynonym[GentiumAlt] [name:GentiumAlt]
% \definefontsynonym[GentiumAltItalic][name:GentiumAlt Italic]
% \definefontsynonym[GentiumItalic] [name:Gentium Italic]
% \definefontsynonym[GentiumBold] [name:Gentium Basic Bold]
% \definefontsynonym[GentiumBoldItalic][name:Gentium Basic Bold Italic]
%
% \definefontsynonym[GentiumBook] [name:Gentium Basic Book]
% \definefontsynonym[GentiumBookItalic] [name:Gentium Basic Book Italic]
% \definefontsynonym[GentiumBookBold] [name:Gentium Basic Book Bold]
% \definefontsynonym[GentiumBookBoldItalic][name:Gentium Basic Book Bold Italic]
\definefontsynonym[Gentium][file:fonts/GenBasR.ttf]
\definefontsynonym[GentiumItalic][file:fonts/GenBasI.ttf]
\definefontsynonym[GentiumBold][file:fonts/GenBasB.ttf]
\definefontsynonym[GentiumBoldItalic][file:fonts/GenBasBI.ttf]
\stoptypescript
\starttypescript[sans][delicious]
\definefontsynonym[Delicious] [file:fonts/Delicious-Roman.otf]
\definefontsynonym[Delicious-Italic] [file:fonts/Delicious-Italic.otf]
\definefontsynonym[Delicious-Bold] [file:fonts/Delicious-Bold.otf]
\definefontsynonym[Delicious-BoldItalic] [file:fonts/Delicious-BoldItalic.otf]
\definefontsynonym[Delicious-SmallCaps] [file:fonts/Delicious-SmallCaps.otf]
\definefontsynonym[Delicious-Heavy] [file:fonts/Delicious-Heavy.otf]
% \definefontsynonym[Delicious] [name:deliciousroman]
% \definefontsynonym[Delicious-Italic] [name:deliciousitalic]
% \definefontsynonym[Delicious-Bold] [name:deliciousbold]
% \definefontsynonym[Delicious-BoldItalic] [name:deliciousbolditalic]
% \definefontsynonym[Delicious-SmallCaps] [name:delicioussmallcaps]
% \definefontsynonym[Delicious-Heavy] [name:deliciousheavy]
\stoptypescript
\starttypescript[serif][gentium][name]
%\setups[font:fallback:serif]
\definefontsynonym[Serif] [Gentium]
\definefontsynonym[SerifBold] [GentiumBold]
\definefontsynonym[SerifItalic] [GentiumItalic]
\definefontsynonym[SerifBoldItalic] [GentiumBoldItalic]
\definefontsynonym[SerifSlanted] [GentiumItalic]
\definefontsynonym[SerifBoldSlanted][GentiumBoldItalic]
%\definefontsynonym[SerifCaps] [GentiumAlt]
%\definefontsynonym[SerifBoldCaps] [SerifItalic]
%\definefontsynonym[SerifOldstyle] [SerifItalic]
% markup of \Var[alt] results in a (subtle) font switch:
%\definefontvariant [Serif] [alt] [Alt]
% unfortunately you need to define eight synonyms to handle the fallback cases:
\definefontsynonym [SerifRegular] [Serif]
\definefontsynonym [SerifRegularAlt] [SerifAlt]
\definefontsynonym[SerifAlt] [GentiumAlt]
\definefontsynonym[SerifAltItalic] [GentiumAltItalic]
%\definefontsynonym [SerifBoldAlt] [SerifAlt]
%\definefontsynonym [SerifCapsAlt] [SerifAlt]
\definefontsynonym [SerifItalicAlt] [SerifItalicAlt]
\definefontsynonym [SerifSlantedAlt] [SerifItalicAlt]
\definefontsynonym [SerifBoldItalicAlt] [SerifItalicAlt]
\definefontsynonym [SerifBoldSlantedAlt] [SerifItalicAlt]
% \Var[book] is slightly bolder:
%\definefontvariant [Serif] [book] [Book]
\definefontsynonym[SerifBook] [GentiumBook]
\definefontsynonym[SerifBoldBook] [GentiumBook]
\definefontsynonym[SerifItalicBook] [GentiumBookItalic]
\definefontsynonym[SerifBoldItalicBook] [GentiumBookBoldItalic]
\definefontsynonym[SerifSlantedBook] [GentiumBookItalic]
\definefontsynonym[SerifBoldSlantedBook][GentiumBookBoldItalic]
%\definefontsynonym[SerifCapsBook] [GentiumBook]
%\definefontsynonym[SerifBoldCapsBook] [SerifItalicBook]
%\definefontsynonym[SerifOldstyleBook] [SerifItalicBook]
\definefontsynonym [SerifRegularBook] [SerifBook]
\definefontsynonym [SerifBoldBook] [SerifBook]
%\definefontsynonym [SerifCapsBook] [SerifBook]
\definefontsynonym [SerifItalicBook] [SerifItalicBook]
\definefontsynonym [SerifSlantedBook] [SerifItalicBook]
\definefontsynonym [SerifBoldItalicBook] [SerifBoldItalicBook]
\definefontsynonym [SerifBoldSlantedBook] [SerifBoldItalicBook]
\stoptypescript
\starttypescript[sans][delicious][name]
%\setups[font:fallback:sans]
\definefontsynonym[Sans][Delicious][features=fieefeatures]
\definefontsynonym[SansItalic][Delicious-Italic][features=fieefeatures]
\definefontsynonym[SansSlanted][Delicious-Italic][features=fieefeatures]
\definefontsynonym[SansBold][Delicious-Bold][features=fieefeatures]
\definefontsynonym[SansBoldItalic][Delicious-BoldItalic][features=fieefeatures]
\definefontsynonym[SansBoldSlanted][Delicious-BoldItalic][features=fieefeatures]
\definefontsynonym[SansCaps][Delicious-SmallCaps][features=fieefeatures]
\stoptypescript
\starttypescript [fiee-gendel]
\definetypeface [fiee] [rm] [serif] [gentium] [default]
\definetypeface [fiee] [ss] [sans] [delicious] [default][rscale=0.9]
\definetypeface [fiee] [tt] [mono] [default] [default]
\definetypeface [fiee] [mm] [math] [palatino] [default]
\stoptypescript
[-- Attachment #3: Type: text/plain, Size: 492 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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2017-03-15 7:27 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-09 9:33 The requested font has no files for the 'tf' alternative Marco Patzer
2017-03-10 0:13 ` Vladimir Lomov
2017-03-10 8:57 ` Marco Patzer
2017-03-10 16:12 ` Pablo Rodriguez
2017-03-13 20:55 ` Marco Patzer
2017-03-13 21:10 ` Pablo Rodriguez
2017-03-14 8:26 ` Marco Patzer
2017-03-14 20:39 ` Wolfgang Schuster
2017-03-14 22:44 ` Marco Patzer
2017-03-15 7:17 ` Henning Hraban Ramm
2017-03-15 7:27 ` Henning Hraban Ramm [this message]
2017-03-16 21:28 ` Fonts not found Henning Hraban Ramm
2017-03-15 11:56 ` The requested font has no files for the 'tf' alternative Marco Patzer
2017-03-15 18:10 ` Pablo Rodriguez
2017-03-15 18:26 ` Wolfgang Schuster
2017-03-15 20:37 ` Marco Patzer
-- strict thread matches above, loose matches on Subject: below --
2010-06-27 16:49 fonts not found Ciro
2010-06-27 23:21 ` Ciro
2001-01-28 9:11 Fonts " Johannes H?sing
2001-01-28 22:08 ` Hans Hagen
2001-01-29 22:34 ` Johannes H?sing
2001-01-30 17:42 ` Hans Hagen
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=6D23B56D-3C3C-422A-B6B9-3A0640D9D26A@fiee.net \
--to=texml@fiee.net \
--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).