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