Thanks for that reply :)<div>I did indeed look at using Cairo/Pango but I was really struggling with them. A lot of this was due to the integral Unicode bidi algorithm that makes it nearly impossible for me to know where any particular character is being placed.</div>
<div><br></div><div>Thus at the low level I want to do a much simpler bidi algorithm with an expicit LRE/RLE for every direction change. Indeed I recently did drop down to Xft but now having a hard time using it with Gtk and still unable to understand how the font is selected e.g. you can see <a href="http://ubuntuforums.org/showthread.php?p=10031999#post10031999">images of the problem plotting Chinese and Arabic </a>in my R2L thread here.</div>
<div><br></div><div>I suppose the main thing is that it's all good learning experience and perhaps when I actually know enough I'll be able to make a genuine contribution on the vte widget :) When I got the source code for it a while back I got hopelessly lost :(</div>
<div><br></div><div><div class="gmail_quote">On 13 November 2010 10:11, Behdad Esfahbod <span dir="ltr"><<a href="mailto:behdad@behdad.org">behdad@behdad.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
On 11/12/10 15:48, Chris Scaife wrote:<br>
> Hello all,<br>
<br>
Hi Chris, welcome to the list.<br>
<div class="im"><br>
> I am writing a terminal emulator as an learning experience and would<br>
> like to do a comprehensive implementation.<br>
<br>
</div>Humm. Being the maintainer of 'vte' myself, may I suggest that you consider<br>
studying the vte code and contribute there? We can use a couple hands.<br>
<div class="im"><br>
> For compatibility with things<br>
> like ncurses I need to have full control of glyph positioning and so I<br>
> feel my best option might be to interface the font stack through Harfbuzz.<br>
><br>
> Where can I find a Harfbuzz distribution and description of the current<br>
> API that I can use with my project please?<br>
<br>
</div>Unless you want to support Indic, Arabic, etc, it would be easier to just use<br>
something like cairo or Xft directly. If you still rather use HarfBuzz, well,<br>
this is the one paragraph summary:<br>
<br>
<a href="http://lists.freedesktop.org/archives/harfbuzz/2010-October/000905.html" target="_blank">http://lists.freedesktop.org/archives/harfbuzz/2010-October/000905.html</a><br>
<br>
<br>
Cheers,<br>
behdad<br>
<br>
> Thanks in advance<br>
> Chris<br>
</blockquote></div><br></div>