Hi,
my name is Ruja Cristi
I found a bug in fop.fonts package
the leftSideBearing value of the class
TTFMtxEntry is of type "short" but you read it as an
UnsignedShort.
So all you have to do to fix the BUG is to modify
in class TTFFile, in the method "readHorizontalMetrics(FontFileReader
in)"
the line:
mtx_tab[i].lsb =
in.readTTFUShort() and replace with mtx_tab[i].lsb =
in.readTTFShort()
and that's all
Best,
|