On 25-2-2010 13:51, Khaled Hosny wrote:
On Wed, Feb 24, 2010 at 07:24:08PM +0100, Hans Hagen wrote:
On 24-2-2010 17:31, Khaled Hosny wrote:
On Tue, Feb 23, 2010 at 08:57:23PM +0200, Khaled Hosny wrote:
If a real test suite is needed, I can prepare a special copy of one of TeX Gyre fonts for this purpose.
I went ahead and patched texgyre pagella to implement lfbd/rtbd features (based on palatino protrusion values from microtype package), attached the font file and the "dirty" python script used to build it.
to get full protrusion i need to multiply by two so i think that it makes most sense to use full protrusion for punctuation and hyphens and if less is wanted use a factor of 0.5
But most of the time full protrusion isn't needed, right? I think full protrusion (assuming this is hanging punctuation) can be done in a generic way; protruding the glyph so that all of its bounding box is in the margin, and using font stored protrusion values for regular setting.
actually, i only use full protrusion (punctuation and hyphens) subtle protruding (as subtle hz) mostly goes unnoticed as experiments at user group meetings long ago have proven Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------