[XeTeX] A general suggetion for managing the fontselectionformixed-language document

John Was john.was at ntlworld.com
Sat Sep 1 16:31:13 CEST 2007


Yes, I thought that would be a problem, but just threw out the idea in case anyone had some thoughts on it.  For each font I usually compile a list of adjustments that need to be made, and they can be inserted by global search-and-replace, though of course this makes for a rather untidy file:

\/}\kern 0.05em :

at the junction between italic and a following roman colon, for example.

Best

John

  ----- Original Message ----- 
  From: Yin Dian 
  To: Unicode-based TeX for Mac OS X and other platforms 
  Sent: Saturday, September 01, 2007 3:22 PM
  Subject: JunkEmail: Re: [XeTeX] A general suggetion for managing the fontselectionformixed-language document


  Hi,

  I'm afraid you can't apply the way of adding space between Chinese and English to adjusting kern pairs for italic correction. I'm using \XeTeXinterchartoks to add macros when character class switches, rather than kern pairs. Kern pairs is quite a good idea for spacing adjustment, which can allow font-specific adjusting, and can simplify the effort considering line break by defining kern pairs between a character and the margin. However, currently XeTeX does not seem to support this feature. And, I don't know whether there is some method to know what the previous character is when performing a class switch, so it's hard to realizing kern pairs using inter-character class tokens without defining a lot of classes. 

  Regards.

  YIN Dian

   
  On 9/1/07, John Was <john.was at ntlworld.com> wrote: 
     
    Hi

    Thanks for putting me on to WinRAR - I've got a decompression utility (Conversions Plus) that recognizes all the archives I've encountered so far, but this is my first experience of .bz2. 

    I wonder if the concept of adjusting spacing between fonts could be widened to include e.g. customized 'kerning' pairs between an italic character and adjacent roman punctuation in an ordinary roman-alphabet font.  Only today someone pointed out that in my version of Baskerville an italic 'f' followed by a roman comma had an ugly wide gap, and this sort of thing happens all the time when one is using italic to highlight a word or phrase (or of course a book title), with a piece of roman punctuation immediately after the italic:  the spacing often looks a little wrong (either too tight or too wide) and one would like to be able to give  TeX a list of appropriate adjustments (ideally a list of specific character pairs rather than just what to do when one font ends and another one begins).  It occurred to me that what you have done to improve the transition between Chinese and English might eventually be adapted to achieve this. 

    Best


    John



    ----- Original Message ----- 
      From: Yin Dian 
      To: Unicode-based TeX for Mac OS X and other platforms 
      Sent: Saturday, September 01, 2007 1:54 PM
      Subject: JunkEmail: Re: [XeTeX] A general suggetion for managing the font selectionformixed-language document

       
      Hi,

      You can check out the svn trunk. I could open the archive using WinRAR on Windows XP.

      YIN Dian

       
      On 9/1/07, John Was <john.was at ntlworld.com > wrote: 
         
        The Chinese package looks excellent.  My computer (Windows XP) won't recognize the .bz2 files on the website.  How do I get at the contents (presumably a collection of .TEX or .STY files)? 

        Best


        John
          ----- Original Message ----- 
          From: Yin Dian 
          To: Unicode-based TeX for Mac OS X and other platforms 
          Sent: Saturday, September 01, 2007 11:00 AM
          Subject: JunkEmail: Re: [XeTeX] A general suggetion for managing the font selection formixed-language document

           
          Hi all,

          I agree that it's a better idea not to implement this feature in fontspec but in other packages, where the character class scheme may be totally redefined discarding the effort of fontspec. In fact, the package "zhspacing" for Chinese document spacing adjustment is almost ready for use now. You can find out more info on the BBS of USTC and SMTH in Chinese. The project homepage is http://code.google.com/p/zhspacing/. HTH.

          Regards.

          YIN Dian


          On 9/1/07, Will Robertson < wspr81 at gmail.com> wrote: 
            On 01/09/2007, at 17:44 , Song Zhiwei wrote: 

            > Many users is going to manage the font selection for mixed-language 
            > document. This can be done by adding a feature of "Unicode" for
            > \fontsec like the feature of "Size".

            I'm happy to support the addition of such features to fontspec but I
            wonder if a new package would be a better idea (there's no reason
            this couldn't hook into the fontspec interface, though).

            There's additional stuff that falls into the category of this sort of
            feature that doesn't make so much sense in fontspec -- for example, 
            tuning the spacing around punctuation. Perhaps the upcoming jspacing
            (?) package will do this sort of thing.

            Sadly I don't have time to work on this new interface but I
            definitely like the idea.

            Will
            _______________________________________________
            XeTeX mailing list 
            postmaster at tug.org
            http://tug.org/mailman/listinfo/xetex





----------------------------------------------------------------------


          _______________________________________________
          XeTeX mailing list
          postmaster at tug.org
          http://tug.org/mailman/listinfo/xetex






        _______________________________________________
        XeTeX mailing list
        postmaster at tug.org 
        http://tug.org/mailman/listinfo/xetex






--------------------------------------------------------------------------


      _______________________________________________
      XeTeX mailing list
      postmaster at tug.org
      http://tug.org/mailman/listinfo/xetex




    _______________________________________________
    XeTeX mailing list
    postmaster at tug.org 
    http://tug.org/mailman/listinfo/xetex






------------------------------------------------------------------------------


  _______________________________________________
  XeTeX mailing list
  postmaster at tug.org
  http://tug.org/mailman/listinfo/xetex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/xetex/attachments/20070901/0217b205/attachment-0001.html 


More information about the XeTeX mailing list