Re: [XeTeX] FreeSerif fonts and devanagari ligatures

2014-03-11 Thread Khaled Hosny
On Mon, Mar 10, 2014 at 11:11:27PM -0400, Mike Maxwell wrote:
 On 3/10/2014 8:04 PM, Khaled Hosny wrote:
 That being said, there are some bugs in the HarfBuzz version used in
 TeX Live 2013 release, but this should be fixed when with 2014 upgrades
 to the latest HarfBuzz (people using exiting XeTeX release with the
 latest HarfBuzz, e.g. distro packages, should be fine as well).
 
 We'll be typesetting some Bangla (Bengali script) text in June, which afaik
 is before the TeXLive 2014 comes out.
 
 1) Do you happen to know whether the 2013 version's bugs break Bangla?

The bugs I’m aware of aren’t related to Bengali, but the number of bugs
is small anyway so not many texts/fonts are affected.

 I suppose that's an unanswerable question, since it probably depends on the
 exact font we'll be using, and maybe the 2013 version hasn't been tested
 with Bangla anyway.  So:

AFAIK, HarfBuzz has been regularly tested for Bengali.

 2) I assume this:
http://www.freedesktop.org/wiki/Software/HarfBuzz/
is where I should go for the latest HarfBuzz (at the moment, the 30 Jan
 2014 release),

Yes.

correct?  And that I don't need to install any revised version of
 anything else from
TeXLive 2013.

Things are a bit more complex. TeX Live binaries from TUG are statically
linked so that all dependencies are included in the binary, installing a
new HarfBuzz in this case has no effect on XeTeX as it will keep using
the one compiled into it. On the other hand, distributions that package
TeX Live will almost always dynamically link, so that XeTeX will be
using the system installed HarfBuzz and here updating HarfBuzz will
affect XeTeX as well. But if you can build HarfBuzz from source, you
probably can rebuild XeTeX too, it is a little harder but we can discuss
it when the need actually arises.

Regards,
Khaled




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


Re: [XeTeX] FreeSerif fonts and devanagari ligatures

2014-03-11 Thread François Patte
Le 10/03/2014 19:49, Steve White a écrit :
 Hi Françoise,
 
 I'm aware of some serious problems.  The development builds of FreeFont
 should resolve these.
 
 If you would like, I can give you access to development builds;
 we would be glad to hear your input.

Thank you. I'll try my best to give you some reports.




-- 
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



signature.asc
Description: OpenPGP digital signature


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


Re: [XeTeX] FreeSerif fonts and devanagari ligatures

2014-03-11 Thread Zdenek Wagner
2014-03-11 1:04 GMT+01:00 Khaled Hosny khaledho...@eglug.org:
 On Mon, Mar 10, 2014 at 11:02:02PM +0100, Zdenek Wagner wrote:
 Harfbuzz broke the indic rules

 Just to be clear, Pango/ICU had broken and/or incomplete Indic support,
 some fonts worked fine because they were specifically tested against
 them and adapted to their limitations, but the fonts were broken in
 other implementations (namely the de facto standard OpenType
 implementation and any other that followed it).

I have just built FreeFont revision 2910 from svn and ran my
Devanagari tests using both TL 2012 and TL 2013. I see no problems.

 That being said, there are some bugs in the HarfBuzz version used in
 TeX Live 2013 release, but this should be fixed when with 2014 upgrades
 to the latest HarfBuzz (people using exiting XeTeX release with the
 latest HarfBuzz, e.g. distro packages, should be fine as well).

 Regards,
 Khaled




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



-- 
Zdeněk Wagner
http://hroch486.icpf.cas.cz/wagner/
http://icebearsoft.euweb.cz




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


Re: [XeTeX] FreeSerif fonts and devanagari ligatures

2014-03-11 Thread François Patte
Le 11/03/2014 12:46, Zdenek Wagner a écrit :
 2014-03-11 1:04 GMT+01:00 Khaled Hosny khaledho...@eglug.org:
 On Mon, Mar 10, 2014 at 11:02:02PM +0100, Zdenek Wagner wrote:
 Harfbuzz broke the indic rules

 Just to be clear, Pango/ICU had broken and/or incomplete Indic support,
 some fonts worked fine because they were specifically tested against
 them and adapted to their limitations, but the fonts were broken in
 other implementations (namely the de facto standard OpenType
 implementation and any other that followed it).

 I have just built FreeFont revision 2910 from svn 

Where do you find them?



-- 
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



signature.asc
Description: OpenPGP digital signature


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


Re: [XeTeX] FreeSerif fonts and devanagari ligatures

