[XeTeX] XeTeX Digest, Vol 48, Issue 13
Will Robertson
wspr81 at gmail.com
Mon Mar 10 02:57:43 CET 2008
On 09/03/2008, at 3:08 PM, Barry MacKichan wrote:
> \setmainfont[UprightFont={Hebrew={Adobe Hebrew},CJK={NSimSun}}]{Adobe
> Garamond Pro]
This idea has sparked some very interesting discussion on both sides
of the fence. With regard to fontspec, however, it isn't going to
happen :)
Like Jonathan says, there's more going on here than just changing the
font -- it's much more related to changing the language, which is
better handled by polyglossia or perhaps another package again that
uses char classes in association with polyglossia.
However, no-one's answered my question about the default char classes :)
Is it to inefficient to have predefined char classes for the entire
unicode range?
Perhaps a better idea would be to allocate char classes dynamically
when needed and assign them using names instead.
\newcharclass{hebrew}
\assigncharclass{hebrew}{"09472-"F3621}
for example. (Numbers completely made up :))
Named ranges could also be used:
\assigncharclass{hebrew}{HebrewWithPunctuation}
Just throwing ideas around :)
Best regards,
Will
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2415 bytes
Desc: not available
Url : http://tug.org/pipermail/xetex/attachments/20080310/ba85a27b/attachment.bin
More information about the XeTeX
mailing list