Font awesome is not showing icon

后端 未结 30 1272
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-11-30 06:03

I am using Font Awesome and do not wish to add CSS with HTTP. I downloaded Font Awesome and included it in my code, yet Font Awesome is showing a bordered square box instead

30条回答
  •  臣服心动
    2020-11-30 07:07

    You may have used a VCS (git or somesuch) to transfer icon files to the server. git says:

    warning: CRLF will be replaced by LF in webroot/fonts/FontAwesome.otf.
    The file will have its original line endings in your working directory.
    warning: CRLF will be replaced by LF in webroot/fonts/fontawesome-webfont.eot.
    The file will have its original line endings in your working directory.
    warning: CRLF will be replaced by LF in webroot/fonts/fontawesome-webfont.ttf.
    The file will have its original line endings in your working directory.
    warning: CRLF will be replaced by LF in webroot/fonts/fontawesome-webfont.woff.
    The file will have its original line endings in your working directory.
    warning: CRLF will be replaced by LF in webroot/fonts/fontawesome-webfont.woff2.
    The file will have its original line endings in your working directory.
    

    You probably have to fix your fonts.

提交回复
热议问题