fosstodon.org is one of the many independent Mastodon servers you can use to participate in the fediverse.
Fosstodon is an invite only Mastodon instance that is open to those who are interested in technology; particularly free & open source software. If you wish to join, contact us for an invite.

Administered by:

Server stats:

9.8K
active users

#harfbuzz

0 posts0 participants0 posts today

🚀 Oh, look! #Harfbuzz just dropped version #11.0.0, and the internet can't handle the excitement! 🎉 Apparently, more "features" are here to make you realize that your font rendering woes have only just begun. 🙄 Remember, folks, more numbers after the dot mean it's definitely better! 🥳
github.com/harfbuzz/harfbuzz/r #fontRendering #excitement #features #update #HackerNews #ngated

GitHubRelease 11.0.0 · harfbuzz/harfbuzzWhat's Changed There are three new font-functions implementations (integrations) in this release: hb-coretext has gained one, calling into the CoreText library, hb-directwrite has gained one, ca...

working on my #threejs geometry built on #harfbuzz and this tiny (<5UPM) gylph-to-glyph overlap issue is the only rendering bug left that I'm aware of. it's not the font's fault (Oi! by @kosbarts - love it) and is totally reproducible, but zero luck debugging it so far. it should be a precision issue, or something about how I set paths up for triangulation... I'm not sure. maybe I'll publish an alpha version sooner rather than later to solicit some feedback on my approaches

After years of procrastinating, I finally wrote some Rust code. Or rather, I asked Copilot and it wrote it for me.

Please welcome `hb-fontations`: Rust-based Fontations-based font-funcs for #HarfBuzz. Mostly for (performance) testing.

github.com/harfbuzz/harfbuzz/b

GitHubharfbuzz/src/fontations/lib.rs at main · harfbuzz/harfbuzzHarfBuzz text shaping engine. Contribute to harfbuzz/harfbuzz development by creating an account on GitHub.

I'm working on a high quality text renderer for #threejs that can simply read a regular font via #harfbuzz (js/wasm version). and I'm finding that three.js shapes are very annoying. harfbuzz gives you a sequence of paths and winding directions - perfect - while three.js wants a hierarchy of shapes where each outer path explicitly knows its "holes." so afaict I still have to deal with path winding / testing containment / even-odd stuff, even though harfbuzz already solved it for saner formats

#HarfBuzz 10.3.0 is out. Performance highlights:

- “AAT” shaping: LucidaGrande before: 14.6ms after: 5.9ms.

- OpenType shaping: Roboto-Regular before: 10.3ms after: 9.4ms.

- “COLRv1” painting before: 7.85ms after 4.85ms.

Full release notes:
github.com/harfbuzz/harfbuzz/r

GitHubRelease 10.3.0 · harfbuzz/harfbuzzWhat's Changed Vastly improved “AAT” shaping performance. LucidaGrande benchmark-shape before: 14.6ms after: 5.9ms. Improved OpenType shaping performance (kerning / ligature), at the expense of...

I'm having some / issues.

It would appear as though the offsets for the individual characters are always 0, which would be incorrect. This is causing all of the characters to be aligned to the top of the line instead of being in a nice line.

My code is based off of this documentation:
freetype.org/freetype2/docs/tu
harfbuzz.github.io/a-simple-sh
harfbuzz.github.io/integration

Code (an absolute mess):
gist.github.com/gudenau/b59baf