glyphy

GLyphy is a signed-distance-field (SDF) text renderer using OpenGL ES2 shading language. (by behdad)

Glyphy Alternatives

Similar projects and alternatives to glyphy

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better glyphy alternative or higher similarity.

glyphy reviews and mentions

Posts with mentions or reviews of glyphy. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-09-29.
  • Why Modern Software Is Slow
    6 projects | news.ycombinator.com | 29 Sep 2022
    harfbuzz creator made https://github.com/behdad/glyphy/ which i integrated into GTK a while back (but we don't ship currently, because we still do the bitmap stuff).

    the bitmap stuff still has major drawbacks though, like maintaining grid alignments and pixel boundaries where as this stuff (mostly) goes away using glyphy.

    still work to be done around hinting though (hence not merged).

  • Vector Graphics on GPU
    10 projects | news.ycombinator.com | 10 Aug 2022
    You can approximate the Bézier curves with circular arcs and store those in the "SDF" instead. https://github.com/behdad/glyphy
  • The end of the nice GTK button
    4 projects | news.ycombinator.com | 24 Mar 2022
    > The only issue with it is that font rendering looks horrific, but that might just be my machine.

    This is because GTK4 enables pixel/scaling-independent fractional vertical positioning, even with hinting enabled. There's a long (somewhat ongoing) discussion at https://gitlab.gnome.org/GNOME/gtk/-/issues/3787, though I haven't followed the last few months of discussion.

    Even though GTK4 aims to achieve scale-independent layout, the 4 horizontal/vertical positions still produce a bit of judder, and fonts do not scale smoothly (even with bilinear interpolation) with hinting enabled, and (unless fixed) there are rendering issues due to failing to clear the texture atlas properly: https://gitlab.gnome.org/GNOME/gtk/-/issues/4322

    Interestingly there's a proposal to switch GTK4 fonts to SDF-style rendering. This is somewhat like what Qt Quick 2 implemented already (and KDE turns off and reverts to FreeType rendering, to make QML apps mimic Qt Widgets font rendering more): https://blogs.gnome.org/chergert/2022/03/20/rendering-text-w... However, I looked at https://github.com/behdad/glyphy and it seems to implement vector-based SDFs, instead of earlier texture-based SDF/MSDFs used by Valve games and Qt Quick.

  • A note from our sponsor - InfluxDB
    www.influxdata.com | 4 May 2024
    Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality. Learn more →

Stats

Basic glyphy repo stats
3
658
5.5
10 months ago

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com