Is material symbol extended version of material icons? - google-material-icons

I want to upgrade from material icons to material symbols- are all icons from material icons also there in material symbols with the same name?
I want that existing icons would not need to change there name, if they need to then does we have a mapping from material icons to material symbols for same icons?

Related

Custom SF Symbol not rendering hierarchical shading

I have a custom SF Symbol that renders with hierarchical shading when viewed in the SF Symbols 3 app, but in iOS using SwiftUI it renders as monochrome.
Here is the symbol in the SF Symbols 3 app:
Here is the symbol imported as a 3.0 template in the asset catalog:
Here is the code to render it:
Image("custom.figure.steps")
.font(.largeTitle)
.padding(.trailing)
.symbolRenderingMode(.hierarchical)
.foregroundColor(status.statusColor)
Here is how it renders in iOS simulator:
How do I get the hierarchical shading?
Ok, discovered my mistake. I exported as a template, which did not preserve the layers. When I exported as a symbol 3.0, the layers were preserved and now things are rendering as expected.
How I diagnosed:
imported the SVG that I had exported as a template back into SF Symbols and noticed that only a single layer was there
exported as a symbol and imported that into Xcode, rendered as hierarchical
Bottom line: Export as a symbol, not as a template when importing into Xcode.

Xcode tab bar and SVG icons

I was hoping I could use SVG icons on a tab bar. I'm currently using Xcode 12 beta 3 and whilst it works with these images, the icons don't seem to rescale.
Is there a solution to this?
A few observations:
See the Creating Custom Symbol Images for Your App for suggestions on how to build symbol SVG assets.
Historically in Xcode, we couldn’t easily use SVG assets. But we could convert them to PDFs, which we could then drag into our asset catalogs. When you use the asset in the app, it still ends up rasterizing it, which it saves you from having to create bitmaps of the three different sizes yourself. If you need to make it scalable (e.g., notably, for accessibility), check the “preserve vector data” option in the asset catalog.
In Xcode 12 (only beta right now), the importing of SVG assets has greatly improved. It still appears to rasterize the asset when you go to use it, though, just like the old PDF approach. You need to make sure your SVG/PDF has an artboard of the appropriate size for the eventually rasterized images.
If you consider these various vector graphic solutions, make sure to test this on your target minimum OS before you go too far. I had app with vector/PDF assets and got some unexpected edge-case behaviors on old OS versions.

How to work with icons assets on Flutter

I'm developing my first real flutter project and I have a question about assets. Can I use platform assets to load my app icons? If no, I need create flutter assets to my app. But, what is recommended size to general icons?
Flutter doc say:
Main assets are presumed to match a nominal pixel ratio of 1.0. To specify assets targeting different pixel ratios, place the variant assets in the application bundle under subdirectories named in the form "Nx", where N is the nominal device pixel ratio for that asset.
But Android and IOS have many screen sizes. Using platform assets I create all icons according platform specification. So how I do in flutter? What are the specifications of general purpose icons?
Thanks!
If these are simple icons, then using an icon font, in the same manner as the built in IconData, should obviate any concerns about scaling, since they are vector-based.
If you have (or can convert) your icon assets as SVG, then you can easily build Flutter icon fonts using http://fluttericon.com. This will generate a TTF font and Dart code for your custom icons.

Changing of app icon layout in iOS

I want to change the app icon's layout to circle in iOS. Can you please help me with a solution to this.By default, it is a square with rounded corners. I want to make it in a custom format. Is it possible to do so?
All about App Icons can be found here.
From this guidelines:
Note: All icon images must be in PNG format. Icon images may include an alpha channel but should not include any transparent regions.
So it is not possible to make circular app icons on iOS.

How can I make a font like Apple Color Emoji.ttf that uses color bitmap images?

I want to make a color bitmap font with PNG images in the same format as Apple Color Emoji.ttf so that it can be used in iOS apps. But I can't find any references. Is it possible? If so, how to?
Version 3 of TypeTool added this feature. Use that tool to create a TTF file with the icons you want.
Once you create your TTF file, follow these instructions to embed your font in the app.

Resources