[***SPAM***] How to remove white space?
![](https://secure.gravatar.com/avatar/cedc4d83943006afe3994fb0a0455f82.jpg?s=120&d=mm&r=g)
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
![](https://secure.gravatar.com/avatar/93131e1e6e2204bd13501390d768dbdc.jpg?s=120&d=mm&r=g)
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
![](https://secure.gravatar.com/avatar/cedc4d83943006afe3994fb0a0455f82.jpg?s=120&d=mm&r=g)
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
![](https://secure.gravatar.com/avatar/7325514c8a7b377b86d86ad29d35e8ef.jpg?s=120&d=mm&r=g)
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
participants (3)
-
Khaled Hosny
-
Peter Münster
-
Wolfgang Schuster