# [NTG-pdftex] [ pdftex-Feature Requests-743 ] Fake beginning/end of line for protrusion

Tue Mar 6 08:52:56 CET 2007

Feature Requests item #743, was opened at 2007-03-06 02:20
You can respond by visiting:
http://sarovar.org/tracker/?func=detail&atid=496&aid=743&group_id=106

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Robert (schlcht)
Assigned to: Nobody (None)
Summary: Fake beginning/end of line for protrusion

Initial Comment:
Although the situation with missing protrusion has
certainly improved, there are still a lot of cases
where characters will not be protruded (e.g. with
indented paragraphs, at the beginning of list items, or
of table cells).
So I think it would be useful to have some commands
that make pdftex believe that it is at the beginning or
end of a line (e.g. \protchar{left,right}). So that you
could for instance say:
\item\protcharleft ...
Difficult?

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

>Comment By: The Thanh Han (hanthethanh)
Date: 2007-03-06 07:52

Message:
Logged In: YES
user_id=710

yes it makes sense. I am not sure whether \protcharleft
could be implemented as macro: one can fetch the next char,
get the lpcode and do a corresponding kern. However I don't
know how to convert a character to its charcode to fetch the
relevant lpcode. Another problem is that if the next char is
part of a ligature (as in your example), it doesn't work.
Looks like a primitive is needed. Does anyone have a
suggestion how it could be implemented?

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

You can respond by visiting:
http://sarovar.org/tracker/?func=detail&atid=496&aid=743&group_id=106