ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \setmainfont[callig15][size=...] not working (simplefonts + calligra-type1)
@ 2012-07-22 20:15 Peter Münster
  2012-07-22 21:18 ` luigi scarso
  0 siblings, 1 reply; 11+ messages in thread
From: Peter Münster @ 2012-07-22 20:15 UTC (permalink / raw)
  To: ConTeXt users

Hi,

Test file:

--8<---------------cut here---------------start------------->8---
\usemodule[simplefonts]
\setmainfont
  [callig15]         % from http://www.ctan.org/tex-archive/fonts/calligra-type1/
  [size=24pt]        % does not work
\setupbodyfont[24pt] % workaround
\starttext
\input tufte
\stoptext
--8<---------------cut here---------------end--------------->8---

No real problem, thanks to the workaround.

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

* Re: \setmainfont[callig15][size=...] not working (simplefonts + calligra-type1)
  2012-07-22 20:15 \setmainfont[callig15][size=...] not working (simplefonts + calligra-type1) Peter Münster
@ 2012-07-22 21:18 ` luigi scarso
  2012-07-23  8:24   ` Peter Münster
  0 siblings, 1 reply; 11+ messages in thread
From: luigi scarso @ 2012-07-22 21:18 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

On Sun, Jul 22, 2012 at 10:15 PM, Peter Münster <pmlists@free.fr> wrote:

> Hi,
>
> Test file:
>
> --8<---------------cut here---------------start------------->8---
> \usemodule[simplefonts]
> \setmainfont
>   [callig15]         % from
> http://www.ctan.org/tex-archive/fonts/calligra-type1/
>   [size=24pt]        % does not work
> \setupbodyfont[24pt] % workaround
> \starttext
> \input tufte
> \stoptext
> --8<---------------cut here---------------end--------------->8---
>
> No real problem, thanks to the workaround.
>
> --
>            Peter
>
> ___________________________________________________________________________________
> 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
>
> ___________________________________________________________________________________
>


\usemodule[simplefonts]
\setupsimplefonts[size=24pt]
\setmainfont[callig15]
\starttext
\input tufte
\stoptext

or, given that default size is 12pt,

\usemodule[simplefonts]
\setmainfont[callig15]
\setmainfont[callig15][scale=2]
\starttext
\input tufte
\stoptext



-- 
luigi

[-- Attachment #1.2: Type: text/html, Size: 2438 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] 11+ messages in thread

* Re: \setmainfont[callig15][size=...] not working (simplefonts + calligra-type1)
  2012-07-22 21:18 ` luigi scarso
@ 2012-07-23  8:24   ` Peter Münster
  2012-07-23  8:31     ` Wolfgang Schuster
  0 siblings, 1 reply; 11+ messages in thread
From: Peter Münster @ 2012-07-23  8:24 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Sun, Jul 22 2012, luigi scarso wrote:

> \setupsimplefonts[size=24pt]

Just another workaround, or do you mean, that this is normal behaviour?

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

* Re: \setmainfont[callig15][size=...] not working (simplefonts + calligra-type1)
  2012-07-23  8:24   ` Peter Münster
@ 2012-07-23  8:31     ` Wolfgang Schuster
  2012-07-23  9:14       ` Peter Münster
  0 siblings, 1 reply; 11+ messages in thread
From: Wolfgang Schuster @ 2012-07-23  8:31 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 23.07.2012 um 10:24 schrieb Peter Münster:

> On Sun, Jul 22 2012, luigi scarso wrote:
> 
>> \setupsimplefonts[size=24pt]
> 
> Just another workaround, or do you mean, that this is normal behavior?

This is normal, the simplefonts module passes the value also to \setupbodyfont which is used in the code to load the font.

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

* Re: \setmainfont[callig15][size=...] not working (simplefonts + calligra-type1)
  2012-07-23  8:31     ` Wolfgang Schuster
@ 2012-07-23  9:14       ` Peter Münster
  2012-07-23  9:23         ` Wolfgang Schuster
  2012-07-23  9:52         ` luigi scarso
  0 siblings, 2 replies; 11+ messages in thread
From: Peter Münster @ 2012-07-23  9:14 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Mon, Jul 23 2012, Wolfgang Schuster wrote:

> This is normal

So, is this the rule of thumb:

  "You can set the size with `\setmainfont[...][size=...]'
   but there is one exception: with calligra-type1 you have
   to use `\setupsimplefonts[size=...]'."

?

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

* Re: \setmainfont[callig15][size=...] not working (simplefonts + calligra-type1)
  2012-07-23  9:14       ` Peter Münster
@ 2012-07-23  9:23         ` Wolfgang Schuster
  2012-07-23 11:09           ` Peter Münster
  2012-07-23  9:52         ` luigi scarso
  1 sibling, 1 reply; 11+ messages in thread
From: Wolfgang Schuster @ 2012-07-23  9:23 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 23.07.2012 um 11:14 schrieb Peter Münster:

> On Mon, Jul 23 2012, Wolfgang Schuster wrote:
> 
>> This is normal
> 
> So, is this the rule of thumb:
> 
>  "You can set the size with `\setmainfont[...][size=...]'
>   but there is one exception: with calligra-type1 you have
>   to use `\setupsimplefonts[size=...]'."

No, you change the font size with

  \usemodule[simplefonts][size=…]

*before* you set the fonts or with

  \setupsimplefonts[size=…]

before *and* after you have set the fonts and with

  \setupbodyfont[…]

*after* you have set the fonts.

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

* Re: \setmainfont[callig15][size=...] not working (simplefonts + calligra-type1)
  2012-07-23  9:14       ` Peter Münster
  2012-07-23  9:23         ` Wolfgang Schuster
@ 2012-07-23  9:52         ` luigi scarso
  1 sibling, 0 replies; 11+ messages in thread
