Login  Register

Re: GPU based Resolution Independent Curve Rendering

Posted by Sven Gothel on Apr 07, 2011; 3:10am
URL: https://forum.jogamp.org/GPU-based-Resolution-Independent-Curve-Rendering-tp2764277p2788682.html

On Wednesday, April 06, 2011 10:17:53 pm Qu0ll [via jogamp] wrote:
>
> This looks like some truly excellent work.
>
> Where does the font info come from if it doesn't use AWT?

We deploy the free Ubuntu fonts ..
  http://jogamp.org/git/?p=jogl.git;a=commit;h=dbcd775a7763ca131280a8341775fdfa50c4f909

We imported typecast
  http://jogamp.org/git/?p=jogl.git;a=commit;h=f8d03d8cd64593fdb24057ce928a07137b57f49f
which is now patched and moved into our namespace. Further changes to this codebase will happen.

>
> Can it be used with any arbitrary font?
TTF, OTF, .. yes.

>
> Does it allow for crisp, tiny font rendering with AA?  Sub-pixel anyone?
Well .. thats another discussion :)
As you can read above and see for yourself .. the GPU methods has it's
benefits (fast, resol.indep., cool, ..) and surely some setbacks ..
However, the 2pass FBO renderer could be used / enhanced to produce more accurate
rendering, than the 1pass renderer.

We shall open 2 new threads for his regard here to discuss it.

~Sven