Re: [NTG-context] [***SPAM***] How to remove white space?

2012-02-14 Thread Khaled Hosny
On Tue, Feb 14, 2012 at 08:46:34PM +0100, Peter Münster wrote:
> On Tue, Feb 14 2012, Wolfgang Schuster wrote:
> 
> > This space is part of the font.
> 
> Yes, that's what I've guessed too.
> 
> The question was more, if there was a method to say:
> "Dear TeX-engine, give me please the letter `M' but without its natural
> kerning on the right side."
> 
> I thought, that all this information was inside the font: width of the
> glyph, left kerning, right kerning, and so on. It seems, that I was
> wrong...

That would be the side bearings which is not readily accessible (not to
TeX at least).

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
___

Re: [NTG-context] [***SPAM***] How to remove white space?

2012-02-14 Thread Peter Münster
On Tue, Feb 14 2012, Wolfgang Schuster wrote:

> This space is part of the font.

Yes, that's what I've guessed too.

The question was more, if there was a method to say:
"Dear TeX-engine, give me please the letter `M' but without its natural
kerning on the right side."

I thought, that all this information was inside the font: width of the
glyph, left kerning, right kerning, and so on. It seems, that I was
wrong...

-- 
   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
___


Re: [NTG-context] [***SPAM***] How to remove white space?

2012-02-14 Thread Wolfgang Schuster

Am 14.02.2012 um 20:25 schrieb Peter Münster:

> Hello,
> 
> Here you see some white space at the left and the right of ".COM":
> \ss \framed[offset=overlay]{.COM}

This space is part of the font.

\setupbodyfont[sans]

\starttext

\dontleavehmode
\ruledhbox{.}%
\ruledhbox{C}%
\ruledhbox{O}%
\ruledhbox{M}

\framed[offset=overlay]{.COM}

\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
___


[NTG-context] [***SPAM***] How to remove white space?

2012-02-14 Thread Peter Münster
Hello,

Here you see some white space at the left and the right of ".COM":
\ss \framed[offset=overlay]{.COM}

How can I remove this space in the right, correct, natural, smart,
elegant, ConTeXtish manner?

I have a workaround, but I find it a bit ugly:

\starttext
\ss \framed[offset=overlay]{\kern-0.07em.COM\kern-0.07em}
\stoptext

TIA for any hints!
-- 
   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
___