[XeTeX] Auto Font and Language Package in XeTeX

Venkatesan. S.K. (TNQ) skvenkat at tnq.co.in
Mon Dec 13 06:57:10 CET 2010


Hi,

If you look at current generation browsers, they assign fonts by default to
all language scripts by their unicode plane.
Say, Greek="Palatino Linotype" etc..
They also allow you to change the default font settings.

It would be a nice idea to build a default package in XeLaTeX that would use
these fonts.
However, the difficulty with XeLaTeX is that (as far as I am aware) there
are no automatic langauge-script detection devices that can do the work for
you, e.g.,

@font-face {
  font-family: STIXGeneral;
  src: local(STIXGeneral), url(/stixfonts/STIXGeneral.otf);
  unicode-range: U+000-49F, U+2000-27FF, U+2900-2BFF, U+1D400-1D7FF;
}

Is there such a thing in XeLaTeX?


Regards

Suki
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/xetex/attachments/20101213/b65beae3/attachment.html>


More information about the XeTeX mailing list