HarfBuzz—حرفباز
166 posts

HarfBuzz—حرفباز
@harfbuzz
The free and open text shaping library / font platform
Katılım Ekim 2015
832 Takip Edilen1.2K Takipçiler

@harfbuzz @EricLengyel webgpu seems much faster than webgl. Also, no support for a font like Noto Color Emoji?
English

HarfBuzz 14.0.0 is out with the new hb-gpu library for GPU text rasterization based on the Slug algorithm by @EricLengyel. Demo is up at harfbuzz.github.io/hb-gpu-demo
Also in the release is harfbuzz-world.cc, another single-file way to compile all of HB.
github.com/harfbuzz/harfb…
English

HarfBuzz 14.2.0 is released with support for COLRv1 color-font rendering in hb-gpu, as well as streamlined API in hb-raster & hb-vector. See them all in action at our new website: harfbuzz-world.cc
English

@Fancy2209Real Slug requires a fragment shader as that's where the rasterization happens. It won't work with the FFP.
English

@harfbuzz @EricLengyel I checked last 30 commits and all contain co-author by claude. It's sad that such an important library uses too much ai coding. When those all features tested? Written by ai tested by ai
English

@rokups @EricLengyel FreeType does hinting, which this doesn't.
English

@harfbuzz @EricLengyel So... What do we still need freetype for? Or can we switch without compromises?
English

@AdriangGray @EricLengyel And I assure you, it's NOT an April fools joke!
English

@harfbuzz @EricLengyel Now this is the news that people should like and repost, not some fit snake text adjustments 😁
English

@yisibl It does. Press the "text" button or type "t" and enter some Chinese text for it to render.
English

Check out the emscripten'ed web demo. Interact with it with the mouse. Or press space to animation rotation. behdad.org/hb-gpu-demo/
HarfBuzz—حرفباز@harfbuzz
hb-gpu is a new HarfBuzz library under development, that uses the Slug algorithm for encoding glyph shapes for rasterization on the GPU. We are looking for early testers and adopters, probably from the #gamedev community. Hit us with a comment: github.com/harfbuzz/harfb…
English

@tauinos Thanks. Looks like *sometimes* the demo renders with black screen still; any interaction will make it work again. Is it that by any chance?
English
HarfBuzz—حرفباز retweetledi

Now with Metal & WebGPU implementations in the library / demo as well. Both WebGL and WebGPU demos can be seen at behdad.org/hb-gpu-demo/
English

@tauinos Your browser probably doesn't support WebGL2 for some reason. Probably Firefox blacklisted your GPU/driver combo. What does webglreport.com/?v=2 think?
I added a descriptive error message to the demo. Thanks.
English

@tauinos Which version / OS? Works for us on Linux & Mac. Does reloading help?
English







