fonttools
PostCSS
Our great sponsors
fonttools | PostCSS | |
---|---|---|
17 | 86 | |
4,046 | 28,181 | |
1.5% | 0.3% | |
9.9 | 8.8 | |
5 days ago | 29 days ago | |
Python | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
fonttools
-
The new Google Fonts: find what you’re looking for
The tool parent and sibling comment listed allows you to do basic subsetting [1], and generates the formats you need. If you do this more often, it is of course useful to learn how to do this yourself. A commonly used tool is pyftsubset, part of fonttools [2]
-
How to properly rescale SVG files for using in OTF-SVG files?
I know fontforge doesn't support OTF-SVG, but I'm actually using it for creating OTF-SVG from scratch. Is anyone willing to help me with this issue? https://github.com/fonttools/fonttools/discussions/3229
-
How to properly rescale SVG files for using in OTF-SVG fonts?
I'm having this issue and maybe here someone can help me.. https://github.com/fonttools/fonttools/discussions/3229
-
Retro Pixel Font - A new font and the intro of how to make it
In short, I draw glyphs in png and use python to build fonts (by https://github.com/fonttools/fonttools ). I agreed on some rules and then everything became simple. No required professional font editer.
-
Is there a font manager that lets you display/search for fonts that use OpenType features (smcp, etc.)?
If you have FontTools successfully installed, there is also a bundled script that's similar to what justinpenner's code does, without the built-in directories; you can find it at https://github.com/fonttools/fonttools/blob/main/Snippets/layout-features.py
- I created a language for font design using FontForge
-
Self-Hosting Fonts - No more excuses
What I like the most is that you can also download google-fonts and convert them automatically. Webfont-Kit-Generator uses fonttools (written in Python), that's pretty cool too.
-
How much do custom fonts affect an app size?
A drawback to icon fonts is that by default, you are carrying all of the glyphs in an icon font along for the ride. You can mitigate that by using a tool like fonttools to strip out the unused font glyphs.
-
Variable TTF Fonts with Three Axes in one file - Wght, wdth, and ital
If you're interested in learning more about how variable fonts work, I can point you to all sorts of tools and other resources. For example, fontTools includes a command line tool called ttx that converts any standard font format (ttf/otf/ttc/otc/woff/woff2) to a human-readable XML text file. You can also inspect variable and static fonts easily with online tools like Wakamai Fondue and Samsa.
-
Montserrat cyrillic issues?
If you want to look inside a font file, you can use the ttx command line tool (included with fontTools) to convert binary fonts to human-readable XML format. You can also open them in a font editor like FontForge or Glyphs if you want a GUI, but font editors may not show you everything that's inside the file.
PostCSS
-
PostCSS - my initial experience
the plugins in the official PostCSS website were old like IE6 or the marquee tag, and
-
Dark Mode with SvelteKit, a Blog Post
Hello internet. I just published a new blog post on how to implement dark mode with SvelteKit, optionally with PostCSS and TailwindCSS:
-
11 Ways to Optimize Your Website
There are many frontend tools available for this purpose. For example, PostCSS is a popular CSS processor that can combine and minimize your code. With the right plugin, it can even fix your code for compatibility issues, making sure your CSS styles work for all browsers.
-
Styling React 2023 edition
I use PostCSS to extend CSS’s features and to add a few things that make writing styles a little more convenient, but it could easily be swapped for another preprocessor like Sass or vanilla CSS. It’s up to you. You can view my PostCSS config here.
-
Abstract Syntax Trees and Practical Applications in JavaScript
Code transpilation isn't specific to JavaScript, You can also add a level of transformation to your CSS source using tools like post-css. Most languages with a fairly mature ecosystem will probably have some tools to help with code transformation.
-
Native CSS nesting now supported by all major browsers!
In large projects, it is still a good idea to use PostCSS, which will translate new CSS features to something that browsers understand today.
- Unicode-range CSS is working wrong in Safari browser?
-
Let's Make Learning Frontend Great Again!
LiveCodes provides many of the commonly used developer tools. These include Monaco editor (that powers VS Code), Prettier, Emmet, Vim/Emacs modes, Babel, TypeScript, SCSS, Less, PostCSS, Jest and Testing Library, among others. All these tools run seamlessly in the browser without any installations or configurations. It feels like a very light-weight version of your own local development environment including the keyboard shortcuts, IntelliSense and code navigation features.
-
How to setup a simple static website using Svelte (with login)
Usually, one of the first things I do on creating a new web app is to throw a UI library in to help style components. There are several UI libraries that can be used by Svelte, but in this case I went with daisyUI because it's a fairly popular UI library which includes tailwind. To install daisyUI, you first need to install tailwind. There's a few different ways to do this (such as this guide), but the easiest way I've found is the following command, which also adds PostCSS and AutoPrefixer:
-
Vanilla+PostCSS as an Alternative to SCSS
Vanilla CSS has taken a similar path with ambitious working drafts, better browser support, and PostCSS to fill the gap for user agents lagging behind. So why is Sass/SCSS still so popular? Maybe we go so used to it that we might have forgotten what problems it was meant to solve in the first place.
What are some alternatives?
fonttools-opentype-feature-freezer - OTFeatureFreezer GUI app and pyftfeatfreeze commandline tool in Python to permanently "apply" OpenType features to fonts, by remapping their Unicode assignments
styled-components - Visual primitives for the component age. Use the best bits of ES6 and CSS to style your apps without stress 💅
google-webfonts-helper - A Hassle-Free Way to Self-Host Google Fonts. Get eot, ttf, svg, woff and woff2 files + CSS snippets
emotion - 👩🎤 CSS-in-JS library designed for high performance style composition
woff2
esbuild - An extremely fast bundler for the web
raveberry - A multi-user music server with a focus on participation
Tailwind CSS - A utility-first CSS framework for rapid UI development.
npm
purgecss - Remove unused CSS
Montserrat
JSS - JSS is an authoring tool for CSS which uses JavaScript as a host language.