2014-03-11 Thread Zdenek Wagner
2014-03-11 14:44 GMT+01:00 François Patte francois.pa...@mi.parisdescartes.fr:
 Le 11/03/2014 12:46, Zdenek Wagner a écrit :
 2014-03-11 1:04 GMT+01:00 Khaled Hosny khaledho...@eglug.org:
 On Mon, Mar 10, 2014 at 11:02:02PM +0100, Zdenek Wagner wrote:
 Harfbuzz broke the indic rules

 Just to be clear, Pango/ICU had broken and/or incomplete Indic support,
 some fonts worked fine because they were specifically tested against
 them and adapted to their limitations, but the fonts were broken in
 other implementations (namely the de facto standard OpenType
 implementation and any other that followed it).

 I have just built FreeFont revision 2910 from svn

 Where do you find them?

https://savannah.gnu.org/projects/freefont/


 --
 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




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




-- 
Zdeněk Wagner
http://hroch486.icpf.cas.cz/wagner/
http://icebearsoft.euweb.cz




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


Re: [XeTeX] FreeSerif fonts and devanagari ligatures

2014-03-11 Thread François Patte
Le 11/03/2014 15:06, Zdenek Wagner a écrit :
 2014-03-11 14:44 GMT+01:00 François Patte 
 francois.pa...@mi.parisdescartes.fr:
 Le 11/03/2014 12:46, Zdenek Wagner a écrit :
 2014-03-11 1:04 GMT+01:00 Khaled Hosny khaledho...@eglug.org:
 On Mon, Mar 10, 2014 at 11:02:02PM +0100, Zdenek Wagner wrote:
 Harfbuzz broke the indic rules

 Just to be clear, Pango/ICU had broken and/or incomplete Indic support,
 some fonts worked fine because they were specifically tested against
 them and adapted to their limitations, but the fonts were broken in
 other implementations (namely the de facto standard OpenType
 implementation and any other that followed it).

 I have just built FreeFont revision 2910 from svn

 Where do you find them?

 https://savannah.gnu.org/projects/freefont/

Thank you. These are the fonts coming with texlive-2013.


Can you try to compile this sample and look at ligature tr (gotra) on
first line, ligature  śr on second line and ligature pr on third line.

I get these ligatures disabled with a virama


\documentclass[a4paper,11pt]{report}

\usepackage{xltxtra}

\setmainfont[Mapping=tex-text]{%
  FreeSerif%
}

\usepackage[sanskrit]{babel}

\newfontfamily\sanskritfont[%
Script=Devanagari,Mapping=RomDev,Language=Sanskrit,AutoFakeSlant=0.2]{FreeSerif}

\begin{document}

{\sanskritfont%

atha
śāṇḍilyagotramunivara

śrīmaheśvaro

pratyūhavyūhanirāsāya

}

\end{document}




-- 
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



signature.asc
Description: OpenPGP digital signature


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


Re: [XeTeX] FreeSerif fonts and devanagari ligatures

2014-03-11 Thread Zdenek Wagner
2014-03-11 17:36 GMT+01:00 François Patte francois.pa...@mi.parisdescartes.fr:
 Le 11/03/2014 15:06, Zdenek Wagner a écrit :
 2014-03-11 14:44 GMT+01:00 François Patte 
 francois.pa...@mi.parisdescartes.fr:
 Le 11/03/2014 12:46, Zdenek Wagner a écrit :
 2014-03-11 1:04 GMT+01:00 Khaled Hosny khaledho...@eglug.org:
 On Mon, Mar 10, 2014 at 11:02:02PM +0100, Zdenek Wagner wrote:
 Harfbuzz broke the indic rules

 Just to be clear, Pango/ICU had broken and/or incomplete Indic support,
 some fonts worked fine because they were specifically tested against
 them and adapted to their limitations, but the fonts were broken in
 other implementations (namely the de facto standard OpenType
 implementation and any other that followed it).

 I have just built FreeFont revision 2910 from svn

 Where do you find them?

 https://savannah.gnu.org/projects/freefont/

 Thank you. These are the fonts coming with texlive-2013.

Yes, byt TL 2013 contains the official release of FreeFont dated
2012-05-03. This release does not work with Harfbuzz. A lot of
problems were fixed, the working version appeared  on subversion about
half year ago. Thus even a bit old revision works but definitely not
the official release.

 Can you try to compile this sample and look at ligature tr (gotra) on
 first line, ligature  śr on second line and ligature pr on third line.

Attached, all OK with a newer version of FreeFont.

 I get these ligatures disabled with a virama


 \documentclass[a4paper,11pt]{report}

 \usepackage{xltxtra}

 \setmainfont[Mapping=tex-text]{%
   FreeSerif%
 }

 \usepackage[sanskrit]{babel}

 \newfontfamily\sanskritfont[%
 Script=Devanagari,Mapping=RomDev,Language=Sanskrit,AutoFakeSlant=0.2]{FreeSerif}

 \begin{document}

 {\sanskritfont%

 atha
 śāṇḍilyagotramunivara

 śrīmaheśvaro

 pratyūhavyūhanirāsāya

 }

 \end{document}




 --
 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




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




