However, calling getCharWidth() on a given character will not necessarily
produce the same results as FOP regarding line fitting due to the affects
of:
- kerning
- letter/word spacing
- complex script features (GSUB/GPOS) which apply to all scripts
In general, I would expect summing getC
Hi,
what you need is an instance of FontInfo, from there you can retrieve
the "Font" you need and call getCharWidth().
If you are using FOP version 1.1 or older use the following code snippet:
import org.apache.fop.apps.FOPException;
import org.apache.fop.fonts.EmbedFontInfo;
import org.apach