Project:Dynamic Rendering
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

http://wiki.github.com/sorccu/cufon

Comments

#1

#2

I was half way through creating a Render Plugin but then came across an issue in the font uploading. Cufon fonts are javascript files, but Drupal Core renames JS file uploads since they could be executed and exploit your site. Until we find a way around that I don't think we will be able to proceed.

#3

Any news on this ?

Maybe we could copy paste the content of the generated file in a textarea ??

#4

Maybe we can do like FLIR, we upload the JS file in a specified directory like:

sites/defaults/files/cufon/fonts/

What do you think ?

#5

#6

If Drupal renames files, we can rename them back.

#7

(edit: deleted - double post)

#8

I was able to get it to work by putting it in a separate directory that was not directly controlled by Drupal. Although Drupal is installed at the docroot, I created a separate /js/ folder alongside it, placed the files there, and voila - Cufon now works.

#9

Show us !

#11

There is a new module released for Cufon support here:

http://drupal.org/project/cufon

I posted an issue recommending combining efforts:

#518328: Collaboration / combining with Dynamic Render module?
http://drupal.org/node/518328

nobody click here