# [NTG-context] \getscaledglyph for width-only

Hans Hagen pragma at wxs.nl
Wed Aug 17 23:45:17 CEST 2016

On 8/17/2016 9:56 PM, Brian R. Landy wrote:
> Hi, I was wondering if there is a way to call \getscaledglyph to scale a
> glyph only horizontally, leaving the height untouched?  Or maybe an
> alternate command?
>
> I can sort of accomplish this with (for example)
> \scale[sx=0.75,sy=1.0]{}{A}, but that encloses the glyph in an \hbox,
> which can be problematic.  \getscaledglyph doesn't cause me any
> problems, except that it scales the height too.

\starttext

\definefontfeature[whatever][default][extend=2.5]

\definedfont[Serif*whatever at 12pt]

whatever

\stoptext

-----------------------------------------------------------------