Comments (7)
@davidxuang Seems like you were spot on. Version 1.1.234-exp
works correctly on macOS.
from fluenticons.
I suspect the reason is that SkiaSharp can't handle OpenType COLR table on macOS. Starting with version 1.1.230, COLR table is added to the font to render color flags properly, but it didn't cover, and shouldn't affect other characters. I suppose this should be forwarded to upstream.
from fluenticons.
@hdocsek I've uploaded an experimental version 1.1.234-exp
for Avalonia, with COLR table dropped from TTF files. If my guess was correct, this version should work on macOS.
I couldn't find an environmet to reproduce the issue shortly, so could you test this version to validate the theory?
from fluenticons.
@hdocsek Could you also attach a screenshot for both 1.1.234
and 1.1.234-exp
, to provide references to upstream? Please include both a regular icon and a color icon, like:
<StackPanel>
<ic:SymbolIcon Symbol="Home" IsFilled="True" />
<ic:SymbolIcon Symbol="Home" IsFilled="True" Foreground="Red" />
<ic:SymbolIcon Symbol="FlagPride" IsFilled="True" />
<ic:SymbolIcon Symbol="FlagPride" IsFilled="True" Foreground="Red" />
</StackPanel>
from fluenticons.
@davidxuang Here are the screenshots for both versions:
from fluenticons.
@hdocsek Can you confirm if this issue also applies to SkiaSharp 3 preview? It seems to me Avalonia 11.1 beta series work with SkiaSharp 3 preview. (3.0.0-preview.0.132
is actually 3.0.0-preview.3.132
mislabelled)
<PackageReference Include="Avalonia" Version="11.1.0-beta1" />
<PackageReference Include="SkiaSharp" Version="3.0.0-preview.0.132" />
from fluenticons.
@davidxuang Referencing SkiaSharp 3.0.0-preview.0.132
seems to fix the issue no matter if Avalonia 11.0.10
or 11.1.0-beta1
is used.
![FluentIcons Avalonia 1 1 234_WithSkiaSharp-labeled](https://private-user-images.githubusercontent.com/2975344/321906228-a8bddb6a-1b77-441f-b5e8-4f07b704420e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTc2MTY0NjksIm5iZiI6MTcxNzYxNjE2OSwicGF0aCI6Ii8yOTc1MzQ0LzMyMTkwNjIyOC1hOGJkZGI2YS0xYjc3LTQ0MWYtYjVlOC00ZjA3YjcwNDQyMGUucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDYwNSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA2MDVUMTkzNjA5WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NTA3ZDRkYTA1OWFiMzQ4ZGZmNjIyODVlNWFjYjJlMzEyN2Q3Nzc2NTFlOWJiOGNjNTdkODFkOTE1NWNjODY4YyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.SB-yxQtShvtMC4j6d0FsvvONR6POjZeCCIbxDjXlfOs)
from fluenticons.
Related Issues (8)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fluenticons.