ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Font-loading
@ 2014-10-22 19:47 Willi Egger
  2014-10-23  4:35 ` Font-loading Wolfgang Schuster
  0 siblings, 1 reply; 3+ messages in thread
From: Willi Egger @ 2014-10-22 19:47 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

Hi all,

I know that there was earlier a thread dealing with this subject…. However I needed to typeset a title in a typeface with a medieval look. One of the choices is “Maximilian” a ttf font (free font).

I put the font in texmf-fonts/data.

The  mtxrun --script font --list --info --all maximilian gives:

mtx-fonts       | mapping : maximilian
mtx-fonts       | fontname: maximilian
mtx-fonts       | fullname: maximilian
mtx-fonts       | filename: Maximilian.ttf
mtx-fonts       | family  : maximilian
mtx-fonts       | weight  : normal
mtx-fonts       | style   : normal
mtx-fonts       | width   : normal
mtx-fonts       | variant : normal
mtx-fonts       | subfont : 
mtx-fonts       | fweight : conflict: book
mtx-fonts       |
mtx-fonts       | gsub features:
mtx-fonts       |
mtx-fonts       | feature  script   languages
mtx-fonts       |
mtx-fonts       | tlig     all      all     
mtx-fonts       | trep     all      all

I tried in a classical way:

\starttypescript[serif][medieval]
	 \definefontsynonym[serif][file:Maximilian][features=default]
\stoptypescript

\starttypescript[medieval]
	 \definetypeface[Maximilian][rm][serif][medieval][default]
 \stoptypescript

\usetypescript[medieval]

\setupbodyfont[Maximilian,rm,12pt]

I tried also the new approach

 \definefontfamily[Medieval][rm][Maximilian][features=default]
 \setupbodyfont[Medieval,12pt]

In both cases I end up with an empty page, because the font is not fount. — What do I miss?

Kind regards

Willi


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

[-- Attachment #2: Type: text/plain, Size: 485 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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Font-loading
  2014-10-22 19:47 Font-loading Willi Egger
@ 2014-10-23  4:35 ` Wolfgang Schuster
  2014-10-23 15:13   ` Font-loading Willi Egger
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2014-10-23  4:35 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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


> Am 22.10.2014 um 21:47 schrieb Willi Egger <context@boede.nl>:
> 
> Hi all,
> 
> I know that there was earlier a thread dealing with this subject…. However I needed to typeset a title in a typeface with a medieval look. One of the choices is “Maximilian” a ttf font (free font).
> 
> I put the font in texmf-fonts/data.
> 
> The  mtxrun --script font --list --info --all maximilian gives:
> 
> mtx-fonts       | mapping : maximilian
> mtx-fonts       | fontname: maximilian
> mtx-fonts       | fullname: maximilian
> mtx-fonts       | filename: Maximilian.ttf
> mtx-fonts       | family  : maximilian
> mtx-fonts       | weight  : normal
> mtx-fonts       | style   : normal
> mtx-fonts       | width   : normal
> mtx-fonts       | variant : normal
> mtx-fonts       | subfont : 
> mtx-fonts       | fweight : conflict: book
> mtx-fonts       |
> mtx-fonts       | gsub features:
> mtx-fonts       |
> mtx-fonts       | feature  script   languages
> mtx-fonts       |
> mtx-fonts       | tlig     all      all     
> mtx-fonts       | trep     all      all
> 
> I tried in a classical way:
> 
> \starttypescript[serif][medieval]
> 	 \definefontsynonym[serif][file:Maximilian][features=default]
> \stoptypescript
> 
> \starttypescript[medieval]
> 	 \definetypeface[Maximilian][rm][serif][medieval][default]
>  \stoptypescript
> 
> \usetypescript[medieval]
> 
> \setupbodyfont[Maximilian,rm,12pt]
> 
> I tried also the new approach
> 
>  \definefontfamily[Medieval][rm][Maximilian][features=default]
>  \setupbodyfont[Medieval,12pt]
> 
> In both cases I end up with an empty page, because the font is not fount. — What do I miss?

Change the name of the typeface to “medieval”.

Wolfgang


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

[-- Attachment #2: Type: text/plain, Size: 485 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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Font-loading
  2014-10-23  4:35 ` Font-loading Wolfgang Schuster
@ 2014-10-23 15:13   ` Willi Egger
  0 siblings, 0 replies; 3+ messages in thread
From: Willi Egger @ 2014-10-23 15:13 UTC (permalink / raw)
  To: NTG-Context ConTeXt users


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

Thank you Wolfgang, indeed this helps!

Willi
> On 23 okt. 2014, at 06:35, Wolfgang Schuster <schuster.wolfgang@gmail.com> wrote:
> 
>> 
>> Am 22.10.2014 um 21:47 schrieb Willi Egger <context@boede.nl <mailto:context@boede.nl>>:
>> 
>> Hi all,
>> 
>> I know that there was earlier a thread dealing with this subject…. However I needed to typeset a title in a typeface with a medieval look. One of the choices is “Maximilian” a ttf font (free font).
>> 
>> I put the font in texmf-fonts/data.
>> 
>> The  mtxrun --script font --list --info --all maximilian gives:
>> 
>> mtx-fonts       | mapping : maximilian
>> mtx-fonts       | fontname: maximilian
>> mtx-fonts       | fullname: maximilian
>> mtx-fonts       | filename: Maximilian.ttf
>> mtx-fonts       | family  : maximilian
>> mtx-fonts       | weight  : normal
>> mtx-fonts       | style   : normal
>> mtx-fonts       | width   : normal
>> mtx-fonts       | variant : normal
>> mtx-fonts       | subfont : 
>> mtx-fonts       | fweight : conflict: book
>> mtx-fonts       |
>> mtx-fonts       | gsub features:
>> mtx-fonts       |
>> mtx-fonts       | feature  script   languages
>> mtx-fonts       |
>> mtx-fonts       | tlig     all      all     
>> mtx-fonts       | trep     all      all
>> 
>> I tried in a classical way:
>> 
>> \starttypescript[serif][medieval]
>> 	 \definefontsynonym[serif][file:Maximilian][features=default]
>> \stoptypescript
>> 
>> \starttypescript[medieval]
>> 	 \definetypeface[Maximilian][rm][serif][medieval][default]
>>  \stoptypescript
>> 
>> \usetypescript[medieval]
>> 
>> \setupbodyfont[Maximilian,rm,12pt]
>> 
>> I tried also the new approach
>> 
>>  \definefontfamily[Medieval][rm][Maximilian][features=default]
>>  \setupbodyfont[Medieval,12pt]
>> 
>> In both cases I end up with an empty page, because the font is not fount. — What do I miss?
> 
> Change the name of the typeface to “medieval”.
> 
> 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
> ___________________________________________________________________________________


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

[-- Attachment #2: Type: text/plain, Size: 485 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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2014-10-23 15:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-22 19:47 Font-loading Willi Egger
2014-10-23  4:35 ` Font-loading Wolfgang Schuster
2014-10-23 15:13   ` Font-loading Willi Egger

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