GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - behdad/glyphy: GLyphy is an implementation of the Slug algorithm for GPU text rasterization

BranchesTags
Open more actions menu

Latest commit

 

History

845 Commits
845 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
bench
bench
 
 
demo
demo
 
 
src
src
 
 
AUTHORS
AUTHORS
 
 
CONTRIBUTORS
CONTRIBUTORS
 
 
COPYING
COPYING
 
 
README.md
README.md
 
 
meson.build
meson.build
 
 
meson_options.txt
meson_options.txt
 
 

Repository files navigation

GLyphy is a GPU text renderer that renders glyph outlines directly, using the Slug algorithm by Eric Lengyel for robust winding number calculation.

GLyphy works with quadratic Bezier curves (TrueType outlines) and produces pixel-perfect rendering at any scale with proper antialiasing.

Note: GLyphy is deprecated in favor of the HarfBuzz GPU module, which supports shaders for all major platforms.

Building

Requires: meson, OpenGL 3.3+, FreeType, HarfBuzz, GLUT, GLEW.

meson setup build
meson compile -C build
build/demo/glyphy-demo

How it works

Each glyph's outline is encoded into a compact blob stored in a GPU buffer texture. The fragment shader computes a winding number by casting horizontal and vertical rays against the quadratic Bezier curves, using Lengyel's equivalence class algorithm for numerical robustness. Curves are organized into bands for efficient early exit.

License

GLyphy is licensed under the HarfBuzz Old MIT license. See COPYING for details.

About

GLyphy is an implementation of the Slug algorithm for GPU text rasterization

Resources

Readme
License
Activity

Stars

845 stars

Watchers

43 watching

Forks

79 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.