Hello, great module and thanks. The problem I am having is it seems I can only have one local font installed at a time. For instance, I have successfully imported a font and everything works great. When I go to import another font (btw the link disappears after I have imported one) the previously imported font no longer appears as enabled, where as the new one does.

Please advise, thanks!

Comments

syntheticMedia’s picture

Have I missed something in the documentation?

doomed’s picture

hmm, this module allows for local fonts ?

meaning you can upload your own ?

i thought it was all based on the official providers.

sreynen’s picture

Component: Documentation » Code
Category: support » bug

Since I never tested with more than one local font, I'm assuming this is a bug. I'll try to test and fix it soon. @everything27, thanks for reporting it.

@doomed, the functionality to upload your own fonts is relatively new, but yes, it's there, so far only in the Drupal 6 version.

syntheticMedia’s picture

Great, thanks sreynen

Also- I am having an issue with the 1 local font that is installed. I believe cron might be the culprit. The situation is that every about 12 hours (the same interval as when cron runs) my installed local font no longer works. It shows as installed, however the preview (and the text which uses the local font class) no longer uses the font and reverts back to a standard webfont.

I tried using supercron by limiting to only invoke dblog, search, statistics and update, but the problem persists (did not see any fontyourface names in the invoke list). Any suggestions?

thanks!

sreynen’s picture

@font-your-face doesn't do anything on cron, so I have no idea why cron would be affecting it. Please open a separate issue for that so anyone else experiencing the same problem will be able to find it.

conorc’s picture

Hi Scott,

Thanks for this module.

I'm also hoping to install more than 1 local font. The 1st one loads perfectly, then loading the 2nd seems to replace the 1st, though the font files do get uploaded to a separate directory and is the one that gets used, only the class settings carry over from the 1st. For me on Drupal 6 with a Fusion subtheme, this happens immediately, without cron or any other event happening.

Let me know if you need further info debugging this.

Edit: font formats being used are WOFF/EOT/SVG. There's no TTF just in case that makes a difference?

PS: really love the video :-)

Conor

koppie’s picture

Same here - subscribing.

Thanks for this AWESOME module!

sreynen’s picture

Status: Active » Fixed

This was indeed a bug. The problem was the main module treats font URLs as unique IDs for the fonts, but the local fonts had no URL. Two fonts with a blank URL were treated as the same font. I fixed it by giving the local fonts unique URLs.

Fix committed to dev. I'll try to do a new stable release soon. Note: if you're trying the dev release, those are packaged nightly, so check the date before you download it.

syntheticMedia’s picture

Cool, thanks for the commit. Ill try dev later tonight

thanks!

syntheticMedia’s picture

Tested with dev version and I am happy to report everything works great. Thanks again for your continued support.

sreynen’s picture

This fix is in the new 6.x-2.5 release.

doomed’s picture

I can confirm the 6.x-2.5 release is good!

More than one font is working.

Deleting font is also working.

These two things were not working on version 6.x-2.4 .

Thanks sreynen!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.