Video Screencast Help
Search Video Help Close Back
to help
New in the Rewards Catalog: Vouchers for "Symantec Technical Specialist" and "Symantec Certified Specialist" exams.

How to use CopyFonts?

Updated: 29 Jul 2010 | 6 comments
tjwest's picture
0 0 Votes
Login to vote

I receive the errors listed above when trying to virtualize Office 2007, but I'm not sure how to use copyfonts. When I ran copyfonts with the name of the layer specified and the -LAYER switch, I received errors saying it couldn't copy all the font files. Am I doing something wrong?

Update:  Here are some particulars of issues I am having virtualizing Microsoft Office 2007 and 2003, which CopyFonts is not resolving:

After virtualizing Microsoft Office 2007 and 2003 using single program capture, I imported MSO 2007 on a machine and noticed that three specific fonts (Wingdings2 and 3 and Bookshelf 7) did not show up in the drop down font list.  I reset the layer, which allowed the two Wingding fonts to appear and work successfully (Which I guess doesn't matter that much...I mean who uses Wingdings, really?).  Then, I ran a script using copyfonts as such: C:\copyfonts.exe "Name of Office Layer".  When this did not fix the issue, I rebooted the machine and all three fonts then showed up in the font drop down list and showed up on the page as expected when typed. 

Then the fun began.  I imported MSO 2003 on the same machine and discovered four fonts were missing from the drop down list.  I tried the same thing, and after the reboot the four font files showed and worked successfully.  However, when I opened 2007, the Bookshelf 7 font was gone again and would not type. 

Is there a specific order that these imports/scripts should be performed?  I am at a loss for what to do.....especially considering we are on a tight time frame and need a solution and understanding to the issues fast.

Please help!!

Comments

Jordan's picture
23
Jun
2009
1 Vote +1
Login to vote

I believe this is an issue

I believe this is an issue that was resolved with 6.1.

Also you should be using the -remove switch as well, fonts being in the layer is what's causing all of this.

If a forum post solves your problem please flag is as the solution

tjwest's picture
23
Jun
2009
0 Votes 0
Login to vote

So......

When I run CopyFonts, it should run as such:

CopyFonts.exe "Name of Layer" -REMOVE

?

In the past when I had used the remove switch, I would see no fonts in the drop down box, which is why I stopped trying to use it.  Also, have you experienced issues with fonts when more than two Office layers are on a machine?

Jordan's picture
24
Jun
2009
0 Votes 0
Login to vote

Are you running as an

Are you running as an administrator?  Fonts cannot be registered unless you are.

If a forum post solves your problem please flag is as the solution

tjwest's picture
24
Jun
2009
0 Votes 0
Login to vote

Yep....

We are running the script through Deployment Server as a system account.

tjwest's picture
24
Jun
2009
0 Votes 0
Login to vote

Working....

I used a Deployment Server job to:

-Import the Office 2007 Pro layer
-Run the copyfonts script as such: copyfonts.exe "Layer Name" -REMOVE
-Activated the Office 2007 layer
-Repeated the above steps for Office 2003 Standard

This caused all fonts in both applications to function normally.  Thanks for all of your help, Jordan!!!!

P.S. - I just made another post regarding issues virtualizing Office..................more work for ya!!!!   ;-)

jdulle's picture
24
Jun
2009
0 Votes 0
Login to vote

I have had mixed results as well....

I was using copyfonts in a wisescript postImport function and started having mixed results with it.  Started having apps that the fonts were obviously broken on.  Maybe I need to change my syntax or understand what should be ultimately happening here with copyfonts.  I was copying copyfonts to c:\windows\system32 than running c:\windows\system32\copyfonts.exe "LAYERGUID" -LAYER -REMOVE.  In the example above you say to just use -REMOVE so....I don't need -LAYER in the command at all?  Now I am experimenting with it.  I have a package that has one font file in the package.  If I import the package that run c:\windows\system32\copyfonts.exe "LAYERGUID" -REMOVE what I expect to happen is for the font to be deleted from the readonly redirect area C:\fslrdr\1\[_B_]FONTS[_E_] and reside in the c:\windows\fonts directory on the base.  This is not happening.  Is there something I am doing wrong as well?  Since I have not had consistent results with this I have switched back to deleting any fonts out of the package than running a postimport script that copys the fonts locally and registers them but this is certainly more of a pain than the automagic of copyfonts.