<div><span style="color: rgb(160, 160, 168); ">On Wednesday, October 24, 2012 at 10:49 PM, Behdad Esfahbod wrote:</span></div><blockquote type="cite"><div><span><div>I found your harfbuzz-js tree on github and took a look.  I highly recommend</div><div>that you don't bind the *.hh files.  Those are internal.  The public API is</div><div>anything that gets installed by "make install", which happens to be *.h.</div></span></div></blockquote><div>Hm. I'm not sure how I could work with a hb_buffer_t if not by replicating its structure in JS first. Or to create a callback for glyph_h_advance_func etc. calls. For these I need to work with the .hh files. Do you see any other solution?</div><div> </div><blockquote type="cite"><div><span><blockquote type="cite"><div><div>On a more serious note, is support for "morx" planned? Is the lack of support</div><div>due to some fundamental incompatibility with HarfBuzz architecture, or is it</div><div>because nobody did the work yet? In case of the latter, would you accept</div><div>contributions if my company made this? (Not sure if we really would, but I'm</div><div>interested in the possibilities.)</div></div></blockquote><div>It just never was priority.  That seems to be changing a bit, since it looks</div><div>like OpenJDK may also be interested.  So I added it to my TODO list for the</div><div>rest of the year.  We'll see how far I get!</div></span></div></blockquote><div>I see. Thanks for the info. Would love to use fonts with morx as well.</div><div> </div><blockquote type="cite"><div><span><blockquote type="cite"><div><blockquote type="cite"><div>Can't help without seeing the code / font. Did you try the code in C first BTW?</div></blockquote><div>Not yet, but I will, and report back with my findings.</div></div></blockquote><div><br></div><div>I talked to the emscripten maintainer.  He thinks this should not happen</div><div>unless you turned unsafe optimizations on.  Definitely report it.</div></span></div></blockquote><div>I will look into it later for sure, but for now it works fine with a (double) cast (and that actually makes more sense in JS).</div><div><br></div><div>Thanks for your help,</div><div>Lorant</div>