* The requested font has no files for the 'tf' alternative
@ 2017-03-09 9:33 Marco Patzer
2017-03-10 0:13 ` Vladimir Lomov
` (2 more replies)
0 siblings, 3 replies; 22+ messages in thread
From: Marco Patzer @ 2017-03-09 9:33 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hi!
I run into a problem using some fonts. Latin Modern is used instead
and ConTeXt displays:
selectfont > The requested font 'Caecilia LT Std Roman' has no files for the 'tf' alternative, Latin Modern is used instead.
Example:
\definefontfamily
[mainface]
[rm]
[Caecilia LT Std Roman]
%% doesn't work, either
%% [tf=file:CaeciliaLTStd-Roman.otf]
\setupbodyfont [mainface]
\starttext
%% \definedfont [name:CaeciliaLTStd-Roman] %% this works
\input knuth
\stoptext
The font is in the database:
mtxrun -script fonts -list -all caecilia
This happens with other fonts too, not only Caecilia. Some fonts
work, others don't. Couldn't find anything on the list, so I might
be doing something wrong here. What's the issue here?
context: 2017.03.02 22:23
Marco
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: The requested font has no files for the 'tf' alternative
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-14 20:39 ` Wolfgang Schuster
2 siblings, 1 reply; 22+ messages in thread
From: Vladimir Lomov @ 2017-03-10 0:13 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hello
** Marco Patzer [2017-03-09 10:33:34 +0100]:
> Hi!
>
> I run into a problem using some fonts. Latin Modern is used instead
> and ConTeXt displays:
>
> selectfont > The requested font 'Caecilia LT Std Roman' has no files for the 'tf' alternative, Latin Modern is used instead.
>
> Example:
>
> \definefontfamily
> [mainface]
> [rm]
> [Caecilia LT Std Roman]
> %% doesn't work, either
> %% [tf=file:CaeciliaLTStd-Roman.otf]
>
> \setupbodyfont [mainface]
>
> \starttext
> %% \definedfont [name:CaeciliaLTStd-Roman] %% this works
> \input knuth
> \stoptext
>
> The font is in the database:
>
> mtxrun -script fonts -list -all caecilia
>
> This happens with other fonts too, not only Caecilia. Some fonts
> work, others don't. Couldn't find anything on the list, so I might
> be doing something wrong here. What's the issue here?
>
> context: 2017.03.02 22:23
>
> Marco
Some time ago I faced the same problem: I tried to use one of Microsoft
font but it didn't work, the only thing I saw in log was the same
message. I solved the problem by deleting "font cache"
luatex-cache/context/HASH/fonts
and generating it again
mtxrun --script fonts --reload --force
(may be with '--force' option you may not delete the "cache" but it
didn't hurt anyway).
Hope this will help you.
---
WBR, Vladimir Lomov
--
This is Jim Rockford.
At the tone leave your name and message; I'll get back to you.\a
This is Maria, Liberty Bail Bonds. Your client, Todd Lieman, skipped and
his bail is forfeit. That's the pink slip on your '74 Firebird, I believe.
Sorry, Jim, bring it on over.
This is Marilyn Reed, I wanta talk to you... Is this a machine? I don't
talk to machines! [Click]
-- "The Rockford Files"
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: The requested font has no files for the 'tf' alternative
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 16:12 ` Pablo Rodriguez
2017-03-13 20:55 ` Marco Patzer
2017-03-14 20:39 ` Wolfgang Schuster
2 siblings, 1 reply; 22+ messages in thread
From: Pablo Rodriguez @ 2017-03-10 16:12 UTC (permalink / raw)
To: mailing list for ConTeXt users
On 03/09/2017 10:33 AM, Marco Patzer wrote:
> \definefontfamily
> [mainface]
> [rm]
> [Caecilia LT Std Roman]
> %% doesn't work, either
> %% [tf=file:CaeciliaLTStd-Roman.otf]
> [...]
> %% \definedfont [name:CaeciliaLTStd-Roman] %% this works
Hi Marco,
how about the following?
\definefontfamily[mainface][rm][Caecilia LT Std-Roman]
What it works is a different font name. And I guess that Roman isn’t
part of the font name, but this is the style.
Just in case it might help,
Pablo
--
http://www.ousia.tk
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: The requested font has no files for the 'tf' alternative
2017-03-10 16:12 ` Pablo Rodriguez
@ 2017-03-13 20:55 ` Marco Patzer
2017-03-13 21:10 ` Pablo Rodriguez
0 siblings, 1 reply; 22+ messages in thread
From: Marco Patzer @ 2017-03-13 20:55 UTC (permalink / raw)
To: ntg-context
On Fri, 10 Mar 2017 17:12:36 +0100
Pablo Rodriguez <oinos@gmx.es> wrote:
> On 03/09/2017 10:33 AM, Marco Patzer wrote:
> > \definefontfamily
> > [mainface]
> > [rm]
> > [Caecilia LT Std Roman]
> > %% doesn't work, either
> > %% [tf=file:CaeciliaLTStd-Roman.otf]
> > [...]
> > %% \definedfont [name:CaeciliaLTStd-Roman] %% this works
>
> Hi Marco,
>
> how about the following?
>
> \definefontfamily[mainface][rm][Caecilia LT Std-Roman]
This also shows:
selectfont > The requested font 'Caecilia LT Std-Roman' has no files for the 'tf' alternative, Latin Modern is used instead.
> What it works is a different font name. And I guess that Roman isn’t
> part of the font name, but this is the style.
otfinfo -i CaeciliaLTStd-Roman.otf | grep name
Full name: CaeciliaLTStd-Roman
PostScript name: CaeciliaLTStd-Roman
Mac font menu name: Caecilia LT Std Roman
Marco
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: The requested font has no files for the 'tf' alternative
2017-03-13 20:55 ` Marco Patzer
@ 2017-03-13 21:10 ` Pablo Rodriguez
2017-03-14 8:26 ` Marco Patzer
0 siblings, 1 reply; 22+ messages in thread
From: Pablo Rodriguez @ 2017-03-13 21:10 UTC (permalink / raw)
To: mailing list for ConTeXt users
On 03/13/2017 09:55 PM, Marco Patzer wrote:
> On Fri, 10 Mar 2017 17:12:36 +0100 Pablo Rodriguez wrote:
>> [...]
>> \definefontfamily[mainface][rm][Caecilia LT Std-Roman]
>
> This also shows:
>
> selectfont > The requested font 'Caecilia LT Std-Roman' has no files
> for the 'tf' alternative, Latin Modern is used instead.
>
>> What it works is a different font name. And I guess that Roman isn’t
>> part of the font name, but this is the style.
>
> otfinfo -i CaeciliaLTStd-Roman.otf | grep name
> Full name: CaeciliaLTStd-Roman
> PostScript name: CaeciliaLTStd-Roman
> Mac font menu name: Caecilia LT Std Roman
\definefontfamily[mainface][rm][CaeciliaLTStd-Roman]
I guess the full name should work. But I’m only guessing.
Pablo
--
http://www.ousia.tk
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: The requested font has no files for the 'tf' alternative
2017-03-13 21:10 ` Pablo Rodriguez
@ 2017-03-14 8:26 ` Marco Patzer
0 siblings, 0 replies; 22+ messages in thread
From: Marco Patzer @ 2017-03-14 8:26 UTC (permalink / raw)
To: ntg-context
On Mon, 13 Mar 2017 22:10:56 +0100
Pablo Rodriguez <oinos@gmx.es> wrote:
> On 03/13/2017 09:55 PM, Marco Patzer wrote:
> > On Fri, 10 Mar 2017 17:12:36 +0100 Pablo Rodriguez wrote:
> >> [...]
> >> \definefontfamily[mainface][rm][Caecilia LT Std-Roman]
> >
> > This also shows:
> >
> > selectfont > The requested font 'Caecilia LT Std-Roman' has no files
> > for the 'tf' alternative, Latin Modern is used instead.
> >
> >> What it works is a different font name. And I guess that Roman
> >> isn’t part of the font name, but this is the style.
> >
> > otfinfo -i CaeciliaLTStd-Roman.otf | grep name
> > Full name: CaeciliaLTStd-Roman
> > PostScript name: CaeciliaLTStd-Roman
> > Mac font menu name: Caecilia LT Std Roman
>
> \definefontfamily[mainface][rm][CaeciliaLTStd-Roman]
>
> I guess the full name should work. But I’m only guessing.
Sadly it does not.
Marco
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: The requested font has no files for the 'tf' alternative
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 16:12 ` Pablo Rodriguez
@ 2017-03-14 20:39 ` Wolfgang Schuster
2017-03-14 22:44 ` Marco Patzer
2 siblings, 1 reply; 22+ messages in thread
From: Wolfgang Schuster @ 2017-03-14 20:39 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 3548 bytes --]
Hi Marco,
there is a differenece between the family name of a font (which is used
by \definefontfamily) and the individual name of a font. The differences
between both names can be explained with a with a (kind of) real family.
For my example I use the main cast of the Simpsons.
Surname : Simpson
Grandfather : Abraham Simpson
Grandmother : Mona Simpson
Father : Homer Simpson
Mother : Marge Simpson
Son : Bart Simpson
Daughter : Lisa Simpson
All members of the family use the same surname but each of them has also
its individual name, the same system can be applied to your font collection.
Family: Caecilia LT Std
Light : Caecilia LT Std Light
Lightitalic : Caecilia LT Std Light Italic
Regular : Caecilia LT Std Roman
Italic : Caecilia LT Std Italic
Bold : Caecilia LT Std Bold
Bolditalic : Caecilia LT Std Bold Italic
Heavy : Caecilia LT Std Heavy
Heavyitalic : Caecilia LT Std Heavy Italic
Each font of your collection has its individual name, e.g. the regular
style has the name “Caecilia LT Std Roman” but all styles use the same
name for the family (i.e. “Caecilia LT Std”) which is used by
\definefontfamily.
When you now used a individual name instead of the family name for
\definefontfamily you should get a message in log for the correct name,
e.g. the following example
\definefontfamily[mainface][rm][TeX Gyre Pagella Regular]
\setupbodyfont[mainface]
\starttext
Font test!
\stoptext
shows this in the log
selectfont > The name 'texgyrepagellaregular' is not a proper
family name, use 'texgyrepagella' instead.
selectfont > The requested font 'TeX Gyre Pagella Regular' has no
files for the 'tf' alternative, Latin Modern is used instead.
which tells you to use “texgyrepagella” for the \definefontfamily command.
Wolfgang
> Marco Patzer <mailto:lists@homerow.info>
> 9. März 2017 um 10:33via Postbox
> <https://www.postbox-inc.com/?utm_source=email&utm_medium=sumlink&utm_campaign=reach>
> Hi!
>
> I run into a problem using some fonts. Latin Modern is used instead
> and ConTeXt displays:
>
> selectfont > The requested font 'Caecilia LT Std Roman' has no files
> for the 'tf' alternative, Latin Modern is used instead.
>
> Example:
>
> \definefontfamily
> [mainface]
> [rm]
> [Caecilia LT Std Roman]
> %% doesn't work, either
> %% [tf=file:CaeciliaLTStd-Roman.otf]
>
> \setupbodyfont [mainface]
>
> \starttext
> %% \definedfont [name:CaeciliaLTStd-Roman] %% this works
> \input knuth
> \stoptext
>
> The font is in the database:
>
> mtxrun -script fonts -list -all caecilia
>
> This happens with other fonts too, not only Caecilia. Some fonts
> work, others don't. Couldn't find anything on the list, so I might
> be doing something wrong here. What's the issue here?
>
> context: 2017.03.02 22:23
>
> Marco
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
--
Sent from Postbox
<https://www.postbox-inc.com/?utm_source=email&utm_medium=siglink&utm_campaign=reach>
[-- Attachment #1.2: Type: text/html, Size: 5719 bytes --]
[-- Attachment #2: 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: The requested font has no files for the 'tf' alternative
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 11:56 ` The requested font has no files for the 'tf' alternative Marco Patzer
0 siblings, 2 replies; 22+ messages in thread
From: Marco Patzer @ 2017-03-14 22:44 UTC (permalink / raw)
To: ntg-context
On Tue, 14 Mar 2017 21:39:34 +0100
Wolfgang Schuster <schuster.wolfgang@gmail.com> wrote:
> [...]
Thanks for the explanation, Wolfgang.
> Each font of your collection has its individual name, e.g. the
> regular style has the name “Caecilia LT Std Roman” but all styles use
> the same name for the family (i.e. “Caecilia LT Std”) which is used
> by \definefontfamily.
That makes sense.
> When you now used a individual name instead of the family name for
> \definefontfamily you should get a message in log for the correct
> name, e.g. the following example
>
> \definefontfamily[mainface][rm][TeX Gyre Pagella Regular]
>
> \setupbodyfont[mainface]
>
> \starttext
> Font test!
> \stoptext
>
> shows this in the log
>
> selectfont > The name 'texgyrepagellaregular' is not a proper
> family name, use 'texgyrepagella' instead.
> selectfont > The requested font 'TeX Gyre Pagella Regular' has
> no files for the 'tf' alternative, Latin Modern is used instead.
>
> which tells you to use “texgyrepagella” for the \definefontfamily
> command.
Your example works for me. But it's still unclear what I'm doing
wrong. According to your explanation this should work:
\definefontfamily
[mainface]
[rm]
[Caecilia LT Std]
[tf=Caecilia LT Std Roman]
However, it shows:
selectfont > The requested font 'Caecilia LT Std' has no files for the 'tf' alternative, Latin Modern is used instead.
It appears that ConTeXt somehow can't find the font.
Marco
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: The requested font has no files for the 'tf' alternative
2017-03-14 22:44 ` Marco Patzer
@ 2017-03-15 7:17 ` Henning Hraban Ramm
2017-03-15 7:27 ` Fonts not found Henning Hraban Ramm
2017-03-15 11:56 ` The requested font has no files for the 'tf' alternative Marco Patzer
1 sibling, 1 reply; 22+ messages in thread
From: Henning Hraban Ramm @ 2017-03-15 7:17 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 2017-03-14 um 23:44 schrieb Marco Patzer <lists@homerow.info>:
> selectfont > The requested font 'Caecilia LT Std' has no files for the 'tf' alternative, Latin Modern is used instead.
>
> It appears that ConTeXt somehow can't find the font.
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.
Greetlings, Hraban
---
http://www.fiee.net
http://wiki.contextgarden.net
GPG Key ID 1C9B22FD
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 22+ messages in thread
* Fonts not found
2017-03-15 7:17 ` Henning Hraban Ramm
@ 2017-03-15 7:27 ` Henning Hraban Ramm
2017-03-16 21:28 ` Henning Hraban Ramm
0 siblings, 1 reply; 22+ messages in thread
From: Henning Hraban Ramm @ 2017-03-15 7:27 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: Fonts not found
2017-03-15 7:27 ` Fonts not found Henning Hraban Ramm
@ 2017-03-16 21:28 ` Henning Hraban Ramm
0 siblings, 0 replies; 22+ messages in thread
From: Henning Hraban Ramm @ 2017-03-16 21:28 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 2017-03-15 um 08:27 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)
Ahoi,
while I found a workaround for my problem, I still don’t understand the cause:
– I defined a family of Gentium and Delicious in a typescript file (as attached in my previous post),
– If I load this in a minimal example, as above, all is well.
– If I load this in an environment, the fonts are ignored. There are no error messages.
– If I change the font size from 9.5pt to any integer size, it works!
Does this ring any bells? What’s wrong with decimal font sizes, and why only in a project setup?
Greetlings, Hraban
---
http://www.fiee.net
http://wiki.contextgarden.net
GPG Key ID 1C9B22FD
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: The requested font has no files for the 'tf' alternative
2017-03-14 22:44 ` Marco Patzer
2017-03-15 7:17 ` Henning Hraban Ramm
@ 2017-03-15 11:56 ` Marco Patzer
2017-03-15 18:10 ` Pablo Rodriguez
1 sibling, 1 reply; 22+ messages in thread
From: Marco Patzer @ 2017-03-15 11:56 UTC (permalink / raw)
To: ntg-context
On Tue, 14 Mar 2017 23:44:29 +0100
Marco Patzer <lists@homerow.info> wrote:
> Your example works for me. But it's still unclear what I'm doing
> wrong. According to your explanation this should work:
>
> \definefontfamily
> [mainface]
> [rm]
> [Caecilia LT Std]
> [tf=Caecilia LT Std Roman]
>
> However, it shows:
>
> selectfont > The requested font 'Caecilia LT Std' has no files for
> the 'tf' alternative, Latin Modern is used instead.
>
> It appears that ConTeXt somehow can't find the font.
Thanks to Wolfgang's assistance I figured that the syntax in my OP
was correct and the issue is with my installation. It works for me
in a virgin installation, but throws the abovementioned error in my
current installation.
I don't know what borked my installation and why it only affected
some fonts and not others.
So sorry for the noise and thanks for quick responses.
Marco
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 22+ messages in thread
* fonts not found
@ 2010-06-27 16:49 Ciro
2010-06-27 23:21 ` Ciro
0 siblings, 1 reply; 22+ messages in thread
From: Ciro @ 2010-06-27 16:49 UTC (permalink / raw)
To: ntg-context
Ok , I changed the subject:
I just installed ConTeXt minimals, but my fonts are not found now:
"define fonts > font with name Barnard-Oblique is not found"
font files are there, but some how context can't see them.
I ran "context --generate" and got lines like this:
MTXrun | resolvers: not saving runtime tree
'tree:////home/ciro/context/tex/texmf-fonts'
MTXrun | resolvers: not saving runtime tree
'tree:////home/ciro/context/tex/texmf-local'
MTXrun | resolvers: not saving runtime tree
'tree:////home/ciro/context/tex/texmf-linux'
MTXrun | resolvers: not saving runtime tree
'tree:////home/ciro/context/tex/texmf-context
and also ran "mtxrun --script fonts --reload" and got lines like this:
MTXrun | fontnames: scanning /home/ciro/context/tex/texmf for AFM files
MTXrun | fontnames: 3323 entries found, 0 AFM files checked, 0 okay
MTXrun | fontnames: globbing path /home/ciro/.fonts/**.ttf
MTXrun | fontnames: identifying system font files with suffix TTF
MTXrun | fontnames: globbing path /home/ciro/.fonts/**.TTF
MTXrun | fontnames: 639 system files identified, 39 skipped, 39
duplicates, 600 hash entries added
My fonts are in $HOME/.fonts (lunix/ubuntu)
I don't use typescripts. I use
\definefontsynonym [baob] [file:Barnard-Oblique] [features=default]
what should I do?
thank you
Ciro
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: fonts not found
2010-06-27 16:49 fonts not found Ciro
@ 2010-06-27 23:21 ` Ciro
0 siblings, 0 replies; 22+ messages in thread
From: Ciro @ 2010-06-27 23:21 UTC (permalink / raw)
To: ntg-context
Never mind... Problem solved.
I re-installed everything and my fonts are recognized with no problem.
thank you
Ciro
On Sun, Jun 27, 2010 at 12:49 PM, Ciro <ciro@kavyata.com> wrote:
> Ok , I changed the subject:
>
> I just installed ConTeXt minimals, but my fonts are not found now:
>
> "define fonts > font with name Barnard-Oblique is not found"
>
> font files are there, but some how context can't see them.
>
> I ran "context --generate" and got lines like this:
>
> MTXrun | resolvers: not saving runtime tree
> 'tree:////home/ciro/context/tex/texmf-fonts'
> MTXrun | resolvers: not saving runtime tree
> 'tree:////home/ciro/context/tex/texmf-local'
> MTXrun | resolvers: not saving runtime tree
> 'tree:////home/ciro/context/tex/texmf-linux'
> MTXrun | resolvers: not saving runtime tree
> 'tree:////home/ciro/context/tex/texmf-context
>
>
> and also ran "mtxrun --script fonts --reload" and got lines like this:
>
> MTXrun | fontnames: scanning /home/ciro/context/tex/texmf for AFM files
> MTXrun | fontnames: 3323 entries found, 0 AFM files checked, 0 okay
>
> MTXrun | fontnames: globbing path /home/ciro/.fonts/**.ttf
> MTXrun | fontnames: identifying system font files with suffix TTF
> MTXrun | fontnames: globbing path /home/ciro/.fonts/**.TTF
> MTXrun | fontnames: 639 system files identified, 39 skipped, 39
> duplicates, 600 hash entries added
>
> My fonts are in $HOME/.fonts (lunix/ubuntu)
>
> I don't use typescripts. I use
>
> \definefontsynonym [baob] [file:Barnard-Oblique] [features=default]
>
> what should I do?
>
> thank you
> Ciro
>
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 22+ messages in thread
* Fonts not found
@ 2001-01-28 9:11 Johannes H?sing
2001-01-28 22:08 ` Hans Hagen
0 siblings, 1 reply; 22+ messages in thread
From: Johannes H?sing @ 2001-01-28 9:11 UTC (permalink / raw)
Hi all,
I recently decided rto change from the SuSE Linux to the Debian
GNU/Linux distribution. I was dissatisfied with the version of ConTeXt
on the latter and installed a new ConTeXt on the TEXLOCAL tree.
Since then, I get disturbing messages running ConTeXt like
"Warning: cont-en (file cmr8): Font cmr8 at 720 not found"
and even more disturbing output (ugly pixelish fonts), even though the
font files seem to be there: "locate cmr8.pfb" gets me
/usr/share/texmf/fonts/type1/bluesky/cm/cmr8.pfb.
Looking at the log I see that all paths mentioned use the TEXLOCAL
tree. The only exception is /usr/share/texmf/pdftex/config/pdftex.cfg.
Oh yes, and cmr8.pfb is mapped to cmr8 in pdftex.map.
Could anyone guess what I might have been doing wrong here?
Thanks very much
Johannes
--
Johannes Hüsing <hannes@ruhrau.de> /"\ ASCII-Ribbon Campaign
\ / against HTML in
X e-mail and news
/ \
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: Fonts not found
2001-01-28 9:11 Fonts " Johannes H?sing
@ 2001-01-28 22:08 ` Hans Hagen
2001-01-29 22:34 ` Johannes H?sing
0 siblings, 1 reply; 22+ messages in thread
From: Hans Hagen @ 2001-01-28 22:08 UTC (permalink / raw)
Cc: ntg-context
At 10:11 AM 1/28/01 +0100, Johannes H?sing wrote:
>Hi all,
>
>I recently decided rto change from the SuSE Linux to the Debian
>GNU/Linux distribution. I was dissatisfied with the version of ConTeXt
>on the latter and installed a new ConTeXt on the TEXLOCAL tree.
>
>Since then, I get disturbing messages running ConTeXt like
>"Warning: cont-en (file cmr8): Font cmr8 at 720 not found"
>and even more disturbing output (ugly pixelish fonts), even though the
>font files seem to be there: "locate cmr8.pfb" gets me
>/usr/share/texmf/fonts/type1/bluesky/cm/cmr8.pfb.
>
>Looking at the log I see that all paths mentioned use the TEXLOCAL
>tree. The only exception is /usr/share/texmf/pdftex/config/pdftex.cfg.
>Oh yes, and cmr8.pfb is mapped to cmr8 in pdftex.map.
This is unrelated to context. Are you sure that the pdf config file
includes a proper map file from the right path? There have been changes
(long ago) in the location of those paths. Also set up:
set TEXMFLOCAL=...
set TEXMFMAIN=...
set TEXMFCNF=...
Hans
-------------------------------------------------------------------------
Hans Hagen | PRAGMA ADE | pragma@wxs.nl
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: Fonts not found
2001-01-28 22:08 ` Hans Hagen
@ 2001-01-29 22:34 ` Johannes H?sing
2001-01-30 17:42 ` Hans Hagen
0 siblings, 1 reply; 22+ messages in thread
From: Johannes H?sing @ 2001-01-29 22:34 UTC (permalink / raw)
On Sun, Jan 28, 2001 at 11:08:57PM +0100, Hans Hagen wrote:
> At 10:11 AM 1/28/01 +0100, Johannes H?sing wrote:
[...]
> >Since then, I get disturbing messages running ConTeXt like
> >"Warning: cont-en (file cmr8): Font cmr8 at 720 not found"
> >and even more disturbing output (ugly pixelish fonts), even though the
> >font files seem to be there: "locate cmr8.pfb" gets me
> >/usr/share/texmf/fonts/type1/bluesky/cm/cmr8.pfb.
> >
> >Looking at the log I see that all paths mentioned use the TEXLOCAL
> >tree. The only exception is /usr/share/texmf/pdftex/config/pdftex.cfg.
> >Oh yes, and cmr8.pfb is mapped to cmr8 in pdftex.map.
>
> This is unrelated to context.
Most certainly, but maybe not to ConTeXt :-). I run pdflatex without
problems so the issue apparently is not within pdftex.
> Are you sure that the pdf config file
> includes a proper map file from the right path?
I don't know if pdftex.cfg expects the pdftex.map file to reside in the
$TEXMFMAIN/dvips/config folder, so I created a soft link to the same
directory as pdftex.cfg. Same effect. So, where would pdftex expect the
map file to be? Oh yes, and I ran texhash.
Greetings
Johannes
--
Johannes Hüsing <hannes@ruhrau.de> /"\ ASCII-Ribbon Campaign
\ / against HTML in
X e-mail and news
/ \
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: Fonts not found
2001-01-29 22:34 ` Johannes H?sing
@ 2001-01-30 17:42 ` Hans Hagen
0 siblings, 0 replies; 22+ messages in thread
From: Hans Hagen @ 2001-01-30 17:42 UTC (permalink / raw)
Cc: ntg-context
At 11:34 PM 1/29/01 +0100, Johannes H?sing wrote:
>On Sun, Jan 28, 2001 at 11:08:57PM +0100, Hans Hagen wrote:
>> At 10:11 AM 1/28/01 +0100, Johannes H?sing wrote:
>[...]
>> >Since then, I get disturbing messages running ConTeXt like
>> >"Warning: cont-en (file cmr8): Font cmr8 at 720 not found"
>> >and even more disturbing output (ugly pixelish fonts), even though the
>> >font files seem to be there: "locate cmr8.pfb" gets me
>> >/usr/share/texmf/fonts/type1/bluesky/cm/cmr8.pfb.
>> >
>> >Looking at the log I see that all paths mentioned use the TEXLOCAL
>> >tree. The only exception is /usr/share/texmf/pdftex/config/pdftex.cfg.
>> >Oh yes, and cmr8.pfb is mapped to cmr8 in pdftex.map.
>>
>> This is unrelated to context.
>
>Most certainly, but maybe not to ConTeXt :-). I run pdflatex without
>problems so the issue apparently is not within pdftex.
>
>> Are you sure that the pdf config file
>> includes a proper map file from the right path?
>
>I don't know if pdftex.cfg expects the pdftex.map file to reside in the
>$TEXMFMAIN/dvips/config folder, so I created a soft link to the same
>directory as pdftex.cfg. Same effect. So, where would pdftex expect the
>map file to be? Oh yes, and I ran texhash.
You may then check the paths as specified in texmf.cnf where fonts are
sought. Maybe there is a difference there.
you cal so otry one of the obscure path search debugging flags (pdfetex
--help)
Hans
-------------------------------------------------------------------------
Hans Hagen | PRAGMA ADE | pragma@wxs.nl
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 22+ messages in thread
end of thread, other threads:[~2017-03-16 21:28 UTC | newest]
Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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 ` Fonts not found Henning Hraban Ramm
2017-03-16 21:28 ` 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
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).