This is not really a problem with this module, but other users might benefit from my expereience.

In setting up this module, I used the 3.1.1 version of the zip, downloaded from http://fortawesome.github.io/Font-Awesome/#integration

This zipfile contains no README.md file and this prevents the libraries module from detecting the version of FontAwesome.

To resolve this I followed the advice in https://drupal.org/node/1995372, and then created a README.md file based on the one in the v3.0.2 zipfile of the font.

Here is my modified version of the file ...

#Font Awesome 3.1.1
##the iconic font designed for use with Twitter Bootstrap

The full suite of pictographic icons, examples, and documentation can be found at:
http://fortawesome.github.com/Font-Awesome/


##License
- The Font Awesome font is licensed under the SIL Open Font License - http://scripts.sil.org/OFL
- Font Awesome CSS, LESS, and SASS files are licensed under the MIT License - http://opensource.org/licenses/mit-license.html
- The Font Awesome pictograms are licensed under the CC BY 3.0 License - http://creativecommons.org/licenses/by/3.0/
- Attribution is no longer required in Font Awesome 3.0, but much appreciated: "Font Awesome by Dave Gandy - http://fortawesome.github.com/Font-Awesome"

##Contact
- Email: dave@davegandy.com
- Twitter: http://twitter.com/fortaweso_me
- Work: Lead Product Designer @ http://kyru.us

##Changelog
- v3.0.0 - all icons redesigned from scratch, optimized for Bootstrap's 14px default
- v3.0.1 - much improved rendering in webkit, various bugfixes
- v3.0.2 - much improved rendering and alignment in IE7

Comments

kenwest’s picture

Note that an official version of README.md can be found at https://github.com/FortAwesome/Font-Awesome

kenwest’s picture

Note that the LESS and CSS files distributed in the zipfile contain lines like " * Font Awesome 3.1.0" and "@FontAwesomeVersion: "3.1.0";".

Would it make sense for this module to retrieve the version number from (say) css/font-awesome.css instead of README.md?

(I wonder why the 3.1.1 version refers to "3.1.0" but does a minor version number make a difference to the libraries module? Or this module?)

jamiehollern’s picture

I also had this issue. It stops the module from working at all.

inders’s picture

Fixed Version detect issue in fontawesome_libraries_info(). Now we are using font-awesome.css file for detecting versions. Tested with Version 3 & 4 for auto detect.
See commit diff at:-
http://drupalcode.org/project/fontawesome.git/commitdiff/294affb

Thanks & Regards
-Inder Singh
htp://indersingh.com
http://northwebstudio.com

inders’s picture

Assigned: Unassigned » inders
Issue summary: View changes
Status: Active » Fixed
inders’s picture

Status: Fixed » Closed (fixed)
truls1502’s picture

Assigned: inders » Unassigned

Unassigned the user