Hi,

here is your ANGSA.xml.

The Ouput of the Conversion was as following:

Parsing font...
Reading C:/ANGSA.ttf...
Ascender and descender together are larger than the em box. This could lead to a wrong baseline placement in Apache FOP.
Font Family: [Angsana New]
Creating xml font file...
Creating CID encoded metrics...
Writing xml font file c:\ANGSA.xml...
This font contains no embedding license restrictions.

XML font metrics file successfully created.

to convert ttf-Files yourself you should open a command-box and navigate to your fop-installation-path. Then you should use this:

java -cp build/fop.jar;lib/avalon-framework-4.2.0.jar;lib/xml-apis-1.3.04.jar;lib/xercesImpl-2.7.1.jar;lib/xalan-2.7.0.jar;lib/commons-logging.jar;lib/commons-io-1.3.1.jar;lib/xmlgraphics-commons-1.3.1.jar;lib/serializer-2.7.0.jar org.apache.fop.fonts.apps.TTFReader C:/YOURFONT.ttf C:/YOURFONT.xml


Greetings
Michael Seeberger

Am 04.07.2010 18:35, schrieb pyrin prateepnatalang:



 I want to use thai language in fo report but i cant convert font

I try so many way to convert  ANGSA.TTF to ANGSA.XML more than 1 month
til now i cant do
i got org/apache/fop/fonts/apps TTFReader  error in my attach picture
i change somany version of apache fop but get the same error

So Can u help me convert my attach file ANGSA.TTF to ANGSA.XML and send to me

if u help me so i can finis my study project

help me pls



