Malyshev's t2 fonts
Mon, 27 Dec 1999 05:21:34 -0500
Vladimir Volovich wrote:
> It seems that Maksym Polyakov found a bug in definition of glyph
> `hyphenchar' (used in T1 encoding).
> He wrote:
> MP> T1 and T2 fonts have hyphenchar which is hyphen with metrics
> MP> width half of its actual width and intended to use for hanging
> MP> hyphenation. (BTW, when used, make text look much better!)
> The definition of hyphenchar in latin.mtx (and latinsc.mtx) is:
> Which should probably be changed to:
For some reason I had to use
to get the metric correctly - possibly this problem has gone
> What do you think? In EC fonts, the width of hyphenchar (slot #127) is
> exactly half the width of hyphen (slot #45); and the glyph looks the
> same. Hyphenation of texts written with EC fonts when one sets
> \hyphenchar\font=127 is "half-hanging", as compared to the (default)
> case when \hyphenchar\font=45. IMHO, fontinst's definition should
> follow this rule.
In general the optimal lenght the hyphen sticks out is a font-dependent
property. So latin.mtx provides here some useful default value which
should be adjusted for fancy fonts. Using exactly 1/2 of the width is a
rather formalistic choice, though.
> BTW, is it okay that latin.mtx (and latinsc.mtx) contains the line
> BEFORE the definition of the `hyphenchar' glyph?
no good idea...