Is there a way to check whether a font is present in a user's system?
I need to generate a document with Myriad Pro if it exists, Arial
otherwise, and if neither, exit with an error.
I couldn't find anything in either the fontspec and xetex documentation.
Thanks
Alan
--
Alan Munn
am...@gm
Alan Munn wrote:
Is there a way to check whether a font is present in a user's system?
I need to generate a document with Myriad Pro if it exists, Arial
otherwise, and if neither, exit with an error.
Well, at the risk of impertinence (since I can't directly address your
question), if you
On Aug 29, 2010, at 12:25 PM, Fr. Michael Gilmary wrote:
Alan Munn wrote:
Is there a way to check whether a font is present in a user's
system? I need to generate a document with Myriad Pro if it
exists, Arial otherwise, and if neither, exit with an error.
Well, at the risk of imperti
Hi Alan,
Is there a way to check whether a font is present in a user's system?
I need to generate a document with Myriad Pro if it exists, Arial
otherwise, and if neither, exit with an error.
Myriad Pro is nothing like Arial, though... but just to make your life
worse: thought about version
On Aug 29, 2010, at 12:24 PM, Michiel Kamermans wrote:
Hi Alan,
Is there a way to check whether a font is present in a user's
system? I need to generate a document with Myriad Pro if it
exists, Arial otherwise, and if neither, exit with an error.
Myriad Pro is nothing like Arial, though
Some variation of
fc-list "Myriad Pro" > somefile
should get you a file you can run a test on.
--Barry macKichan
On 8/29/2010 10:56 AM, Alan Munn wrote:
>
> On Aug 29, 2010, at 12:24 PM, Michiel Kamermans wrote:
>
>> Hi Alan,
>>
>>> Is there a way to check whether a font is present in a user'
Hi, a while ago, Ulrike posted an nice way to allow legacy tipa code
to be used with xelatex. Unfortunately I've encountered a problem: it
doesn't work inside math mode. Is there a way to fix this? Thanks
Alan
% !TEX TS-program = XeLaTeX
\documentclass{article}
\usepackage{amsmath}
\use
On Sun, Aug 29, 2010 at 2:45 PM, Alan Munn wrote:
> Hi, a while ago, Ulrike posted an nice way to allow legacy tipa code to be
> used with xelatex. Unfortunately I've encountered a problem: it doesn't
> work inside math mode. Is there a way to fix this? Thanks
I use \mbox{} for text in maths m
On Aug 29, 2010, at 2:18 PM, George N. White III wrote:
On Sun, Aug 29, 2010 at 2:45 PM, Alan Munn wrote:
Hi, a while ago, Ulrike posted an nice way to allow legacy tipa
code to be
used with xelatex. Unfortunately I've encountered a problem: it
doesn't
work inside math mode. Is there a
Am 29.08.2010 um 18:17 schrieb Alan Munn:
Is there a way to check whether a font is present in a user's system?
Font Book?
Locate?
Find?
Lsbom?
Ftxinstalledfonts?
Fc-list or fc-match?
Spottlight?
--
Greetings
Pete
There is no worse tyranny than to force a man to pay for what he do
On Aug 29, 2010, at 3:40 PM, Ross Moore wrote:
>
> Attached is the version of Xunicode.sty that I'm using.
> Please compare it with what you have.
>
>
>
>
>
Howdy,
CTAN still has 0.91 released 2008 and that's what is in TL2010 pretest. Is this
purely experimental or are you going to rel
W dniu 29.08.2010 19:18, Barry MacKichan pisze:
Some variation of
fc-list "Myriad Pro"> somefile
should get you a file you can run a test on.
And when the 18th output is on (writing to shell), you can put
\immediate\write 18{fc-list "Myriad Pro" > fontcheck.
Grzegorz Murzynowski wrote:
And when the 18th output is on (writing to shell), you can put
\immediate\write 18{fc-list "Myriad Pro" > fontcheck.tex}
\newread\fontcheck
\immediate\openin\fontcheck="fontcheck.tex"
\ifeof \fontcheck …
Is the "\immediate" necessary before the \openin at line 3
Hi Herb,
On 30/08/2010, at 6:57 AM, Herbert Schulz wrote:
>
> On Aug 29, 2010, at 3:40 PM, Ross Moore wrote:
>
>>
>> Attached is the version of Xunicode.sty that I'm using.
>> Please compare it with what you have.
>>
>>
>>
>>
>>
>
> Howdy,
>
> CTAN still has 0.91 released 2008 and that
On Aug 29, 2010, at 4:59 PM, Ross Moore wrote:
> Hi Herb,
>
> On 30/08/2010, at 6:57 AM, Herbert Schulz wrote:
>
>>
>> On Aug 29, 2010, at 3:40 PM, Ross Moore wrote:
>>
>>>
>>> Attached is the version of Xunicode.sty that I'm using.
>>> Please compare it with what you have.
>>>
>>>
>>>
>
On Sun, Aug 29, 2010 at 12:17:38PM -0400, Alan Munn wrote:
> Is there a way to check whether a font is present in a user's
> system? I need to generate a document with Myriad Pro if it exists,
> Arial otherwise, and if neither, exit with an error.
>
> I couldn't find anything in either the fontsp
Since xetex uses fontcache, a extra benefit for Windows users is that
they now have a version. By default it looks at the Windows font
directory among others.
--Barry
On 8/29/2010 3:39 PM, Grzegorz Murzynowski wrote:
> W dniu 29.08.2010 19:18, Barry MacKichan pisze:
>> Some variation of
>> fc-
Hi,
I am not 100% sure, but "fc-list" and friends might not always list the fonts
even if they are on the user's system. For example, on my gentoo linux desktop,
fonts for Adobe Acrobat are installed in a specific directory and are not
included in the system-wide fonts by default. In fact, I ha
18 matches
Mail list logo