Michael Robinson
asked on
How can I tell shared cold fusion server to find fonts in a custom location
How can I tell the shared cold fusion server to look for fonts in a folder of my choosing rather than just look in c:\windows\fonts\?
I don't have permissions to access that folder.
I need for the system to look for fonts at:
d:\ftp\myroot\fonts\
This is because I am using the <CFdocument> tag which is converting an HTML page to a PDF.
I have to embed the fonts I use so that everyone who downloads the PDF can read it.
I'm running Cold Fusion MX 7 on a windows 2003 server.
I do not have permissions to the cold fusions administrator.
So I need a line of code that will force the system to look at the fonts I have uploaded.
Any ideas?
I don't have permissions to access that folder.
I need for the system to look for fonts at:
d:\ftp\myroot\fonts\
This is because I am using the <CFdocument> tag which is converting an HTML page to a PDF.
I have to embed the fonts I use so that everyone who downloads the PDF can read it.
I'm running Cold Fusion MX 7 on a windows 2003 server.
I do not have permissions to the cold fusions administrator.
So I need a line of code that will force the system to look at the fonts I have uploaded.
Any ideas?
ASKER
that is bad news
i will have to find a work around, some way to load the fonts
or some PDF creating software that allows me to point to the fonts
mike
i will have to find a work around, some way to load the fonts
or some PDF creating software that allows me to point to the fonts
mike
you might try this
http://www.easel2.com/cfxpdf_support.html
I haven't used it but it was pretty much the standard pdf generator prior to cfdocument. they have a free evaluation version so you can find out if you can specify font paths...but the production version is not free.
http://www.easel2.com/cfxpdf_support.html
I haven't used it but it was pretty much the standard pdf generator prior to cfdocument. they have a free evaluation version so you can find out if you can specify font paths...but the production version is not free.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
SidFishes, are u saying the easel2 solution might not work?
yes, CFX's (which are usually DLL's or JAR's) need to be registered with the CFAdmin so if you don't have admin access or a host who is willing to install it for you you won't be able to use it.
ASKER
I am allowed to register customer tags and the host will help do that also.
I just can't access cfadmin directly
I use some nested tables. The easel2 product mentions a problem with them. Have u had any experience with that? I need 2 levels of tables for this project to work.
I am investigating the easel2 product but also looking at others
Seems most people dropped support of their products around 2003
but the cfdocument tag is a bit quirky so i would like to find an up to date product that is affordable
I just can't access cfadmin directly
I use some nested tables. The easel2 product mentions a problem with them. Have u had any experience with that? I need 2 levels of tables for this project to work.
I am investigating the easel2 product but also looking at others
Seems most people dropped support of their products around 2003
but the cfdocument tag is a bit quirky so i would like to find an up to date product that is affordable
"Seems most people dropped support of their products around 2003"
which is about the time that cfdocument was introduced.
If you can register the cfx, you may be ok with a third party product. All I can suggest is try the various eval versions and see what works for you.
which is about the time that cfdocument was introduced.
If you can register the cfx, you may be ok with a third party product. All I can suggest is try the various eval versions and see what works for you.
I too find cfdocument a bit quirky at times. So SidFishes' suggestion is worth exploring.
But can I ask, if the host will register cfx tags for you, which are riskier in some ways than fonts, why can't they just register the fonts in the first place? :) ie Drop them in the appropriate jre font folder.
But can I ask, if the host will register cfx tags for you, which are riskier in some ways than fonts, why can't they just register the fonts in the first place? :) ie Drop them in the appropriate jre font folder.
ASKER
agx,
Can u tell me what a jre font folder is?
then i will ask my host to try it
they have no trouble registering custom tags, in fact i am allowed to register custom tags and activex dll myself. I just can't have permission to windows\fonts
they did tell me to put the font files in my root directory, which i did
i just do not know how to get cfdocument to look there so it can grab the fonts it wants to embed
mike
Can u tell me what a jre font folder is?
then i will ask my host to try it
they have no trouble registering custom tags, in fact i am allowed to register custom tags and activex dll myself. I just can't have permission to windows\fonts
they did tell me to put the font files in my root directory, which i did
i just do not know how to get cfdocument to look there so it can grab the fonts it wants to embed
mike
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
that's a good tip agx... but I'm guessing he doesn't have accessing to the file system to get at the jre folder...
I'd forgotten about the font mgmt in cfadmin...might be the best hope
I'd forgotten about the font mgmt in cfadmin...might be the best hope
Yes, I am thinking the host would have to do it for him too. The only reason I suggest that option is because I never did have much luck with the font management admin screen. But maybe that was just a problem with my configuration.
ASKER
OK
I got lucky.
My hosting service realized that they had the wrong permissions on the windows\fonts\ folder.
Once they reset the permissions <CFDocument> can now embed fonts which is what I needed.
So I won't have to invest time in trying a 3rd party solution.
But many thanks to SidFishes and AGX for helping. I split the points between you two. Hope that is OK
Mike
I got lucky.
My hosting service realized that they had the wrong permissions on the windows\fonts\ folder.
Once they reset the permissions <CFDocument> can now embed fonts which is what I needed.
So I won't have to invest time in trying a 3rd party solution.
But many thanks to SidFishes and AGX for helping. I split the points between you two. Hope that is OK
Mike
Good to hear. Thanks. The spit is fine with me.
afaik, cfdocument requires fonts to be available in {systemroot}\fonts