From: luigi scarso @ 2012-07-23  9:52 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

On Mon, Jul 23, 2012 at 11:14 AM, Peter Münster <pmlists@free.fr> wrote:

> On Mon, Jul 23 2012, Wolfgang Schuster wrote:
>
> > This is normal
>
> So, is this the rule of thumb:
>
>   "You can set the size with `\setmainfont[...][size=...]'
>    but there is one exception: with calligra-type1 you have
>    to use `\setupsimplefonts[size=...]'."
>
> ?
>
> The rationale (I think) is that a document has a  main font size, (the
 reference font size) that you can set
 with
\setupsimplefonts[size=...]
Then, if you need to adjust the size of some variant w.r.t the reference
size, then you can use
\setmainfont[...][scale=...]
(and not
\setmainfont[...][size=...]
)
and it's ok because so you use as reference the main font size.


-- 
luigi

[-- Attachment #1.2: Type: text/html, Size: 1247 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] 11+ messages in thread

* Re: \setmainfont[callig15][size=...] not working (simplefonts + calligra-type1)
  2012-07-23  9:23         ` Wolfgang Schuster
@ 2012-07-23 11:09           ` Peter Münster
  2012-07-23 11:47             ` Wolfgang Schuster
  0 siblings, 1 reply; 11+ messages in thread
From: Peter Münster @ 2012-07-23 11:09 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Mon, Jul 23 2012, Wolfgang Schuster wrote:

> No, you change the font size with
>
>   \usemodule[simplefonts][size=…]
>
> *before* you set the fonts or with
>
>   \setupsimplefonts[size=…]
>
> before *and* after you have set the fonts and with
>
>   \setupbodyfont[…]
>
> *after* you have set the fonts.

Thanks. So I guess, the conclusion is, that \setmainfont[...][size=...]
is deprecated.

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

* Re: \setmainfont[callig15][size=...] not working (simplefonts + calligra-type1)
  2012-07-23 11:09           ` Peter Münster
@ 2012-07-23 11:47             ` Wolfgang Schuster
  2012-07-23 12:59               ` Peter Münster
  0 siblings, 1 reply; 11+ messages in thread
From: Wolfgang Schuster @ 2012-07-23 11:47 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 23.07.2012 um 13:09 schrieb Peter Münster:

> Thanks. So I guess, the conclusion is, that \setmainfont[...][size=…] is deprecated.

Can you declare a option deprecated which has never existed?

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

* Re: \setmainfont[callig15][size=...] not working (simplefonts + calligra-type1)
  2012-07-23 11:47             ` Wolfgang Schuster
@ 2012-07-23 12:59               ` Peter Münster
  2012-07-23 13:18                 ` luigi scarso
  0 siblings, 1 reply; 11+ messages in thread
From: Peter Münster @ 2012-07-23 12:59 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Mon, Jul 23 2012, Wolfgang Schuster wrote:

> Am 23.07.2012 um 13:09 schrieb Peter Münster:
>
>> Thanks. So I guess, the conclusion is, that \setmainfont[...][size=…] is deprecated.
>
> Can you declare a option deprecated which has never existed?

What is this? I'm sure, that I've always used this option without any
problems (copied from some message on this list some time ago), and now,
I realize, that it doesn't work, for *any* font!

Sorry, there must be some bugs in my context-files, or in my brain... :(

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

* Re: \setmainfont[callig15][size=...] not working (simplefonts + calligra-type1)
  2012-07-23 12:59               ` Peter Münster
@ 2012-07-23 13:18                 ` luigi scarso
  0 siblings, 0 replies; 11+ messages in thread
From: luigi scarso @ 2012-07-23 13:18 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

On Mon, Jul 23, 2012 at 2:59 PM, Peter Münster <pmlists@free.fr> wrote:

> On Mon, Jul 23 2012, Wolfgang Schuster wrote:
>
> > Am 23.07.2012 um 13:09 schrieb Peter Münster:
> >
> >> Thanks. So I guess, the conclusion is, that \setmainfont[...][size=…]
> is deprecated.
> >
> > Can you declare a option deprecated which has never existed?
>
> What is this? I'm sure, that I've always used this option without any
> problems (copied from some message on this list some time ago), and now,
> I realize, that it doesn't work, for *any* font!
>
> After a quick search I have not found a valid use of
 \setmainfont[...][size=…]
in this ml .

-- 
luigi

[-- Attachment #1.2: Type: text/html, Size: 1089 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] 11+ messages in thread

end of thread, other threads:[~2012-07-23 13:18 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-22 20:15 \setmainfont[callig15][size=...] not working (simplefonts + calligra-type1) Peter Münster
2012-07-22 21:18 ` luigi scarso
2012-07-23  8:24   ` Peter Münster
2012-07-23  8:31     ` Wolfgang Schuster
2012-07-23  9:14       ` Peter Münster
2012-07-23  9:23         ` Wolfgang Schuster
2012-07-23 11:09           ` Peter Münster
2012-07-23 11:47             ` Wolfgang Schuster
2012-07-23 12:59               ` Peter Münster
2012-07-23 13:18                 ` luigi scarso
2012-07-23  9:52         ` luigi scarso

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