# Whatever happened to \newfontinstance?

I just installed a pretest version of TeXLive 2010 and tried compiling some files as a test. None of my XeLaTeX files compile because apparently the command \newfontinstance (which was defined in fontspec, if I remember correctly) no longer exists.

Reading the documentation (texdoc fonstspec) I see that this is indeed the case and that there are now other commands such as \fontspec, \newfontfamily, ...

## Question

What is the minimal change I have to do to my XeLaTeX documents to get them to compile? Is is simply a question of changing \newfontinstance to \newfontfamily?

It seems that making the above change works (insofar as the document compiles and looks alright), but I'd like confirmation that I'm doing the right thing. Thanks!

-
I don't really see what you need, given that you already solved your problem and confirmed this works... – Vivi Jul 31 '10 at 20:50
What I needed was Will's assurance that the two commands were functionally interchangeable. I grant you that I could have tried to download an old version of the fontspec source and compared, but the whole point of sites like this is that whereas this would take a considerable amount of time on my part, it's immediately answerable by the author of the software. – José Figueroa-O'Farrill Aug 1 '10 at 14:33