-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FontAwesome icon issue | FontAwesome 图标问题 #505
Comments
Perhaps iconmoon will be a good solution, it support lots of iconpacks including FA4 and MDI, and it enable you to select icons you need. |
@maple3142 this? There are 490 icons with free license.
This is full pack. CSS weight about ~137 kb (FA was ~30 kb). See: Mb SVG file (3.5 mb) not need, how you think? BTW, i cutted FA too from version 5 to version 6, when we do rebase. Total weight MDI with normal work about ≈ 1 mb (FA ≈ 500 kb). So? Icons x3 more. See here for details. |
The website I provided (icomoon) can also offer both FA & MDI, and you just need to select what icon you need then pack it as a new icon font. |
Oooh! I see. Icomoon App at the right top corner. Ok, i'll try it. |
Well, @maple3142, FA + MDI splitted ≈ 1.6 mb. |
The reason of using these icon pack is is smaller icon pack size, so you wouldn't want to use it if you simply select all icons. |
@maple3142 If only select next using icon, how to change icon. Regenerate iconmoon pack? This may be a bit of trouble. |
@jiangtj @maple3142 i already find solution: 3rd-party icons (except FA) will be used as external modules, like Fancybox. Feature will be ASAP. |
I think font-awesome v5 is OK, at least it's working fine on my site (https://zhangshuqiao.org), and it's easy for users to update their settings. If we use some other 3rd-party icons instead, there would be several parts need to rewrite in Should notice that:
See: https://fontawesome.com/how-to-use/on-the-web/setup/upgrading-from-version-4 In |
And I found that fontawesome v5 conflict with han... |
@stevenjoezhang where is conflict? |
@ivan-nginx I found this in
Because han.css will override all the
or
|
Ok, let's make this issue into Low Priority. For now we need to resolve #547 pull with cache generation (High Priority). |
if I may; ForkAwesome propose a good alternative of Font-Awesome 5 |
@JOduMonT I've tested and it's prety good. |
Any progress? Does closing this issue mean there is no plan to update yet? |
reopen... planning to upgrade v5? |
The best way is to find a tool that can generate and package fonts locally. This way users can always use the icons they want and avoid loading the entire font awesome icon library Font Awesome 5 is about 200kb in total. It's acceptable. |
This is possible, but requires npm e.g. https://github.com/hexojs/hexo-fontawesome, we can use this plugin to convert to svg. Although hexo plans to support npm installation themes, this will make users have to install the theme through npm or do some extra steps to install dependencies in order to use the theme they have cloned.
|
hexo-fontawesome cannot handle dynamically loaded icons. We may need to develop a plugin based on this module: https://www.npmjs.com/package/webfont I plan to split it into two steps:
|
The icon library of the latest version of theme NexT has been migrated to FontAwesome 5. This change is not backward compatible, which means that the previous configuration for FontAwesome 4.7.0 will fail and the icons will not be displayed. If you have encountered related issues, please remove the customized icon and CDN link in the configuration file according to this Pull Request: #1438 .
最新版本的 NexT 主题迁移到了 FontAwesome 5。此改动不向下兼容,这意味着此前对于FontAwesome 4.7.0 版本的配置会失效,且导致图标无法显示。如果你遇到了图标问题,请根据此 Pull Request #1438 的更改,移除配置文件中自定义的图标和 CDN 链接,并重新进行配置。
Today i decided to update FontAwesome from v4 to v5 in accordance with #94 and #474
issues. Well, this was not hard and at least 2/3 icons was successfully shown. But! Trouble is happened (i know what Free and Pro versions – it's not simple way): free icons was very smoothly and some icons was not in their places (a little topped, a little bottomed)...
Firstly i think what i not set some options or something like that. I try many parameters – without luck. And what are you guys thinking? I'm going on FA site and saw randomed PRO icon; lets see on Book) or on Bullhorn icon. See and click on from Free to PRO version.
See this *hit? They specially make Free version more cloudy and PRO version more legibly. I compare NexT online site FA v4 to localhost with FA v5 – FA v4 looks like icons in PRO version.
So, as FA can't upgrade anymore, i suggest to switch on Material Design Icons (Google).
Let's compare icons number:
675
icons.2,346
icons (if i right understand). Of cource, mb icons repeated like FA (transparent / not), but anyway if2,346 / 3 = 782
.Let's compare pack weight:
429 kb
.5,3 mb
.What do you thinking, guys? I can soon switch from FA to MDI and up on test domain to see how they looks. If icons will better, we can totally switch on MDI (they, by the way, periodically add icons to main pack):
Other Information
The text was updated successfully, but these errors were encountered: