mindgrub / swash Goto Github PK
View Code? Open in Web Editor NEWFonts in iOS made safe, expressive, and dynamic.
License: MIT License
Fonts in iOS made safe, expressive, and dynamic.
License: MIT License
Do you think you will add support to gracefully handle isBoldTextEnabled
or boldTextStatusDidChangeNotification
? So we can map SomeFontRegular to SomeFontSemiBold or SomeFontBold
BTW Swash looks awesome. Going to try it in our app soon.
Hi Sam, do you have a spreadsheet of the iOS font sizes for each style? Apple does not appear to have it on their site, or its hard to find. I like the graphs on your blog about Swash, easy to understand! But would be helpful to know all the size ramps, if I override a font size that I can know how each size goes up.
This page has a link but it doesn't seem to exist there at the destination. https://developer.apple.com/design/human-interface-guidelines/watchos/visual-design/typography/
Thank you.
SwiftUI doesn't treat UIFonts like its own SwiftUI Font class, so by default using the same paradigm of the pod doesn't work. Would be great to have baked-in SUI support that can use the same syntax as before.
BTW, I love Swash
and has made it easy to use in new AccuWeather app. ๐คฉ
Hi Sam,
I have a need to use a UIFontDescriptor now to make a cascade list of fonts. My need is that I have a custom font (working great with Swash) but that font does not support Cyrillic, so I need to use a different custom font to fall back on, using a UIFontDescriptor. My question in detail and the answer for it are at this Stack Overflow:
https://stackoverflow.com/questions/59309023/ios-using-custom-arabic-cyrillic-fonts-automatically
I'm wondering if there is a way to easily encapsulate code like that or how to use it with Swash efficiently.
Thanks! Chris
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.