Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.forth > #58543

Re: Xft and complex unicode rendering

From Bernd Paysan <bernd@net2o.de>
Newsgroups comp.lang.forth
Subject Re: Xft and complex unicode rendering
Date 2017-05-02 23:14 +0000
Organization A noiseless patient Spider
Message-ID <oeb3sf$tsb$4@dont-email.me> (permalink)
References <5cb77898-e5c7-41cb-ab69-3a362bcdbea6@googlegroups.com>

Show all headers | View raw


Am Mon, 01 May 2017 08:13:22 -0700 schrieb krishna.myneni:
> Have any Forthers succeeded in rendering UTF-8 encoded strings in other
> (non-western) languages with complex character composition? If so, which
> libraries did you use for the rendering?

I plan to use a combination of Freetype and Harfbuzz for that, but so 
far, I'm just using Freetype.  Essentially, you first use Harfbuzz to 
convert your string into the correct order with the correctly selected 
ligatures, and then you use Freetype to render the individual glyphs.

That's not yet tried, so far, but it's fairly easy, because you only need 
the buffers part of Harfbuzz: https://behdad.github.io/harfbuzz/harfbuzz-
Buffers.html

-- 
Bernd Paysan
"If you want it done right, you have to do it yourself"
net2o ID: kQusJzA;7*?t=uy@X}1GWr!+0qqp_Cn176t4(dQ*
http://bernd-paysan.de/

Back to comp.lang.forth | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Xft and complex unicode rendering krishna.myneni@ccreweb.org - 2017-05-01 08:13 -0700
  Re: Xft and complex unicode rendering krishna.myneni@ccreweb.org - 2017-05-01 08:27 -0700
    Re: Xft and complex unicode rendering krishna.myneni@ccreweb.org - 2017-05-06 09:21 -0700
  Re: Xft and complex unicode rendering anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2017-05-02 13:54 +0000
    Re: Xft and complex unicode rendering krishna.myneni@ccreweb.org - 2017-05-02 14:54 -0700
      Re: Xft and complex unicode rendering anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2017-05-04 10:51 +0000
        Re: Xft and complex unicode rendering krishna.myneni@ccreweb.org - 2017-05-04 04:47 -0700
          Re: Xft and complex unicode rendering krishna.myneni@ccreweb.org - 2017-05-04 05:02 -0700
    Re: Xft and complex unicode rendering krishna.myneni@ccreweb.org - 2017-05-02 19:24 -0700
      Re: Xft and complex unicode rendering anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2017-05-04 10:50 +0000
        Re: Xft and complex unicode rendering krishna.myneni@ccreweb.org - 2017-05-04 04:42 -0700
          Re: Xft and complex unicode rendering Alex <alex@rivadpm.com> - 2017-05-04 13:21 +0100
  Re: Xft and complex unicode rendering Bernd Paysan <bernd@net2o.de> - 2017-05-02 23:14 +0000
    Re: Xft and complex unicode rendering krishna.myneni@ccreweb.org - 2017-05-02 18:31 -0700
      Re: Xft and complex unicode rendering Bernd Paysan <bernd@net2o.de> - 2017-05-06 01:25 +0000

csiph-web