------------------------------------------------------------------------
Hotmail: Trusted email with powerful SPAM protection. Sign up now. <https://signup.live.com/signup.aspx?id=60969>



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
<?xml version="1.0" encoding="UTF-8"?><font-metrics metrics-version="2" type="TYPE0"><font-name>AngsanaNew</font-name><full-name>Angsana New</full-name><family-name>Angsana New</family-name><embed/><cap-height>437</cap-height><x-height>295</x-height><ascender>458</ascender><descender>-141</descender><bbox><left>-489</left><bottom>-409</bottom><right>791</right><top>940</top></bbox><flags>33</flags><stemv>0</stemv><italicangle>0</italicangle><subtype>TYPE0</subtype><multibyte-extras><cid-type>CIDFontType2</cid-type><default-width>0</default-width><bfranges><bf gi="3" ue="126" us="32"/><bf gi="3" ue="160" us="160"/><bf gi="224" ue="255" us="161"/><bf gi="336" ue="305" us="305"/><bf gi="319" ue="339" us="338"/><bf gi="321" ue="353" us="352"/><bf gi="323" ue="376" us="376"/><bf gi="324" ue="402" us="402"/><bf gi="325" ue="710" us="710"/><bf gi="337" ue="711" us="711"/><bf gi="326" ue="732" us="732"/><bf gi="131" ue="3642" us="3584"/><bf gi="192" ue="3675" us="3647"/><bf gi="121" ue="8212" us="8211"/><bf gi="116" ue="8217" us="8216"/><bf gi="327" ue="8218" us="8218"/><bf gi="118" ue="8221" us="8220"/><bf gi="328" ue="8222" us="8222"/><bf gi="329" ue="8225" us="8224"/><bf gi="120" ue="8226" us="8226"/><bf gi="104" ue="8230" us="8230"/><bf gi="331" ue="8240" us="8240"/><bf gi="332" ue="8250" us="8249"/><bf gi="338" ue="8364" us="8364"/><bf gi="334" ue="8482" us="8482"/><bf gi="246" ue="8729" us="8729"/><bf gi="335" ue="9702" us="9702"/><bf gi="99" ue="63236" us="63232"/><bf gi="105" ue="63247" us="63237"/><bf gi="123" ue="63255" us="63248"/><bf gi="221" ue="63258" us="63256"/><bf gi="98" ue="63259" us="63259"/><bf gi="190" ue="63261" us="63260"/><bf gi="0" ue="65535" us="65535"/></bfranges><cid-widths start-index="0"><wx w="750"/><wx w="0"/><wx w="165"/><wx w="165"/><wx w="219"/><wx w="269"/><wx w="330"/><wx w="330"/><wx w="549"/><wx w="513"/><wx w="118"/><wx w="219"/><wx w="219"/><wx w="330"/><wx w="372"/><wx w="165"/><wx w="219"/><wx w="165"/><wx w="183"/><wx w="330"/><wx w="330"/><wx w="330"/><wx w="330"/><wx w="330"/><wx w="330"/><wx w="330"/><wx w="330"/><wx w="330"/><wx w="330"/><wx w="183"/><wx w="183"/><wx w="372"/><wx w="372"/><wx w="372"/><wx w="292"/><wx w="607"/><wx w="476"/><wx w="440"/><wx w="440"/><wx w="476"/><wx w="403"/><wx w="367"/><wx w="476"/><wx w="476"/><wx w="219"/><wx w="256"/><wx w="476"/><wx w="403"/><wx w="586"/><wx w="476"/><wx w="476"/><wx w="367"/><wx w="476"/><wx w="440"/><wx w="367"/><wx w="403"/><wx w="476"/><wx w="476"/><wx w="623"/><wx w="476"/><wx w="476"/><wx w="403"/><wx w="219"/><wx w="183"/><wx w="219"/><wx w="309"/><wx w="330"/><wx w="219"/><wx w="292"/><wx w="330"/><wx w="292"/><wx w="330"/><wx w="292"/><wx w="219"/><wx w="330"/><wx w="330"/><wx w="183"/><wx w="183"/><wx w="330"/><wx w="183"/><wx w="513"/><wx w="330"/><wx w="330"/><wx w="330"/><wx w="330"/><wx w="219"/><wx w="256"/><wx w="183"/><wx w="330"/><wx w="330"/><wx w="476"/><wx w="330"/><wx w="330"/><wx w="292"/><wx w="316"/><wx w="132"/><wx w="316"/><wx w="357"/><wx w="0"/><wx w="377"/><wx w="0"/><wx w="0"/><wx w="0"/><wx w="0"/><wx w="659"/><wx w="0"/><wx w="0"/><wx w="0"/><wx w="0"/><wx w="0"/><wx w="0"/><wx w="0"/><wx w="0"/><wx w="0"/><wx w="0"/><wx w="524"/><wx w="219"/><wx w="219"/><wx w="292"/><wx w="292"/><wx w="230"/><wx w="330"/><wx w="659"/><wx w="0"/><wx w="0"/><wx w="0"/><wx w="0"/><wx w="0"/><wx w="0"/><wx w="0"/><wx w="0"/><wx w="100"/><wx w="395"/><wx w="397"/><wx w="454"/><wx w="397"/><wx w="399"/><wx w="483"/><wx w="314"/><wx w="354"/><wx w="427"/><wx w="405"/><wx w="439"/><wx w="506"/><wx w="521"/><wx w="419"/><wx w="425"/><wx w="377"/><wx w="523"/><wx w="520"/><wx w="533"/><wx w="399"/><wx w="400"/><wx w="395"/><wx w="449"/><wx w="379"/><wx w="459"/><wx w="449"/><wx w="449"/><wx w="391"/><wx w="391"/><wx w="464"/><wx w="464"/><wx w="414"/><wx w="419"/><wx w="343"/><wx w="342"/><wx w="395"/><wx w="395"/><wx w="415"/><wx w="354"/><wx w="389"/><wx w="440"/><wx w="439"/><wx w="467"/><wx w="455"/><wx w="394"/><wx w="371"/><wx w="399"/><wx w="357"/><wx w="0"/><wx w="284"/><wx w="284"/><wx w="0"/><wx w="0"/><wx w="0"/><wx w="0"/><wx w="0"/><wx w="0"/><wx w="0"/><wx w="220"/><wx w="220"/><wx w="440"/><wx w="167"/><wx w="376"/><wx w="342"/><wx w="305"/><wx w="343"/><wx w="291"/><wx w="425"/><wx w="0"/><wx w="0"/><wx w="0"/><wx w="0"/><wx w="0"/><wx w="0"/><wx w="0"/><wx w="0"/><wx w="427"/><wx w="402"/><wx w="404"/><wx w="568"/><wx w="510"/><wx w="511"/><wx w="528"/><wx w="427"/><wx w="535"/><wx w="501"/><wx w="407"/><wx w="470"/><wx w="815"/><wx w="0"/><wx w="0"/><wx w="0"/><wx w="219"/><wx w="330"/><wx w="330"/><wx w="330"/><wx w="330"/><wx w="132"/><wx w="330"/><wx w="219"/><wx w="501"/><wx w="182"/><wx w="330"/><wx w="372"/><wx w="219"/><wx w="501"/><wx w="330"/><wx w="264"/><wx w="362"/><wx w="197"/><wx w="197"/><wx w="219"/><wx w="380"/><wx w="299"/><wx w="165"/><wx w="219"/><wx w="197"/><wx w="204"/><wx w="330"/><wx w="495"/><wx w="495"/><wx w="495"/><wx w="292"/><wx w="476"/><wx w="476"/><wx w="476"/><wx w="476"/><wx w="476"/><wx w="476"/><wx w="586"/><wx w="440"/><wx w="403"/><wx w="403"/><wx w="403"/><wx w="403"/><wx w="219"/><wx w="219"/><wx w="219"/><wx w="219"/><wx w="476"/><wx w="476"/><wx w="476"/><wx w="476"/><wx w="476"/><wx w="476"/><wx w="476"/><wx w="372"/><wx w="476"/><wx w="476"/><wx w="476"/><wx w="476"/><wx w="476"/><wx w="476"/><wx w="367"/><wx w="330"/><wx w="292"/><wx w="292"/><wx w="292"/><wx w="292"/><wx w="292"/><wx w="292"/><wx w="440"/><wx w="292"/><wx w="292"/><wx w="292"/><wx w="292"/><wx w="292"/><wx w="183"/><wx w="183"/><wx w="183"/><wx w="183"/><wx w="330"/><wx w="330"/><wx w="330"/><wx w="330"/><wx w="330"/><wx w="330"/><wx w="330"/><wx w="362"/><wx w="330"/><wx w="330"/><wx w="330"/><wx w="330"/><wx w="330"/><wx w="330"/><wx w="330"/><wx w="330"/><wx w="586"/><wx w="476"/><wx w="367"/><wx w="256"/><wx w="476"/><wx w="330"/><wx w="219"/><wx w="219"/><wx w="165"/><wx w="292"/><wx w="330"/><wx w="330"/><wx w="660"/><wx w="219"/><wx w="219"/><wx w="646"/><wx w="219"/><wx w="183"/><wx w="219"/><wx w="330"/></cid-widths></multibyte-extras></font-metrics>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to