ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Consolas
@ 2010-09-30 19:01 Patrick Gundlach
  2010-10-01 10:42 ` Consolas Florian Wobbe
  0 siblings, 1 reply; 6+ messages in thread
From: Patrick Gundlach @ 2010-09-30 19:01 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

several days ago I asked about companions to Cambria, and Wolfgang kindly gave me this:

\definetypeface [mainface] [rm] [serif] [cambria]  [default]
\definetypeface [mainface] [ss] [sans]  [corbel]   [default] [rscale=auto]
\definetypeface [mainface] [tt] [mono]  [consolas] [default] [rscale=auto]
\definetypeface [mainface] [mm] [math]  [cambria]  [default]


which works fine, except for consolas. Shouldn't consolas be defined like

 \starttypescript [mono] [consolas] [name]      
   \setups[\s!font:\s!fallback:\s!sans]
        \definefontsynonym [\s!Mono]           [\s!file:consola]  [\s!features=\s!default]
        \definefontsynonym [\s!MonoBold]       [\s!file:consolab] [\s!features=\s!default]
        \definefontsynonym [\s!MonoItalic]     [\s!file:consolai] [\s!features=\s!default]
        \definefontsynonym [\s!MonoBoldItalic] [\s!file:consolaz] [\s!features=\s!default]
    \stoptypescript

instead of

Sans.... ? It's much more a monospace font then a Sans.

Thanks

Patrick

___________________________________________________________________________________
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] 6+ messages in thread

* Re: Consolas
  2010-09-30 19:01 Consolas Patrick Gundlach
@ 2010-10-01 10:42 ` Florian Wobbe
  2010-10-01 21:26   ` Consolas Hans Hagen
  0 siblings, 1 reply; 6+ messages in thread
From: Florian Wobbe @ 2010-10-01 10:42 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Sep 30, 2010, at 21:01 , Patrick Gundlach wrote:

> Hi,
> 
> several days ago I asked about companions to Cambria, and Wolfgang kindly gave me this:
> 
> \definetypeface [mainface] [rm] [serif] [cambria]  [default]
> \definetypeface [mainface] [ss] [sans]  [corbel]   [default] [rscale=auto]
> \definetypeface [mainface] [tt] [mono]  [consolas] [default] [rscale=auto]
> \definetypeface [mainface] [mm] [math]  [cambria]  [default]
> 
> 
> which works fine, except for consolas. Shouldn't consolas be defined like
> 
> \starttypescript [mono] [consolas] [name]      
>   \setups[\s!font:\s!fallback:\s!sans]
>        \definefontsynonym [\s!Mono]           [\s!file:consola]  [\s!features=\s!default]
>        \definefontsynonym [\s!MonoBold]       [\s!file:consolab] [\s!features=\s!default]
>        \definefontsynonym [\s!MonoItalic]     [\s!file:consolai] [\s!features=\s!default]
>        \definefontsynonym [\s!MonoBoldItalic] [\s!file:consolaz] [\s!features=\s!default]
>    \stoptypescript
> 
> instead of
> 
> Sans.... ? It's much more a monospace font then a Sans.
> 
> Thanks
> 
> Patrick

It seems, the ClearType fonts come with different filenames, so I had to define them by name like Cambria is in type-otf (\definefontsynonym [CambriaSerif] [name:cambria]):

\starttypescript [sans] [corbel] [name]
  \setups[font:fallback:sans]
  \definefontsynonym [Sans]           [name:corbel]           [features=default]
  \definefontsynonym [SansBold]       [name:corbelbold]       [features=default]
  \definefontsynonym [SansItalic]     [name:corbelitalic]     [features=default]
  \definefontsynonym [SansBoldItalic] [name:corbelbolditalic] [features=default]
\stoptypescript

\starttypescript [mono] [consolas] [name]
  \setups[font:fallback:mono]
  \definefontsynonym [Mono]           [name:consolas]           [features=default]
  \definefontsynonym [MonoBold]       [name:consolasbold]       [features=default]
  \definefontsynonym [MonoItalic]     [name:consolasitalic]     [features=default]
  \definefontsynonym [MonoBoldItalic] [name:consolasbolditalic] [features=default]
\stoptypescript

Best
Florian

___________________________________________________________________________________
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] 6+ messages in thread

* Re: Consolas
  2010-10-01 10:42 ` Consolas Florian Wobbe
