[XeTeX] wrong r+vocalic r ligature in FreeSerif font

François Patte francois.patte at mi.parisdescartes.fr
Sat Jul 26 15:11:02 CEST 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Le 04/07/2014 11:15, François Patte a écrit :
> Bonjour,
> 
> I found a wrong ligature r+vocalic r in FreeSerif fonf:
> 
> रृ
> 
> Is that a known bug?

In fact freetype fonts seem to be able to display the right ligature:

U+0930 U+094D U+090B give the right glyph.


I tried to make a hack of the velthuis-sanskrit.map file, inserting
this between the 1st and 2nd pass:

;;;;;;;;;;;;;;;;;;;;;;;;;;;;
pass (Unicode)

UniClass [svara] = (Asvara isvara Isvara usvara Usvara rvoc Rvoc lvoc
Lvoc esvara aisvara \
                 osvara ausvara ocandra)
UniClass [matra] = (Amatra imatra Imatra umatra Umatra rmatra Rmatra
lmatra Lmatra ematra \
                 aimatra omatra aumatra ocmatra)


([matra]|[svara]) ra rvoc <> ([matra]|[svara]) ra virama rvoc
;;;;;;;;;;;;;;;;;;;;;;;;;

This works on my test file but as I do not know much about the teckit
language, I am not sure about possible side effects.....

Could some experts check this?



- -- 
François Patte
UFR de mathématiques et informatique
Laboratoire CNRS MAP5, UMR 8145
Université Paris Descartes
45, rue des Saints Pères
F-75270 Paris Cedex 06
Tél. +33 (0)1 8394 5849
http://www.math-info.univ-paris5.fr/~patte
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlPTqOAACgkQdE6C2dhV2JWB/QCgoQEHqQu4L2n4FQCJkHrQH6pV
xsAAn1kcJeUqSul82CM10XhxK6iCa4+j
=5Isv
-----END PGP SIGNATURE-----




More information about the XeTeX mailing list