Login  Register

Re: What is the status of font rendering with JOGL?

Posted by Sven Gothel on May 29, 2019; 3:04pm
URL: https://forum.jogamp.org/What-is-the-status-of-font-rendering-with-JOGL-tp4039805p4039810.html

On 5/25/19 6:37 PM, Rosethornian [via jogamp] wrote:
> I last checked in here some years ago and work was happening to enable
> hardware accelerated font rendering with JOGL.
>
> Could someone please outline what has happened to this initiative and what the
> current status of rendering fonts and text with JOGL is?
>
> Is it yet possible to achieve high quality font rendering or even sub-pixel
> font rendering?

It depends.
There are still a few issues with the core code,
however - it is surely possible to use it as demonstrated
in some unit test w/ video etc.
It actually is being used within a scene in at least
one bigger project.

However .. from the top of my mind, issues are:
- bug in tesselation (sic), visible w/ certain fonts

- wrong alpha-blending w/o gamma (same as freetype)

- hence best results are w/ less contrast currently, not b/w

- subpixel, you name it & reading my mind, as I was playing
  w/ it lately while brushing up my knowledge on fonts,
  as you can read above :)

Only issue w/ me is priorities and hence lack of funding.
But after some other duties I love to tackle this one,
once again this summer. The sooner the better of course.

The overall funding thing, if everything fails,
I may need to kick off some 'brutal' & ugly fundraiser
campaign similar to PHK, see <http://phk.freebsd.dk/VML/>.
We will see ..

Bottom line, the work already done on curve rendering
is too valuable to be put to waste (IMHO).

But some 2-3 month might be required to make some good
progress, see wiki feature page re graph/curve rendering.

~Sven

>
> Thanks,
>
> -R