ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: Auto selecting optical sizes for a font
@ 2013-06-25 21:16 Andres Conrado
  0 siblings, 0 replies; 12+ messages in thread
From: Andres Conrado @ 2013-06-25 21:16 UTC (permalink / raw)
  To: ntg-context

Thank you so much Hans, for your answer. I understand how difficult it
is. The goodie file works very well, and I'm perfectly happy with
that. :) Thank you again.

Andrés Conrado Montoya
El Andi
andresconrado@gmail.com
http://chiquitico.org
----------------------------------------
Los fines no justifican los medios, porque la medida verdadera de
nuestro carácter está dada por los medios que estamos dispuestos a
utilizar, no por los fines que proclamamos.
----------------------------------------
Por favor, evite enviarme documentos adjuntos en formato Word o PowerPoint.
Lea http://www.gnu.org/philosophy/no-word-attachments.es.html
----------------------------------------
"Naturalmente, la gente normal no desea la guerra, pero al final son
los líderes de una nación quienes determinan su política, y resulta
muy sencillo doblegar a la gente, sea una democracia, una dictadura
fascista, un parlamento o una dictadura comunista. Con voz o sin voz,
la gente siempre podrá entregarse a la voluntad de sus líderes. Es
fácil. Lo único que hay que hacer es decirles que están siendo
atacados, y denunciar a los pacifistas por su falta de patriotismo y
exponer el país al peligro. Funciona igual en todos los países."
---Hermann Goering, en los juicios de Nuremberg.
___________________________________________________________________________________
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] 12+ messages in thread
* Re: Auto selecting optical sizes for a font
@ 2013-06-25  4:16 Andres Conrado Montoya
  2013-06-25  8:32 ` Hans Hagen
  0 siblings, 1 reply; 12+ messages in thread
From: Andres Conrado Montoya @ 2013-06-25  4:16 UTC (permalink / raw)
  To: ntg-context

Thank you so much, Hans. :) It works great!.

I must agree, however, with Georg's considerations. I am very grateful
for the current solution, but an automatic selection of optical sizes
could be insanely good, from a book designer point of view (I'm a book
designer). Just for the curious, these are some links that go deeper
in the theme of Optical Sizes for Typography:

1. http://www.adobe.com/type/topics/opticalsize.html
2. http://graphicdesign.stackexchange.com/questions/8552/should-i-be-concerned-about-optimal-font-size-for-a-particular-font
3. http://ilovetypography.com/2012/04/11/designing-type-systems/
4. Book: Typography Monographs Vol. 2 - "Size-specific Adjustments to
Type Designs: An Investigation of the Principles Guiding the Design of
Optical Sizes" by Tim Ahrens, MA.
http://markbattypublisher.com/books/typography-monographs-volume-2-size-specific-adjustments-to-type-designs-an-investigation-of-the-principles-guiding-the-design-of-optical-sizes/

Thank you all. :)

Andrés Conrado Montoya
El Andi
andresconrado@gmail.com
http://chiquitico.org
http://twitter.com/conradolandia
----------------------------------------
Los fines no justifican los medios, porque la medida verdadera de
nuestro carácter está dada por los medios que estamos dispuestos a
utilizar, no por los fines que proclamamos.
----------------------------------------

“You develop an instant global consciousness, a people orientation, an
intense dissatisfaction with the state of the world, and a compulsion
to do something about it. From out there on the moon, international
politics look so petty. You want to grab a politician by the scruff of
the neck and drag him a quarter of a million miles out and say, ‘Look
at that, you son of a bitch.’” — Apollo 14 astronaut Edgar Mitchell
___________________________________________________________________________________
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] 12+ messages in thread
[parent not found: <mailman.1416.1372062425.2084.ntg-context@ntg.nl>]
* Auto selecting optical sizes for a font
@ 2013-06-21 23:43 Andres Conrado Montoya
  2013-06-22 12:04 ` Pablo Rodríguez
  2013-06-22 12:07 ` Hans Hagen
  0 siblings, 2 replies; 12+ messages in thread
From: Andres Conrado Montoya @ 2013-06-21 23:43 UTC (permalink / raw)
  To: ntg-context

Hello friends.
I'm trying to design a book using the typescript you can find at the
end of this message. I'm using the beautiful EBGaramond fonts from
Georg Duffner (http://www.georgduffner.at/ebgaramond/). This font
provides optical sizes to be used in different sizes (named "12" for
10.1pt or more, and "8" for 10 or less. These fonts automatically work
as expected in latex, thanks to a recent package included in CTAN
(ebgaramond package), selecting the correct font for the appropriate
size. However, the typescript I'm using selects the "8" size for
everything, without taking the type size into consideration. Is there
any way to make ConTeXt do this automatic selection of fonts regarding
of type size? I'm using version 2013.06.10 22:51.

Here is my example:

%%%%%%%%%%%%%%%%%%%%%%%%%%%
\enableregime[utf-8]
\mainlanguage[es]
\setupcapitals[sc=yes]

\definefontfeature[default][default]
[mode=node,calt=yes,liga=yes,dlig=yes,hlig=yes,ccmp=yes,kern=yes,mark=yes,mkmk=yes,onum=yes,pnum=yes,salt=yes,size=yes,expansion=quality,protrusion=quality]

\definefontfeature[smallcaps][smallcaps]
[mode=node,script=latn,smcp=yes,c2sc=yes,calt=yes,liga=yes,dlig=yes,hlig=yes,ccmp=yes,kern=yes,mark=yes,mkmk=yes,onum=yes,pnum=yes,salt=yes,size=yes,expansion=quality,protrusion=quality]

\starttypescript[serif][ebgaramond]
  \setups[font:fallback:serif]
  \definefontsynonym [EBGaramond-Regular]    [name:EBGaramond-Regular]
  \definefontsynonym [EBGaramond-Italic]     [name:EBGaramond-Italic]
\stoptypescript

\starttypescript[serif][ebgaramond]
  \definefontsynonym [Serif]           [EBGaramond-Regular]
[features=default]
  \definefontsynonym [SerifItalic]     [EBGaramond-Italic]
[features=default]
  \definefontsynonym [SerifCaps]       [Serif]
[features=smallcaps]
\stoptypescript

\definetypeface[ebg][rm][serif][ebgaramond][default]
\setupbodyfont[ebg,12pt]
\setupbodyfontenvironment[default][em=italic]

\setupinterlinespace[line=3.2ex]

\setupalign[lesshyphenation,hz,hanging]
\doublehyphendemerits=30000
\setupspacing[packed]

\starttext
\showframe
\showgrid

\input tufte
\stoptext
%%%%%%%%%%%%%%%%%%%%%%%%%%%


Thank so much for all your good work and help. :)
___________________________________________________________________________________
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] 12+ messages in thread

end of thread, other threads:[~2013-06-25 21:16 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <mailman.1409.1371913028.2084.ntg-context@ntg.nl>
2013-06-23 22:28 ` Auto selecting optical sizes for a font Georg Duffner
2013-06-24  8:02   ` Keith J. Schultz
2013-06-24 17:44     ` Hans Hagen
2013-06-24 17:42   ` Hans Hagen
2013-06-25 21:16 Andres Conrado
  -- strict thread matches above, loose matches on Subject: below --
2013-06-25  4:16 Andres Conrado Montoya
2013-06-25  8:32 ` Hans Hagen
     [not found] <mailman.1416.1372062425.2084.ntg-context@ntg.nl>
2013-06-24  9:49 ` Georg Duffner
2013-06-24 17:50   ` Hans Hagen
2013-06-21 23:43 Andres Conrado Montoya
2013-06-22 12:04 ` Pablo Rodríguez
2013-06-22 12:07 ` 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).