Re: [XeTeX] If font under fontspec

2010-09-21 Thread Gareth Hughes
Michiel Kamermans wrote: Purely from a production point of view: if you have a document for which it is important the right fonts are available, making sure the fonts are available to whomever needs to compile it might deserve consideration too. So that rather than trying to fix the source,

[XeTeX] If font under fontspec

2010-09-20 Thread Gareth Hughes
Dear friends, What is the best way to write a code that will check if a certain named font, or group of fonts, is being used and implement some code if it is the case? I mainly want to use this to make a few tweaks to proprietary fonts, mostly kerning. Thanks, Gareth.

Re: [XeTeX] If font under fontspec

2010-09-20 Thread Alan Munn
On Sep 20, 2010, at 1:30 PM, Gareth Hughes wrote: Dear friends, What is the best way to write a code that will check if a certain named font, or group of fonts, is being used and implement some code if it is the case? I mainly want to use this to make a few tweaks to proprietary fonts,

Re: [XeTeX] If font under fontspec

2010-09-20 Thread Gareth Hughes
Alan Munn wrote: On Sep 20, 2010, at 1:30 PM, Gareth Hughes wrote: Dear friends, What is the best way to write a code that will check if a certain named font, or group of fonts, is being used and implement some code if it is the case? I mainly want to use this to make a few tweaks to

Re: [XeTeX] If font under fontspec

2010-09-20 Thread Gareth Hughes
Peter Dyballa wrote: Am 20.09.2010 um 20:44 schrieb Gareth Hughes: I'm asking for a more useful implementation that checks whether a certain font is in use now Wouldn't it be sufficient to check what \{rm,sf,tt}default are set to? Perhaps, but a more general, fontspec solution is

Re: [XeTeX] If font under fontspec

2010-09-20 Thread Will Robertson
On 2010-09-21 09:39:51 +0930, Gareth Hughes garzoh...@gmail.com said: Peter Dyballa wrote: Am 20.09.2010 um 20:44 schrieb Gareth Hughes: I'm asking for a more useful implementation that checks whether a certain font is in use now Wouldn't it be sufficient to check what