[XeTeX] Follow-up to previous mail about hyphenation

Yannis Haralambous yannis1962 at gmail.com
Thu Mar 25 17:17:23 CET 2021


Well it is neither polyglossia nor fontspec, because I have ran the following file:

\documentclass{article}
\textwidth1mm
\begin{document}
\font\arabicfont="[./Amiri-Regular.ttf]"

\lefthyphenmin1
\righthyphenmin1

\makeatletter\language\l at arabic
\arabicfont

^^^^0643^^^^200d^^^^200d^^^^0643^^^^200d^^^^200d^^^^0643^^^^200d^^^^200d^^^^0643^^^^200d^^^^200d^^^^0643
^^^^0643^^^^200d^^^^200d^^^^0643^^^^200d^^^^200d^^^^0643^^^^200d^^^^200d^^^^0643^^^^200d^^^^200d^^^^0643
^^^^0643^^^^0643^^^^0643^^^^0643^^^^0643
^^^^0643^^^^0643^^^^0643^^^^0643^^^^0643

\end{document}

and still get that odd behavior: between ^^^^0643 I get flawless hyphenation but not between ^^^^200d

My patterns are \patterns{^^^^0643^^^^200d1^^^^200d^^^^0643
^^^^06431^^^^0643
^^^^200d1^^^^200d
}

I'm attaching my xelatex.log file, do you see any file that can have affected the behavior of ^^^^200d?



> Le 25 mars 2021 à 12:55, Jonathan Kew <jfkthame at gmail.com> a écrit :
> 
> On 25/03/2021 11:37, Yannis Haralambous wrote:
>> OK, this may be a bug, but it doesn't explain why in polyglossia+fontspec I get no hyphenation at all. I should get at least one hyphenation in each word, no?
> 
> My guess is that polyglossia (or something else in latex?) thinks it knows best how to handle U+200D and is getting in your way.

 <http://www.imt-atlantique.fr/>	Yannis HARALAMBOUS
Professor
Computer Science Department
UMR CNRS 6285 Lab-STICC
 <http://perso.telecom-bretagne.eu/yannisharalambous/> <https://twitter.com/y_haralambous> <https://www.linkedin.com/in/yannis-haralambous-5529073?trk=hp-identity-name>Technopôle Brest-Iroise CS 83818
29238 Brest Cedex 3, France
Une école de l'IMT <http://www.imt.fr/>
Pour le spectateur — et particulièrement pour l'historien de la peinture —
distinguer les couleurs mates des couleurs brillantes est indispensable.
Or comment repérer, simplement repérer, les couleurs mates sur l'écran d'un ordinateur?     (Michel Pastoureau)



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/xetex/attachments/20210325/c23f094d/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xelatex.log
Type: application/octet-stream
Size: 66873 bytes
Desc: not available
URL: <https://tug.org/pipermail/xetex/attachments/20210325/c23f094d/attachment-0001.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/xetex/attachments/20210325/c23f094d/attachment-0003.html>


More information about the XeTeX mailing list.