[XeTeX] hyphenation in Ethiopian languages
Arthur Reutenauer
arthur.reutenauer at normalesup.org
Thu May 12 00:46:21 CEST 2011
> That doesn't surprise me; I'd expect you to get the font's .notdef glyph (which might be a blank space, as in this example, or a box, or some other symbol).
Thanks for the explanation, that makes sense.
> What you want is a character that has a zero-width, invisible glyph; if the font supports any of the Unicode characters such as ZWNBSP or ZWNJ or WJ or CGJ, etc., that ought to work.
Yes, that's what I thought too, but it doesn't provide a font-independent solution.
> Or character 13 (CR) is a likely bet, too.
Note that Mojca remarked that using character 10 (LF) produced the desired result in that particular font (Abyssinica SIL). Is there any reason why one would prefer the former over the latter, or why either of these characters would be a safer bet in general? I would have thought that both of them, being control characters (sort of), would precisely have no glyph in most fonts; after all, who would want to set a glyph for a character that's supposed to indicate the end of a line of text?
Arthur
>
More information about the XeTeX
mailing list