From: Perry v. d. M. <mi...@ho...> - 2010-08-25 06:43:49
|
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 |