<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><pre>thanks Jonathan,<br><br>&gt;(Please keep the discussion on the mailing list rather than emailing me<br>&gt;personally, so that others may participate, as well as for the sake of the<br>&gt;archives.)<br><br>it's done, thanks for remaindering<br>&nbsp;<br>&gt;Do you mean that you're trying to modify the (C or Pascal) code of xetex<br>&gt;itself to do this, or you're trying to do it at the TeX macro level? <br><br>I'm trying to do it in the web source or in a change file (ch)<br><br><br>&gt;Do you really mean that you want to substitute one *glyph* for another, or do you want<br>&gt;to substitute a *character* in a certain context? Maybe you could give a<br>&gt;real-life example to make it clear what you're trying to achieve.<br><br>Actually I'm trying to use jalt (justification alternative) of OT font, to improve line <br>justification, so I'm working to
 modify the line breaking algorithm. thus I want that the <br>substitution to be independent of the font engine.<br>and the replacement happens only if that improves the line justification. <br><br><br></pre></td></tr></table><br>