ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* issue with logo and aalt
@ 2011-12-04 16:46 Pablo Rodríguez
  2011-12-04 18:19 ` Khaled Hosny
  0 siblings, 1 reply; 5+ messages in thread
From: Pablo Rodríguez @ 2011-12-04 16:46 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi there,

the following minimal sample shows one problem I have when using all
small caps (all lowercase and small caps) in titles.

	\setuppapersize[A4,landscape]
	\setuppagenumbering[location=]
	\usemodule[simplefonts][size=200pt]
	\setmainfont[TeX Gyre Pagella]
	\definefontfeature[allcaps][default][aalt=yes]
	\starttext
	\TeX \addfs{allcaps} \TeX
	\stoptext

The logo in small caps has the letter E than in the all caps.

My question is how should I redefine the TeX logo so that the all small
caps version, i.e. that both logos have the letter E at the same height?
(Otherwise, the all small caps logo seems weird.)

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

* Re: issue with logo and aalt
  2011-12-04 16:46 issue with logo and aalt Pablo Rodríguez
@ 2011-12-04 18:19 ` Khaled Hosny
  2011-12-04 19:07   ` Pablo Rodríguez
  0 siblings, 1 reply; 5+ messages in thread
From: Khaled Hosny @ 2011-12-04 18:19 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Sun, Dec 04, 2011 at 05:46:03PM +0100, Pablo Rodríguez wrote:
> 	\definefontfeature[allcaps][default][aalt=yes]

A bit off topic, but aalt stands for "access all alternates" and just
lists all alternates of a given glyph with no semantics at all, and is
there for GUI apps that present a glyph pallet to allow users select
alternate shapes of any glyph (which can be anything), which is pretty
useless for TeX usage.

Regards,
 Khaled
___________________________________________________________________________________
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] 5+ messages in thread

* Re: issue with logo and aalt
  2011-12-04 18:19 ` Khaled Hosny
@ 2011-12-04 19:07   ` Pablo Rodríguez
  2011-12-04 19:17     ` Wolfgang Schuster
  0 siblings, 1 reply; 5+ messages in thread
From: Pablo Rodríguez @ 2011-12-04 19:07 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 12/04/2011 07:19 PM, Khaled Hosny wrote:
> On Sun, Dec 04, 2011 at 05:46:03PM +0100, Pablo Rodríguez wrote:
>> 	\definefontfeature[allcaps][default][aalt=yes]
> 
> A bit off topic, but aalt stands for "access all alternates" 

Thanks, I knew it, Khaled.

aalt is not the best way to do it, but I didn't know how to get old
style numbers, small caps and all lowercase texts. I cannot achieve it with:

    \definefontfeature[allcaps][default][onum=yes,smcp=yes]

And redefining the setuphead command for chapter:

    \setuphead[chapter][style=\tfb\addfs{allcaps},command=\lowercase]

doesn't do the work (and it breaks the centering in a more elaborate
command).

How could I do it?

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

* Re: issue with logo and aalt
  2011-12-04 19:07   ` Pablo Rodríguez
@ 2011-12-04 19:17     ` Wolfgang Schuster
  2011-12-04 20:07       ` Pablo Rodríguez
  0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Schuster @ 2011-12-04 19:17 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 04.12.2011 um 20:07 schrieb Pablo Rodríguez:

> On 12/04/2011 07:19 PM, Khaled Hosny wrote:
>> On Sun, Dec 04, 2011 at 05:46:03PM +0100, Pablo Rodríguez wrote:
>>> 	\definefontfeature[allcaps][default][aalt=yes]
>> 
>> A bit off topic, but aalt stands for "access all alternates" 
> 
> Thanks, I knew it, Khaled.
> 
> aalt is not the best way to do it, but I didn't know how to get old
> style numbers, small caps and all lowercase texts. I cannot achieve it with:
> 
>    \definefontfeature[allcaps][default][onum=yes,smcp=yes]
> 
> And redefining the setuphead command for chapter:
> 
>    \setuphead[chapter][style=\tfb\addfs{allcaps},command=\lowercase]
> 
> doesn't do the work (and it breaks the centering in a more elaborate
> command).
> 
> How could I do it?

\setuphead[chapter][style=\WORD\tfb]

\starttext
\chapter{This was done with \CONTEXT!}
\stoptext

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

* Re: issue with logo and aalt
  2011-12-04 19:17     ` Wolfgang Schuster
@ 2011-12-04 20:07       ` Pablo Rodríguez
  0 siblings, 0 replies; 5+ messages in thread
From: Pablo Rodríguez @ 2011-12-04 20:07 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 12/04/2011 08:17 PM, Wolfgang Schuster wrote:
> [...]
> 
> \setuphead[chapter][style=\WORD\tfb]
> 
> \starttext
> \chapter{This was done with \CONTEXT!}
> \stoptext

Thanks, Wolfgang, it fixed my ignorance.

I'm afraid I still have the problem reported before.

I have no idea on how the \TeX logo is defined, but the capital E in the
\TeX logo seems to be lowered by the x-height of the font.

This method is as successful as other fonts than Computer Modern have
the same ascender as Computer Modern itself. And it doesn't work with
all small cap letters, because these are defined by having no ascender,
that is, x-height and cap height is the same.

My question is how can I redefine the \TeX logo using the E actual cap
height, so that it is lowered in the same proportion using the standard
form and the all small caps form.

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

end of thread, other threads:[~2011-12-04 20:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-04 16:46 issue with logo and aalt Pablo Rodríguez
2011-12-04 18:19 ` Khaled Hosny
2011-12-04 19:07   ` Pablo Rodríguez
2011-12-04 19:17     ` Wolfgang Schuster
2011-12-04 20:07       ` Pablo Rodríguez

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