Generating FontMetrics from java
<p>am working on generating font metrics on server-side by giving ttf file as input.</p>

<p>Iam trying to Font , FontRenderContext , GlyphVector and GlyphMetrics classes.I have also tried Apache FOP but the metrics generated are not help me.</p>

<p>Would like to know if the following operations are possible?</p>

<ol>
<li>given unicode , how do I know if this has an independent glyph or it has to be compounded with another glyph etc.</li>
<li>Is it possible to generate font metrics with all these details and use it for calculating my line width</li>
<li>How do I know if a glyph is a ligature and how can I get the glyph width post rendering?</li>
<li>Can I assume that a compounded glyph will always appear to the right?</li>
</ol>

<p>any pointers to these will help? </p>
