From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 2002:a24:6283:: with SMTP id d125mr7599967itc.14.1551578880308; Sat, 02 Mar 2019 18:08:00 -0800 (PST) X-Received: by 2002:a9d:648f:: with SMTP id g15mr8096870otl.160.1551578880116; Sat, 02 Mar 2019 18:08:00 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!i2pn.org!weretis.net!feeder6.news.weretis.net!feeder.usenetexpress.com!feeder-in1.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!y42no264648ita.0!news-out.google.com!v188ni508itb.0!nntp.google.com!y22no264987ita.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sat, 2 Mar 2019 18:07:59 -0800 (PST) In-Reply-To: <2017103012171499678-contact@flyx.org> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=2602:306:cdc8:df00:e85e:614c:aba4:d3a5; posting-account=HhvOVAoAAADnEbcf1by-AG9O3vZXb9Zp NNTP-Posting-Host: 2602:306:cdc8:df00:e85e:614c:aba4:d3a5 References: <2017103012171499678-contact@flyx.org> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <39682a44-7c1d-4d49-8663-b72f0bb0c4b5@googlegroups.com> Subject: Re: ANN: OpenGLAda 0.6 and FreeTypeAda released From: Rufas Cube Injection-Date: Sun, 03 Mar 2019 02:08:00 +0000 Content-Type: text/plain; charset="UTF-8" Xref: reader01.eternal-september.org comp.lang.ada:55771 Date: 2019-03-02T18:07:59-08:00 List-Id: On Monday, October 30, 2017 at 4:17:15 AM UTC-7, Felix Krause wrote: > In this version, the dated FTGL binding has been replaced by a binding > to the FreeType library itself, which enables more flexibility for > drawing text. Furthermore, a package GL.Text has been added which > provides a more high-level API similar to FTGL. It depends on Dmitry A. > Kazakov's excellent Strings_Edit [2] package for UTF-8 decoding so that > it is easy to render any UTF-8 string. > > Since the FreeType binding may be useful for purposes unrelated to > OpenGL, it is also available as a separate project [3]; however, it > currently has no own versioning scheme and no documentation and is > simply synchronized with the OpenGLAda repository. The binding is not > complete; it only wraps the parts that were necessary to use it with > OpenGL. This may improve in the future. > > The current OpenGLAda release is available as tag of its repository [1]. > > [1]: https://github.com/flyx/OpenGLAda/releases > [2]: http://www.dmitry-kazakov.de/ada/strings_edit.htm > [3]: https://github.com/flyx/FreeTypeAda > > -- > Regards, > Felix Krause Just a note to mention that the fragment shader for rendering fonts needs a discard line so that the glBlendFunc works normally. I added: if( colour.a < 0.1 ) discard; ...but maybe you can determine a cutoff value that is more than a guess. The consequence for NOT doing this is that the glyph backgrounds are sometimes visible, depending on the glBlendFunc parameters. Rod