-- 
Zdeněk Wagner
http://hroch486.icpf.cas.cz/wagner/
http://icebearsoft.euweb.cz


sanskrit.pdf
Description: Adobe PDF document


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


Re: [XeTeX] FreeSerif fonts and devanagari ligatures

2014-03-11 Thread François Patte
Le 11/03/2014 22:18, Zdenek Wagner a écrit :
 2014-03-11 17:36 GMT+01:00 François Patte 
 francois.pa...@mi.parisdescartes.fr:
 Le 11/03/2014 15:06, Zdenek Wagner a écrit :
 2014-03-11 14:44 GMT+01:00 François Patte 
 francois.pa...@mi.parisdescartes.fr:
 Le 11/03/2014 12:46, Zdenek Wagner a écrit :
 2014-03-11 1:04 GMT+01:00 Khaled Hosny khaledho...@eglug.org:
 On Mon, Mar 10, 2014 at 11:02:02PM +0100, Zdenek Wagner wrote:
 Harfbuzz broke the indic rules

 Just to be clear, Pango/ICU had broken and/or incomplete Indic support,
 some fonts worked fine because they were specifically tested against
 them and adapted to their limitations, but the fonts were broken in
 other implementations (namely the de facto standard OpenType
 implementation and any other that followed it).

 I have just built FreeFont revision 2910 from svn

 Where do you find them?

 https://savannah.gnu.org/projects/freefont/

 Thank you. These are the fonts coming with texlive-2013.

 Yes, byt TL 2013 contains the official release of FreeFont dated
 2012-05-03. This release does not work with Harfbuzz. A lot of
 problems were fixed, the working version appeared  on subversion about
 half year ago. Thus even a bit old revision works but definitely not
 the official release.

 Can you try to compile this sample and look at ligature tr (gotra) on
 first line, ligature  śr on second line and ligature pr on third line.

 Attached, all OK with a newer version of FreeFont.

Why do I get 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


ecm.pdf
Description: Adobe PDF document


signature.asc
Description: OpenPGP digital signature


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


Re: [XeTeX] FreeSerif fonts and devanagari ligatures

2014-03-11 Thread Zdenek Wagner
2014-03-11 23:36 GMT+01:00 François Patte francois.pa...@mi.parisdescartes.fr:
 Le 11/03/2014 22:18, Zdenek Wagner a écrit :
 2014-03-11 17:36 GMT+01:00 François Patte 
 francois.pa...@mi.parisdescartes.fr:
 Le 11/03/2014 15:06, Zdenek Wagner a écrit :
 2014-03-11 14:44 GMT+01:00 François Patte 
 francois.pa...@mi.parisdescartes.fr:
 Le 11/03/2014 12:46, Zdenek Wagner a écrit :
 2014-03-11 1:04 GMT+01:00 Khaled Hosny khaledho...@eglug.org:
 On Mon, Mar 10, 2014 at 11:02:02PM +0100, Zdenek Wagner wrote:
 Harfbuzz broke the indic rules

 Just to be clear, Pango/ICU had broken and/or incomplete Indic support,
 some fonts worked fine because they were specifically tested against
 them and adapted to their limitations, but the fonts were broken in
 other implementations (namely the de facto standard OpenType
 implementation and any other that followed it).

 I have just built FreeFont revision 2910 from svn

 Where do you find them?

 https://savannah.gnu.org/projects/freefont/

 Thank you. These are the fonts coming with texlive-2013.

 Yes, byt TL 2013 contains the official release of FreeFont dated
 2012-05-03. This release does not work with Harfbuzz. A lot of
 problems were fixed, the working version appeared  on subversion about
 half year ago. Thus even a bit old revision works but definitely not
 the official release.

 Can you try to compile this sample and look at ligature tr (gotra) on
 first line, ligature  śr on second line and ligature pr on third line.

 Attached, all OK with a newer version of FreeFont.

 Why do I get this?

URL is on the project page, this is shown by svn info:

svn info /usr/local/zwfonts/freefont
Path: /usr/local/zwfonts/freefont
Working Copy Root Path: /usr/local/zwfonts/freefont
URL: svn://svn.savannah.gnu.org/freefont/trunk/freefont
Repository Root: svn://svn.savannah.gnu.org/freefont
Repository UUID: 3f5956db-6956-4f1c-a952-c5934ae6f67f
Revision: 2910
Node Kind: directory
Schedule: normal
Last Changed Author: Stevan_White
Last Changed Rev: 2910
Last Changed Date: 2014-02-05 23:32:56 +0100 (Wed, 05 Feb 2014)

You will need fontforge and run make.

 --
 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



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




-- 
Zdeněk Wagner
http://hroch486.icpf.cas.cz/wagner/
http://icebearsoft.euweb.cz




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