Skip to content

This project demonstrates a shader implementation of Euclidean paths methods for text smoothing

Notifications You must be signed in to change notification settings

xzwang2005/text-smooth-with-shader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

text-smooth-with-shader

This project demonstrates a shader implementation of Euclidean paths methods for magnified text smoothing. The method was described in a paper titled "Euclidean Paths: A New Representation of Boundary of Discrete Regions". Once the project is compiled and run, it shows an image of un-smoothed text magnifed to 2x:

Alt text

Use mouse wheel to change the magnification level (1x to 12x). User key 'f' to switch between the un-smoothed and smoothed text. The smoothed text look like this:

Alt text

By press and hold left mouse button and move, you can drag the image to see other parts of the text. On the right upper cornor shows some information about the text image used, such as magnification level, font name and whether or not it's smoothed. Click Options/Settings will open a dialog that allow user to change things like the text to be display, the font name.

Alt text

Only 32-bit debug build is configured. If you use Visual Studio 2013 in Windows 10, you need to enable a Windows Optional Feature called "Graphics Tools"

About

This project demonstrates a shader implementation of Euclidean paths methods for text smoothing

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published