File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -86,6 +86,9 @@ Export 'play' and 'stop' icons, size 64x64:
8686Export all icons in blue:
8787` $ icon-font-to-png --css font-awesome.css --ttf fontawesome-webfont.ttf --color blue ALL `
8888
89+ Export all icons in blue, but using it's hex value:
90+ ` $ icon-font-to-png --css font-awesome.css --ttf fontawesome-webfont.ttf --color blue '#0000ff' ALL `
91+
8992Or you can use ` font-awesome-to-png ` , without css and ttf arguments:
9093` $ font-awesome-to-png ALL `
9194
Original file line number Diff line number Diff line change @@ -155,7 +155,9 @@ def run(arguments):
155155def download_icon_font (icon_font , directory ):
156156 """Download given (implemented) icon font into passed directory"""
157157 try :
158- return AVAILABLE_ICON_FONTS [icon_font ]['downloader' ](directory )
158+ downloader = AVAILABLE_ICON_FONTS [icon_font ]['downloader' ](directory )
159+ downloader .download_files ()
160+ return downloader
159161 except KeyError : # pragma: no cover
160162 raise Exception ("We don't support downloading font '{name}'" .format (
161163 name = icon_font )
You can’t perform that action at this time.
0 commit comments