On 7/12/14 23:34, Mike Maxwell wrote:
Using a Unicode non-breaking hyphen (U+2011) appears to prevent the line
break when I try this with a different font.  Unfortunately, the font I
need to use doesn't have a glyph for this code point, so I get a box in
the PDF.  (Is there a way to use the ASCII dash glyph for this code
point, while preserving the non-breaking status of the U+2011 code
point?  Short of hacking the font.)

I think you could do this by using a font mapping to replace U+2011 with U+002D for this font. If I recall correctly, this wouldn't affect the line-breaking (or non-breaking) behavior; it would only do this subsitution for rendering purposes.

JK



--------------------------------------------------
Subscriptions, Archive, and List information, etc.:
 http://tug.org/mailman/listinfo/xetex

Reply via email to