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> 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 > For additional commands, e-mail: 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