Installing Fonts / Copy a file to Windows Directory [message #338672] |
Tue, 05 August 2008 10:52 |
Signum
Messages: 13 Registered: July 2008
|
Junior Member |
|
|
Hi !
I have a problem with fonts. One of my reports need a font to display correctly. This font is on the AS. From Forms, I call the report and I use the procedure "WEBUTIL_FILETRANSFER.AS_To_Client", "C:\windows\fonts" (AS side) to "C:\windows\fonts" (client side), but there's no file transferred. In fact, when I use "C:\", it works fine.
It seems I can't use "C:\windows\fonts\" as a directory for the client. I also tried to copy the font in a directory (one that works) and use "WEBUTIL_File.Copy_File" to "C:\Windows\Fonts" but it doesn't work either. I'm sure I have admin rights.
Is there another way to install font ? (for Windows)
For info, I'm using Forms 10g and Database 10g. My OS is Windows XP SP2 and I tried with IE7 and Firefox 3.0 browsers.
[Updated on: Tue, 05 August 2008 10:53] Report message to a moderator
|
|
|
|
|
|
Re: Installing Fonts / Copy a file to Windows Directory [message #341521 is a reply to message #338672] |
Tue, 19 August 2008 03:35 |
Signum
Messages: 13 Registered: July 2008
|
Junior Member |
|
|
If I only use the "Web.Show_Document" command, I have to change the URL and it works but with the problem of fonts.
However, I just found a solution. I have to write something in Windows registry (on client side) in order to make fonts working.
In Windows registry, I add a new string in "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Fonts". Its name is the name of the font and the value is the file name of the font. Then, I can copy font files to "C:\Windows\Fonts". But, the computer (client side) has to be restarted.
|
|
|