[XeTeX] Follow-up to previous mail about hyphenation

Yannis Haralambous yannis1962 at gmail.com
Thu Mar 25 11:22:38 CET 2021


When I run the same file with Amiri:

% !TeX Program=Ini-XeTeX

\catcode `\ = 10
\catcode `\         = 10
\catcode `\{ = 1
\catcode `\} = 2
\catcode `\^ = 7
\font\tenrm="Amiri-Regular.ttf"
\tenrm

\lccode "200D = "200D
\patterns {^^^^200d1^^^^200d}

\def \showhyphens 
        {
                \setbox 0 = \vbox 
                        {
                                \parfillskip = 0 pt 
                                \hsize = \dimen 10
                                \tenrm 
                                \pretolerance = -1
                                \tolerance = -1
                                \hbadness = 0
                                \showboxdepth = 0 \ #1
                        }
        }

\lccode "200D = "200D
\catcode "200D = 11
bla^^^^200d^^^^200dbla
\showhyphens {bla^^^^200d^^^^200dbla}

\end

I get three pages, one with blabla, one with bla and a box, and another with bla.
Maybe \showhyphens is not correctly defined in the code above?

> Le 25 mars 2021 à 11:20, Philip Taylor <P.Taylor at Hellenic-Institute.Uk> a écrit :
> 
> Philip Taylor wrote:
> 
>> And I see no significant font using Amiri —
> 
> "no significant difference ...".

 <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/>
Und nach einer kleinen Stille fügte Sie hinzu:
Jeder Weg, der dorthin führt, war am Ende der richtige.     (Michael Ende)



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/xetex/attachments/20210325/c9d7520f/attachment-0001.html>


More information about the XeTeX mailing list.