Wouldn't you want to just remove the TrueType="yes" attribute from each
one, thus treating them as normal files?

TrueType YesNoType Causes an entry to be generated for the file in the
Font table with no FontTitle specified. This attribute is intended to be
used to register the file as a TrueType font.

-----Original Message-----
From: Perry van der Mispel [mailto:mis...@hotitem.nl] 
Sent: Tuesday, August 24, 2010 11:44 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Copy fonts to folder. Without installing them.

Hello,

I need to copy my own fonts to a folder other than c:\windows\fonts. So
I don't want to install them.
This is because the application I develop (with DynamicPDF) needs to
include this files (DynamicPDF can't handle installed fonts)  and I want
to reference to a folder without concerning about the windows fonts
destination folder.

The only option I found to handle fonts is to use:

<Directory Id="FontsFolder">
           <Component Id="FontsDirectoryComponent"
Guid="CD1FE4A0-44BE-4582-89AF-18BAE74081D8" DiskId="1" KeyPath="yes">
                  <File Id="FOHELLBI.TTF" Name="FOHELLBI.TTF"
Source="$(var.WebSiteSrcDir)\BrievenResources\ASR\Fonts\FOHELLBI.TTF"
TrueType="yes" Vital="yes" />
                  <File Id="FOHELLIG.TTF" Name="FOHELLIG.TTF"
Source="$(var.WebSiteSrcDir)\BrievenResources\ASR\Fonts\FOHELLIG.TTF"
TrueType="yes" Vital="yes" />
                  <File Id="FOHELLIT.TTF" Name="FOHELLIT.TTF"
Source="$(var.WebSiteSrcDir)\BrievenResources\ASR\Fonts\FOHELLIT.TTF"
TrueType="yes" Vital="yes" />
                  <File Id="FOHELMED.TTF" Name="FOHELMED.TTF"
Source="$(var.WebSiteSrcDir)\BrievenResources\ASR\Fonts\FOHELMED.TTF"
TrueType="yes" Vital="yes" />
          </Component>
 </Directory>

But this will install the fonts.

If I use:
<Directory Id="MyFontsFolder" Name="MyOwnFontsFolder">
           <Component Id="FontsDirectoryComponent"
Guid="CD1FE4A0-44BE-4582-89AF-18BAE74081D8" DiskId="1" KeyPath="yes">
                  <File Id="FOHELLBI.TTF" Name="FOHELLBI.TTF"
Source="$(var.WebSiteSrcDir)\BrievenResources\ASR\Fonts\FOHELLBI.TTF"
Vital="yes" />
                ......
I receive a error about lanquage settings when building.
Renaming the fonts didn't help either.

Is there a way to do this?

Perry
------------------------------------------------------------------------
------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users

worldwide. Take advantage of special opportunities to increase revenue
and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to