@ 2010-10-01 21:26   ` Hans Hagen
  2010-10-01 21:34     ` Consolas Khaled Hosny
  2010-10-01 21:41     ` Consolas Florian Wobbe
  0 siblings, 2 replies; 6+ messages in thread
From: Hans Hagen @ 2010-10-01 21:26 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 1-10-2010 12:42, Florian Wobbe wrote:
> On Sep 30, 2010, at 21:01 , Patrick Gundlach wrote:
>
>> Hi,
>>
>> several days ago I asked about companions to Cambria, and Wolfgang kindly gave me this:
>>
>> \definetypeface [mainface] [rm] [serif] [cambria]  [default]
>> \definetypeface [mainface] [ss] [sans]  [corbel]   [default] [rscale=auto]
>> \definetypeface [mainface] [tt] [mono]  [consolas] [default] [rscale=auto]
>> \definetypeface [mainface] [mm] [math]  [cambria]  [default]
>>
>>
>> which works fine, except for consolas. Shouldn't consolas be defined like
>>
>> \starttypescript [mono] [consolas] [name]
>>    \setups[\s!font:\s!fallback:\s!sans]
>>         \definefontsynonym [\s!Mono]           [\s!file:consola]  [\s!features=\s!default]
>>         \definefontsynonym [\s!MonoBold]       [\s!file:consolab] [\s!features=\s!default]
>>         \definefontsynonym [\s!MonoItalic]     [\s!file:consolai] [\s!features=\s!default]
>>         \definefontsynonym [\s!MonoBoldItalic] [\s!file:consolaz] [\s!features=\s!default]
>>     \stoptypescript
>>
>> instead of
>>
>> Sans.... ? It's much more a monospace font then a Sans.
>>
>> Thanks
>>
>> Patrick
>
> It seems, the ClearType fonts come with different filenames, so I had to define them by name like Cambria is in type-otf (\definefontsynonym [CambriaSerif] [name:cambria]):

btw, we need to make decisions here ... in tex live such fonts get 
different names so do we follow that convention or do we opt for the 
official files

Hans


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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] 6+ messages in thread

* Re: Consolas
  2010-10-01 21:26   ` Consolas Hans Hagen
@ 2010-10-01 21:34     ` Khaled Hosny
  2010-10-01 21:41     ` Consolas Florian Wobbe
  1 sibling, 0 replies; 6+ messages in thread
From: Khaled Hosny @ 2010-10-01 21:34 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Fri, Oct 01, 2010 at 11:26:04PM +0200, Hans Hagen wrote:
> On 1-10-2010 12:42, Florian Wobbe wrote:
> >On Sep 30, 2010, at 21:01 , Patrick Gundlach wrote:
> >
> >>Hi,
> >>
> >>several days ago I asked about companions to Cambria, and Wolfgang kindly gave me this:
> >>
> >>\definetypeface [mainface] [rm] [serif] [cambria]  [default]
> >>\definetypeface [mainface] [ss] [sans]  [corbel]   [default] [rscale=auto]
> >>\definetypeface [mainface] [tt] [mono]  [consolas] [default] [rscale=auto]
> >>\definetypeface [mainface] [mm] [math]  [cambria]  [default]
> >>
> >>
> >>which works fine, except for consolas. Shouldn't consolas be defined like
> >>
> >>\starttypescript [mono] [consolas] [name]
> >>   \setups[\s!font:\s!fallback:\s!sans]
> >>        \definefontsynonym [\s!Mono]           [\s!file:consola]  [\s!features=\s!default]
> >>        \definefontsynonym [\s!MonoBold]       [\s!file:consolab] [\s!features=\s!default]
> >>        \definefontsynonym [\s!MonoItalic]     [\s!file:consolai] [\s!features=\s!default]
> >>        \definefontsynonym [\s!MonoBoldItalic] [\s!file:consolaz] [\s!features=\s!default]
> >>    \stoptypescript
> >>
> >>instead of
> >>
> >>Sans.... ? It's much more a monospace font then a Sans.
> >>
> >>Thanks
> >>
> >>Patrick
> >
> >It seems, the ClearType fonts come with different filenames, so I had to define them by name like Cambria is in type-otf (\definefontsynonym [CambriaSerif] [name:cambria]):
> 
> btw, we need to make decisions here ... in tex live such fonts get
> different names so do we follow that convention or do we opt for the
> official files

TeXLive would never have those particular fonts, I'm not sure if they
are available from font retailers, though (I still think font name is
safer).

-- 
 Khaled Hosny
 Arabic localiser and member of Arabeyes.org team
 Free font developer
___________________________________________________________________________________
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] 6+ messages in thread

* Re: Consolas
  2010-10-01 21:26   ` Consolas Hans Hagen
  2010-10-01 21:34     ` Consolas Khaled Hosny
@ 2010-10-01 21:41     ` Florian Wobbe
  2010-10-01 21:57       ` Consolas Hans Hagen
  1 sibling, 1 reply; 6+ messages in thread
