ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* definefontfamily options for caps and capsbold fonts
@ 2014-01-25 23:07 Pablo Rodriguez
  2014-01-26 21:54 ` Wolfgang Schuster
  0 siblings, 1 reply; 3+ messages in thread
From: Pablo Rodriguez @ 2014-01-25 23:07 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi Wolfgang,

with the new simplefonts interface I have two options that used to work
with the old interface, but that don’t work now.

Here is the command:

\definefontfamily[mainface][mono][ryt1xtt][capsfont=ryt1xttsc,
boldfont=ryt1xbtt, capsboldfont=ryt1xttsc]

I get mono the bold font, but I cannot get mono small caps or mono bold
small caps.

Is alternative=simplefonts the right way to make them work? (They work
fine with this option, but I have the impression of using old code.)

Many thanks for your 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: definefontfamily options for caps and capsbold fonts
  2014-01-25 23:07 definefontfamily options for caps and capsbold fonts Pablo Rodriguez
@ 2014-01-26 21:54 ` Wolfgang Schuster
  2014-01-27 19:54   ` Pablo Rodriguez
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2014-01-26 21:54 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 26.01.2014 um 00:07 schrieb Pablo Rodriguez <oinos@gmx.es>:

> Hi Wolfgang,
> 
> with the new simplefonts interface I have two options that used to work
> with the old interface, but that don’t work now.
> 
> Here is the command:
> 
> \definefontfamily[mainface][mono][ryt1xtt][capsfont=ryt1xttsc,
> boldfont=ryt1xbtt, capsboldfont=ryt1xttsc]
> 
> I get mono the bold font, but I cannot get mono small caps or mono bold
> small caps.

You can set the smallcaps font with the “smallcapsfont” key but I suggest
to use the new keys instead because the old ones will disappear at one point.

\definefontfamily[…][…][…][bf=file:ryt1xbtt,sc=file:ryt1xttsc]

The bold caps font you want to use is not possible with the \definefontfamily
command because context doesn’t provide a command to use it by default.

> Is alternative=simplefonts the right way to make them work? (They work
> fine with this option, but I have the impression of using old code.)

The simplefonts alternative works better when you have the small caps
in a separate file (I will look if I can do something for the default alternative
to support this there as well) but I won’t use it because the algorithm
can fail in some cases.

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
___________________________________________________________________________________


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

* Re: definefontfamily options for caps and capsbold fonts
  2014-01-26 21:54 ` Wolfgang Schuster
@ 2014-01-27 19:54   ` Pablo Rodriguez
  0 siblings, 0 replies; 3+ messages in thread
From: Pablo Rodriguez @ 2014-01-27 19:54 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 01/26/2014 10:54 PM, Wolfgang Schuster wrote:
> Am 26.01.2014 um 00:07 schrieb Pablo Rodriguez <oinos@gmx.es>:
>> Hi Wolfgang,
>>
>> with the new simplefonts interface I have two options that used to work
>> with the old interface, but that don’t work now.
>>
>> Here is the command:
>>
>> \definefontfamily[mainface][mono][ryt1xtt][capsfont=ryt1xttsc,
>> boldfont=ryt1xbtt, capsboldfont=ryt1xttsc]
>>
>> I get mono the bold font, but I cannot get mono small caps or mono bold
>> small caps.
> 
> You can set the smallcaps font with the “smallcapsfont” key but I suggest
> to use the new keys instead because the old ones will disappear at one point.
> 
> \definefontfamily[…][…][…][bf=file:ryt1xbtt,sc=file:ryt1xttsc]
> 
> The bold caps font you want to use is not possible with the \definefontfamily
> command because context doesn’t provide a command to use it by default.

Many thanks for your reply, Wolfgang.

I will see if I can create a single font with caps and regular glyphs.

Many thanks for your 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://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-01-27 19:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-25 23:07 definefontfamily options for caps and capsbold fonts Pablo Rodriguez
2014-01-26 21:54 ` Wolfgang Schuster
2014-01-27 19:54   ` Pablo Rodriguez

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