I was just wondering what is the use of this configuration if font metrics are not read from base14 fonts. The font-triplet should provide enough information for finding correct codepage and characterSet name to insert it as external object reference in afp file. How base14 attribute in afp font configuration help in?
Thanks & Regards, Sandeep ________________________________________ From: Chris Bowditch [bowditch_ch...@hotmail.com] Sent: Thursday, March 10, 2011 5:44 PM To: fop-users@xmlgraphics.apache.org Subject: Re: Font Configuration On 09/03/2011 15:00, Sandeep Dhulia wrote: Hi Sandeep, > Hi Peter, > Thanks for the response. Currently I don't have the IBM raster fonts, > so the configuration is with base-14 fonts. But the documents says > *By default, all manually configured fonts are embedded, unless they > are matched in the **referenced-fonts section of the configuration > file* <http://xmlgraphics.apache.org/fop/trunk/fonts.html#embedding>*. > However, the default fonts shown above will not be embedded.* > So default fonts here means base14-font. Is the assumption right or my > configuration is not able to detect base14-font. I have given > auto-detect tag in fonts config file. yes default fonts means base14-font. The documentation doesn't currently state that base14 fonts won't be embedded, but when you think about this makes sense. You don't provide a path to actual font file so how could it embed the font? If you remove the base14-font property and instead add path or base-uri attribute to reference the font files then the fonts will be embedded. Alternatively create a new font element if the fonts aren't really the base fonts. If you don't have the font file then you will have to go back to your client and get them. After all, how can they expect you to embed them in the output if they don't provide them? Thanks, Chris > Regards, > Sandeep > > > On Wed, Mar 9, 2011 at 7:58 PM, Peter Hancock <peter.hanc...@gmail.com > <mailto:peter.hanc...@gmail.com>> wrote: > > Hi Sandeep, > The answer to your question can be found at > http://xmlgraphics.apache.org/fop/trunk/output.html#afp-font-config > and > http://xmlgraphics.apache.org/fop/trunk/fonts.html#embedding > > Peter > > > On Wed, Mar 9, 2011 at 1:38 PM, Sandeep Dhulia <sdhu...@gmail.com > <mailto:sdhu...@gmail.com>> wrote: > > Hi Guys, > > > > I need some help for afp-font configuration. Currently my fo > uses 2 fonts, > > TimeRoman-10-Normal and TimesRoman-10-Bold. I am using default fop > > configuration. When I generate afp file, I get the codepages > (T1V10500) & > > character sets (C0N20000 and C0N40000) as external resource > referenced in > > afp file. It seems the codepage and character set are mapped to > following > > line in fop configuration > > > > <afp-font name="Times Roman" type="raster" codepage="T1V10500" > > encoding="Cp500"> > > > > <afp-raster-font size="10" characterset="C0N20000" > base14-font="TimeRoman"/> > > > > <afp-font name="Times Roman Bold" type="raster" codepage="T1V10500" > > encoding="Cp500"> > > > > <afp-raster-font size="10" characterset="C0N40000" > base14-font="TimesBold"/> > > > > I though the above configuration will embed the font information > in the afp > > file but it is added as an external resource. > > > > The sample afp I received from client has embedded resource codepage > > T1GMCUSR (ibm-500_P100- > > > > 1995) with character - set C0000001 (Arial, 10) and > character-set C0000002 > > (ArialBold, 10). I am not > > > > sure how to proceed with this. What all resources and > configuration I would > > need to map and embed this > > > > Information in generated afp file. > > > > > > > > Attach is the afp file output. > > > > > > > > Please help. > > > > > > > > Thanks & Regards, > > > > Sandeep > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: > fop-users-unsubscr...@xmlgraphics.apache.org > <mailto:fop-users-unsubscr...@xmlgraphics.apache.org> > > For additional commands, e-mail: > fop-users-h...@xmlgraphics.apache.org > <mailto:fop-users-h...@xmlgraphics.apache.org> > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > fop-users-unsubscr...@xmlgraphics.apache.org > <mailto:fop-users-unsubscr...@xmlgraphics.apache.org> > For additional commands, e-mail: > fop-users-h...@xmlgraphics.apache.org > <mailto:fop-users-h...@xmlgraphics.apache.org> > > --------------------------------------------------------------------- To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org Information contained and transmitted by this e-mail is confidential and proprietary to Patni Computer Systems Ltd and its affiliates (hitherto referred as Patni Computers) and is intended for use only by the recipient. If you are not the intended recipient , you are hereby notified that any dissemination, distribution, copying or use of this e-mail is strictly prohibited and you are requested to delete this e-mail immediately and notify the originator or netad...@patni.com. Patni Computers does not enter into any agreement with any party by e-mail. Any views expressed by an individual do not necessarily reflect the view of Patni Computers. Patni Computers is not responsible for the consequences of any actions taken on the basis of information provided, through this email. The contents of an attachment to this e-mail may contain software viruses, which could damage your own computer system. While Patni Computers has taken every reasonable precaution to minimise this risk, we cannot accept liability for any damage which you sustain as a result of software viruses. You should carry out your own virus checks before opening an attachment. To know more about Patni Computers please visit www.patni.com. --------------------------------------------------------------------- To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org