tclement0922 / compose-font-icons

Font icons composables for Compose Multiplatform
http://tclement.dev/compose-font-icons/
Apache License 2.0
7 stars 0 forks source link

FontAwesome icons rendering issue #5

Closed tclement0922 closed 1 month ago

tclement0922 commented 1 month ago

Based on my testing, this only affects the Solid variant of FontAwesome, the regular one doesn't seems to be affected. For example, the circle-user icon (used by default in the test app) is slightly higher than it should be, resulting in the top of the icon being cropped.

This affects only the Android-specific function Canvas.drawIcon, and by consequence FontIconDrawable, FontIconBitmap. Since core-glance uses FontIconBitmap to render icons, it is also affected.