From: Florian Wobbe @ 2010-10-01 21:41 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Oct 1, 2010, at 23:26 , Hans Hagen wrote:
> On 1-10-2010 12:42, Florian Wobbe wrote:
>> On Sep 30, 2010, at 21:01 , Patrick Gundlach wrote:
>> 
>>> Hi,
>>> 
>>> several days ago I asked about companions to Cambria, and Wolfgang kindly gave me this:
>>> 
>>> \definetypeface [mainface] [rm] [serif] [cambria]  [default]
>>> \definetypeface [mainface] [ss] [sans]  [corbel]   [default] [rscale=auto]
>>> \definetypeface [mainface] [tt] [mono]  [consolas] [default] [rscale=auto]
>>> \definetypeface [mainface] [mm] [math]  [cambria]  [default]
>>> 
>>> 
>>> which works fine, except for consolas. Shouldn't consolas be defined like
>>> 
>>> \starttypescript [mono] [consolas] [name]
>>>   \setups[\s!font:\s!fallback:\s!sans]
>>>        \definefontsynonym [\s!Mono]           [\s!file:consola]  [\s!features=\s!default]
>>>        \definefontsynonym [\s!MonoBold]       [\s!file:consolab] [\s!features=\s!default]
>>>        \definefontsynonym [\s!MonoItalic]     [\s!file:consolai] [\s!features=\s!default]
>>>        \definefontsynonym [\s!MonoBoldItalic] [\s!file:consolaz] [\s!features=\s!default]
>>>    \stoptypescript
>>> 
>>> instead of
>>> 
>>> Sans.... ? It's much more a monospace font then a Sans.
>>> 
>>> Thanks
>>> 
>>> Patrick
>> 
>> It seems, the ClearType fonts come with different filenames, so I had to define them by name like Cambria is in type-otf (\definefontsynonym [CambriaSerif] [name:cambria]):
> 
> btw, we need to make decisions here ... in tex live such fonts get different names so do we follow that convention or do we opt for the official files
> 
> Hans

Actually, what I meant was that there are no common official filenames for these MS Fonts. In Windows they are like calibri.ttf, calibrib.ttf, calibrii.ttf, ... In Office for Mac the font files are named Calibri.ttf, Calibri Bold.ttf, Calibri Italic.ttf, etc. So going by name is explicit.

Florian

___________________________________________________________________________________
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] 6+ messages in thread

* Re: Consolas
  2010-10-01 21:41     ` Consolas Florian Wobbe
@ 2010-10-01 21:57       ` Hans Hagen
  0 siblings, 0 replies; 6+ messages in thread
From: Hans Hagen @ 2010-10-01 21:57 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 1-10-2010 11:41, Florian Wobbe wrote:
> On Oct 1, 2010, at 23:26 , Hans Hagen wrote:
>> On 1-10-2010 12:42, Florian Wobbe wrote:
>>> On Sep 30, 2010, at 21:01 , Patrick Gundlach wrote:
>>>
>>>> Hi,
>>>>
>>>> several days ago I asked about companions to Cambria, and Wolfgang kindly gave me this:
>>>>
>>>> \definetypeface [mainface] [rm] [serif] [cambria]  [default]
>>>> \definetypeface [mainface] [ss] [sans]  [corbel]   [default] [rscale=auto]
>>>> \definetypeface [mainface] [tt] [mono]  [consolas] [default] [rscale=auto]
>>>> \definetypeface [mainface] [mm] [math]  [cambria]  [default]
>>>>
>>>>
>>>> which works fine, except for consolas. Shouldn't consolas be defined like
>>>>
>>>> \starttypescript [mono] [consolas] [name]
>>>>    \setups[\s!font:\s!fallback:\s!sans]
>>>>         \definefontsynonym [\s!Mono]           [\s!file:consola]  [\s!features=\s!default]
>>>>         \definefontsynonym [\s!MonoBold]       [\s!file:consolab] [\s!features=\s!default]
>>>>         \definefontsynonym [\s!MonoItalic]     [\s!file:consolai] [\s!features=\s!default]
>>>>         \definefontsynonym [\s!MonoBoldItalic] [\s!file:consolaz] [\s!features=\s!default]
>>>>     \stoptypescript
>>>>
>>>> instead of
>>>>
>>>> Sans.... ? It's much more a monospace font then a Sans.
>>>>
>>>> Thanks
>>>>
>>>> Patrick
>>>
>>> It seems, the ClearType fonts come with different filenames, so I had to define them by name like Cambria is in type-otf (\definefontsynonym [CambriaSerif] [name:cambria]):
>>
>> btw, we need to make decisions here ... in tex live such fonts get different names so do we follow that convention or do we opt for the official files
>>
>> Hans
>
> Actually, what I meant was that there are no common official filenames for these MS Fonts. In Windows they are like calibri.ttf, calibrib.ttf, calibrii.ttf, ... In Office for Mac the font files are named Calibri.ttf, Calibri Bold.ttf, Calibri Italic.ttf, etc. So going by name is explicit.


well, if someone figures out the names ...

(btw, it's not entirely fail save either as for instanc the commercial 
cambria clashes with the ms one)

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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] 6+ messages in thread

end of thread, other threads:[~2010-10-01 21:57 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-30 19:01 Consolas Patrick Gundlach
2010-10-01 10:42 ` Consolas Florian Wobbe
2010-10-01 21:26   ` Consolas Hans Hagen
2010-10-01 21:34     ` Consolas Khaled Hosny
2010-10-01 21:41     ` Consolas Florian Wobbe
2010-10-01 21:57       ` Consolas 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).