Hi everyone,
Sorry for the double post but I realized this was the new forum so I repost my request here.
We’re trying to implement hype powered pages into a Rails environment.
And here is our problem, we wanted to change path of the ressource folder, it seems ok EXCEPT for embedded fonts. It doesn’t seem to get the right path and it throws Get error :
Once your font files are in your resource library, the ${resourcesFolderName} variable is replaced with the folder name of your documentname.hyperesources folder.
To load these fonts from a predefined URL, just fill in the full URL instead of the variable + font name.
Although we changed the path for loading fonts also, but fonts are handled in javascript too. We achieve to make it work by hard coding this block of code in the “sommaire_hype_generated_script.js” (unminified)
Thanks, it looks like we should be doing an on-the-fly setting for ${resourcesFolderName} when in font code. Until then, I’d recommend at least putting the static prefix in your font code.