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