On Sun, Aug 10, 2014 at 11:17 PM, Norbert Preining <prein...@logic.at>
wrote:

> Hi Behdad,
>
> thanks for your answer, and looking into it.
>
> On Sun, 10 Aug 2014, Behdad Esfahbod wrote:
> > Not without more context (haha).
>
> I can give more context, easily, but I need some explanation
> on *how* to print out information concerning
>         hbFace
>

Just print the pointer.  We expect one instance per font file.  If you see
them change all the time, bug somewhere else.



>         segment_props
>

It's a public struct of script (an enum), direction (an enum), and language
(a pointer).  All of those have _to_string() functions, but again, just
print as integers.



>         engine-features
>

Normally we expect engine->nFeatures to be zero.  Even if it's not, the
feature struct is simple and open, and has a to_string() function too.
 It's an array of length engine->nFeatures.



> (the other two are ints and string, so easy).


Last one is not an string, it's a NULL-terminated array of strings.



> > Print out the parameters being passed in to that function and we'll
> definitely
> > see why the cache isn't working.
>
> I will try, I am now digging throught he headers of harfbuzz to see
> how to print such beasts.
>
> > Also a simple test document is appreciated.  I'm cloning XeTeX now.
>  Will see
> > how a build goes...
>
> Mind the following:
> * it does *NOT* happen when xetex is compiled with a static harfbuzz lib
> * I only could check, but it happens when compiling xetex with
>         Debian sid and testing's harfbuzz library as shared lib.
>

Ok, best that you get that printout first then.

behdad


THe test document is trivial:
>         \documentclass{article}
>         \usepackage{fontspec}
>         \begin{document}
>         lots of lorem ipsum in many paragraphs
>         \end{document}
>
> So there needs to be long long text.
>
> All the best
>
> Norbert
>
> ------------------------------------------------------------------------
> PREINING, Norbert                               http://www.preining.info
> JAIST, Japan                                 TeX Live & Debian Developer
> GPG: 0x860CDC13   fp: F7D8 A928 26E3 16A1 9FA0  ACF0 6CAC A448 860C DC13
> ------------------------------------------------------------------------
>



-- 
behdad
http://behdad.org/

Reply via email to