As an app developer, it's impossible not to have the task to display an icon in the app. One of the common ways to display icons , instead of using images or SVGs , is by using font files (.ttf, .otf or .woff). Although font files are usually used to display text with a specific font, but they can also be used to display icons . Instead of containing glyphs with letters , they contain glyphs with icons : There are different types of font technologies but the most common ones today are the TrueType (.ttf), OpenType (.otf) or the WOFF (.woff) font files. The way they store and render the glyphs is using a collection of line and curve commands as well as a collection of hint , which allows them to provide both relatively fast drawing speed and true device independence . The device independence is a key aspect given the myriad of display sizes and technologies which exist today. Referring to an icon inside of a icon font file works by knowing the hexadecimal val...
here I will put different little exercices I find. 6th grade problem: find all integral numbers which after substraction to 9999 give the same number without the last digit. for example: abcde - 9999 = abcd damn, it must be easy
When working on a mobile app developed with Xamarin Forms ( if you aren’t, you’re missing all the fun! ) you might have your own awesome separate library project of custom controls, effects, behaviors, value-converters, constants: You’ve might not been very happy ( to put it nicely ) how you're using your library objects in your app’s XAML, having to deal with all the different XML namespaces and prefixes: So many prefixes and namespaces to handle! Yikes! The issue is not just about declaration of prefixes. Having separate prefixes bloats the XAML a lot because you have to use a separate prefix for every object you reference from the corresponding namespace. In my example there are 4 prefixes to deal with! As a solution to get rid of all the namespaces, a dark thought might have crossed your mind: remove all the CLR namespaces in the library’s code and just have one namespace! But you love your C# namespaces, they give class scope and separation, it’s...
Comments
Post a Comment
Say something nice please.
Thank you.