hi I look at the arail.ttf.xml file which org.apache.fop.fonts.apps.TTFReader makes it I found that some charachter's unicode does'nt exist in it for example arabic lowercase charachres this leads to showing lowercase chars same as uppercase mmmmmm???? --- [EMAIL PROTECTED] wrote:
> On Thu, 23 Dec 2004, nafise hassani wrote: > > hi nafise > > sorry but all this in your new pdf are "to greek" > for me > so i cant realise the problem > > i understand only that you have now arabic fonts > > --stavros > > > > hi > > thanks, really thanks > > but now another problem arise alll the arabic > > alphabets > > printed separately please have a look at new > > arabic.pdf > > attached > > suggestion?? > > --- [EMAIL PROTECTED] wrote: > > > > > > > > hi nafise > > > > > > did you set the font in your fo-xsl? > > > > > > ... > > > <fo:block text-align="left" font-size="10pt" > > > font-family="Arial" > > > line-height="14pt" border-bottom="black solid"> > > > > > > </fo:block> > > > ... > > > > > > --stavros > > > > > > > > > > > > On Wed, 22 Dec 2004, nafise hassani wrote: > > > > > > > hi > > > > I did all the things that gounis said > > > > my config.xml file look like this: > > > > > > > > <?xml version="1.0"?> > > > > <configuration> > > > > <fonts> > > > > <font > > > metrics-file="D:/fop-fonts/arial.ttf.xml" > > > > kerning="yes" > > > > embed-file="C:/WINNT/Fonts/arial.ttf"> > > > > <font-triplet name="Arial" > style="normal" > > > > weight="normal"/> > > > > <font-triplet name="ArialMT" > style="normal" > > > > weight="normal"/> > > > > </font> > > > > </fonts> > > > > </configuration> > > > > > > > > Also in my sitemap.xmap I edit the fo2pdf > > > serializer > > > > like this: > > > > > > > > <map:serializer name="fo2pdf" > > > > > > > > src="org.apache.cocoon.serialization.FOPSerializer" > > > > mime-type="application/pdf"> > > > > > <user-config>D:/fop-fonts/config.xml</user-config> > > > > </map:serializer> > > > > > > > > And in D:\fop-fonts I have the arail.ttf.xml > and > > > put > > > > my config.xml file there too > > > > BUT its make no difference > > > > (my arabic pdf is attached to this mail too) > > > > > is there any fault in charachter setting not > > > fonts?? > > > > I think the serializer has a problem with my > > > charset > > > > not font > > > > > > > > any suggestion ??? > > > > please help > > > > > > > > > > > > > > > > --- [EMAIL PROTECTED] wrote: > > > > > > > > > > > > > > > > > > > > > > > > hi nafise > > > > > > > > > > you have to use compiled fonts > > > > > > > > > > http://xml.apache.org/fop/fonts.html > > > > > > > > > > and then force cocoon to use those fonts > > > > > for this you have to create a fop-config.xml > > > > > in web-inf > > > > > > > > > > for example the content of my fop-config: > > > > > <configuration> > > > > > <fonts> > > > > > <font > > > metrics-file="c:/fop-fonts/arial.ttf.xml" > > > > > kerning="yes" > > > > > embed-file="c:/fop-fonts/win/arial.ttf"> > > > > > <font-triplet name="Arial" style="normal" > > > > > > weight="normal"/> > > > > > <font-triplet name="ArialMT" > style="normal" > > > > > weight="normal"/> > > > > > </font> > > > > > <font > > > metrics-file="c:/fop-fonts/arialb.ttf.xml" > > > > > kerning="yes" > > > > > embed-file="c:/fop-fonts/win/arialb.ttf"> > > > > > <font-triplet name="Arial" style="normal" > > > > > > weight="bold"/> > > > > > <font-triplet name="ArialMT" > style="normal" > > > > > weight="bold"/> > > > > > </font> > > > > > <font > > > metrics-file="c:/fop-fonts/arialbi.ttf.xml" > > > > > kerning="yes" > > > > > embed-file="c:/fop-fonts/win/arialbi.ttf"> > > > > > <font-triplet name="Arial" style="italic" > > > > > > weight="bold"/> > > > > > <font-triplet name="ArialMT" > style="italic" > > > > > weight="bold"/> > > > > > </font> > > > > > <font > > > metrics-file="c:/fop-fonts/ariali.ttf.xml" > > > > > kerning="yes" > > > > > embed-file="c:/fop-fonts/win/ariali.ttf"> > > > > > <font-triplet name="Arial" style="italic" > > > > > > weight="normal"/> > > > > > <font-triplet name="ArialMT" > style="italic" > > > > > weight="normal"/> > > > > > </font> > > > > > </fonts> > > > > > </configuration> > > > > > > > > > > > > > > > > > > > > and finaly you have to register this > fop-confing > > > in > > > > > your sitemap: > > > > > ... > > > > > <map:serializer > > > > > logger="sitemap.serializer.fo2pdf" > > > > > mime-type="application/pdf" name="fo2pdf" > > > > > > > > > src="org.apache.cocoon.serialization.FOPSerializer"> > > > > > > > > > > > > > > <user-config>c:\fop-fonts\config.xml</user-config> > > > > > </map:serializer> > > > > > ... > > > > > > > > > > > > > > > --stavros > > > > > > > > > > > > > > > [cocoon doc] > > > > > > > > > > > > > > > http://cocoon.apache.org/2.1/userdocs/serializers/pdf-serializer.html > > > > > > > > > > On Wed, 22 Dec 2004, nafise hassani wrote: > > > > > > > > > > > hi > > > > > > I use cocoon as a framework and I want to > > > output a > > > > > pdf > > > > > > using "fo2pdf" serializer also I want to > > > create > > > > > arabic > > > > > > content in my pdfs I set the charencoding > in > === message truncated === __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com