icons icon indicating copy to clipboard operation
icons copied to clipboard

[Icon font] Some Icon contents fully filled with the font color

Open chindilhan opened this issue 5 years ago • 16 comments

Some icons (some of them are listed below) showing fully filled with the font color, the content is not visible. Refer to the attached image.

Eg: arrow-down-circle is displaying as fully colored black circle (font color is black; same for any color), no down-arrow is visible. tested with 3 different browsers.

version: v1.2.1 image

chindilhan avatar Dec 13 '20 10:12 chindilhan

I have the same problem. Some icon fonts d'ont work.

chuckych avatar Dec 13 '20 14:12 chuckych

Thanks for testing, and sorry for the snags! I'll take a look soon!

mdo avatar Dec 13 '20 20:12 mdo

Hmm, what browsers and version? Latest Chrome, Safari, and Firefox on macOS looks great overall. Seeing a couple problems, but nothing like the above screenshot.

mdo avatar Dec 13 '20 22:12 mdo

I have the same problem, if I remember correctly last time when I had similar problem with some icon font I used this to modify the font file somehow https://fontforge.org/en-US/ Chrome Version 87.0.4280.88 Firefox 83.0 Linux Mint 19.3

mikouaji avatar Dec 13 '20 22:12 mikouaji

I have tested this with both Microsoft Edge Version 87.0.664.60 & Google Chrome Version 87.0.4280.88. Not sure this is due to an issue with the font or due to my system issue. however i saw some strange things in some chars as showing in the below image.. pls consider it, if it makes any sense.. . image

chindilhan avatar Dec 14 '20 06:12 chindilhan

As I wrote in #548, this is an easy way to reproduce the problem

I opened font/index.html from bootstrap-icons-1.2.1.zip and many icons don't look as expected.

ffes avatar Dec 14 '20 19:12 ffes

Same problem here using the font files with the phone and tablet icons on both chrome (Version 87.0.4280.88 (Official Build) (x86_64)) and Safari (14.0.1 (16610.2.11.51.8) on MacOs Big Sur 11.0.1

bas-surlinio avatar Dec 14 '20 21:12 bas-surlinio

Looks like I can resolve most of this by playing with the SVG fill-rule settings with a Figma plugin. Will take a little time to get all these icons done right again, sorry y'all.

mdo avatar Dec 15 '20 05:12 mdo

I have the same problem

<i class="bi bi-geo-alt-fill"></i>

svg_icon_problem

singhprem166 avatar Dec 18 '20 07:12 singhprem166

@mdo Hello, can you tell me how long it will take to solve this problem? Thank you in advance.

Prazdnik avatar Dec 21 '20 10:12 Prazdnik

I have to redraw and re-export nearly every icon, so it's taking some time. 😬 I don't have an ETA right now.

mdo avatar Dec 21 '20 17:12 mdo

You can follow along in #552 btw. Pushing updated icons bit by bit.

mdo avatar Dec 22 '20 00:12 mdo

Nearly done with the update in #552. Still have a chunk of icons to fix up and review, but I'm nearly there. Will do a point release as soon as I can afterwards to get it shipped.

mdo avatar Dec 22 '20 04:12 mdo

@mdo This may happening while converting svg to fonts, Few months ago, I faced the same with gulp-icon, then I tried with http://icomoon.io website to convert myself, then it's almost fine.

muthuweb avatar Dec 22 '20 13:12 muthuweb

Fixed by #552.

mdo avatar Dec 22 '20 23:12 mdo

❤👍

singhprem166 avatar Dec 24 '20 11:12 singhprem166