harfbuzz
Google Fonts
Our great sponsors
harfbuzz | Google Fonts | |
---|---|---|
32 | 488 | |
3,537 | 17,414 | |
3.6% | 1.1% | |
9.8 | 9.9 | |
3 days ago | 6 days ago | |
C++ | HTML | |
GNU General Public License v3.0 or later | - |
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.
harfbuzz
- Rive Renderer – now open source and available on all platforms
-
Libsodium: A modern, portable, easy to use crypto library
For C/C++ projects that use meson as the build system, there is an excellent way to manage dependencies:
https://mesonbuild.com/Wrapdb-projects.html
https://mesonbuild.com/Wrap-dependency-system-manual.html
meson will download and build the libraries automatically and give you a variable which you pass as a regular dependency into the built target:
https://github.com/qemu/qemu/tree/005ad32358f12fe9313a4a0191...
https://github.com/harfbuzz/harfbuzz/tree/main/subprojects
https://github.com/harfbuzz/harfbuzz/blob/37457412b3212463c5...
Or, if you're using proper operating systems, they're managed by the usual package manager, just like everything else.
- The Web Assembly Shaper
-
Text Rendering Hates You
If you sympathize with the travails of people working on text rendering in applications, please consider supporting (among other projects):
1. The LibreOffice project (libreoffice.org), the free office application suite. This is where the rubber hits the road and developers deal with the extreme complexities of everything regarding text - shaping, styling, multi-object interaction, multi-language, you name it. And - they/we absolutely need donations to manage a project with > 200 million users: https://www.libreoffice.org/donate
2. harfbuzz (https://harfbuzz.github.io), and specifically Behdad Esfahood the main contributor. Although, TBH, I've not quite figured out whether you can donate to that or to him. At least star the project on GitHub I guess.
-
ImGui or text rendering libraries
As for text, it depends very heavily on what exactly you need. Simple ASCII text and bitmap fonts? Just do it yourself or get a .bdf parser. Simple Latin/Cyrillic-like writing with ok-looking vector fonts (ttfs)? stb_truetype has all you need. Font hinting, subpixel rendering? You use freetype. More complex writing like Arabic? You will have to do shaping as well, say with HarfBuzz. Need right-to-left or unidirectional text? Hypenation? Go for platform APIs if you can (DirectWrite om Windows, CoreText on Mac).
-
QuestPDF: Modern .NET library for PDF document generation
Gold standard? Even though serious bugs are not fixed [1] because "the code is too fragile to touch at this point"? Looks like Android uses HarfBuzz, if so it can't be that bad.
-
A Programmable Markup Language for Typesetting [pdf]
The linked libraries are not even close to solving limited subsets of problems solved by FreeType or HarfBuzz. No test is needed if they do not even have a working implementation of particular requisites: Do they work on heterogeneous layouts, directions, languages, locales, scripts, symbols and composites, extensions, variations, legacy, missing, partial or corrupted instructions, standards interpretations, platforms, output devices, nonstandard point structures and grids?
They do not. What they solve is almost a toy problem compared to the size, scope and breadth of these libraries.
Just because some project is implemented in Rust does not make it comparable never mind superior by default.
There is a world out there and it is not homogeneous format and standards-compliant Latin fonts in English LTR text in linear disposition with some generic rectangular subpixel rendering on a regular rectangular grid.
I warmly welcome you to browse closed issues of FreeType [1] and also the closed issues of HarfBuzz [2]. If you feel inspired please do also look into mailing lists and discussion pages related to the development, building, tracking and patching of packages of these projects in any of the numerous places it is used.
The only argument Rust people have is in relation WASM but if you insist in targeting WASM why not fork FreeType, strip it to the strict subset of features your application needs and target it?
Why do it in the first place? Why reinvent the wheel?
As such I will restate my view: I see no gain in using any of these subpar libraries.
[1] https://gitlab.freedesktop.org/freetype/freetype/-/issues/?s...
[2] https://github.com/harfbuzz/harfbuzz/issues?q=is%3Aclosed
-
Ask HN: What are some excellent pieces of software written by a single person?
I'm not sure if it truly fits this category, but HarfBuzz[0], maintained primarily by Behdad Esfahbod, comes to mind.
- da zero a programmare un programma di scrittura e una tastiera?
-
Is There An Algorithm To How Computer Cursors Highlight Text?
harfbuzz is a popular library for text rendering. You may also want to check out rustybuzz, a small subset of harfbuzz ported to Rust with pretty great documentation.
Google Fonts
-
An Afternoon with SVGs | Frontend Challenge Entry
Next I spruced up my form's visuals a bit by heading to Google Fonts and finding one that had camping vibes - eventually landing on Amatic SC. Then I had the wild idea of making the form look like a piece of paper, so that I could make the submit button fold the paper up into an envelope or paper airplane and fly off screen if it was submitted successfully (This was EXTREMELY high hopes and I didn't even get around to trying to start this animation in the time I allotted myself 😂). I started by trying to find a crumpled paper look on sites like Hero Patterns, but eventually found myself on this codepen:
-
Button Component with RiotJS (Material Design)
BeerCSS supports Material Fonts by default, here is the list of all icons: https://fonts.google.com/
-
Free Resources Every Web Developer Should Know About
Google Fonts (https://fonts.google.com/)
-
100+ FREE Resources Every Web Developer Must Try
Google Fonts
- Variable Fonts
-
19 Handy Websites for Web Developers
While many online font platforms require payment for commercial use, Google Fonts stands out. It offers a massive collection of fonts that are completely free and open-source, meaning anyone can use them in both personal and commercial projects without any cost.
-
Complete React and Tailwind CSS Website Design Tutorial | Build an Educational Landing Page
Links to external resources like Tailwind CSS, Google Fonts, and React Icons are provided, offering additional references for users.
-
Reddit Sans
There is some work to do still[1], but a variable version will probably be available once the fonts are released on the Google Fonts service.
-
A Guide to Enhancing QA
Fonts
-
Import css variable from an external css file
Visit https://fonts.google.com and select one to your liking.
What are some alternatives?
inter - The Inter font family
source-code-pro - Monospaced font family for user interface and coding environments
fontsource - Self-host Open Source fonts in neatly bundled NPM packages.
JetBrainsMono - JetBrains Mono – the free and open-source typeface for developers
PrusaSlicer - G-code generator for 3D printers (RepRap, Makerbot, Ultimaker etc.)
Font-Awesome - The iconic SVG, font, and CSS toolkit
og-image - Open Graph Image as a Service - generate cards for Twitter, Facebook, Slack, etc
imgui-sfml - Dear ImGui backend for use with SFML
penpot - Penpot - The Open-Source design & prototyping platform
spaceship-prompt - :rocket::star: Minimalistic, powerful and extremely customizable Zsh prompt
go-unsplash - Go Client for the Unsplash API
feather - Simply beautiful open-source icons