freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

A few questions about the new SDF render


From: Zhuyie
Subject: A few questions about the new SDF render
Date: Tue, 6 Jul 2021 21:29:44 +0800

Hello,

I have a few questions about the new SDF render:

1. From the comments in ftsdf.c, "The basic idea of generating the SDF is taken from Viktor Chlumsky's research paper", i expect this is a multi-channel SDF generator, but "For @FT_RENDER_MODE_SDF the output bitmap buffer contains normalized distances that are packed into unsigned 8-bit values" imply this is a regular SDF. Which one is correct?

2. Are there any tutorials about how to use the SDF render? or some reference OpenGL shaders?

Thanks in advance,
zhuyie

reply via email to

[Prev in Thread] Current Thread [Next in Thread]