nancy_b wrote:
>
>
>
> nancy_b wrote:
>>
>> Hi guys,
>>
>> I am working in Debian Linux.
>>
>> I would like to change the default body font to Verdana. As Bob Stayton
>> writes in his book about Docbook XML, I should run the following command
>> after locating the needed font:
>>
>> # java -cp /home/nancy/fop-0.94/build/fop.jar;
>> /usr/share/java/avalon-framework.jar;
>> /usr/share/java/commons-logging.jar; /usr/share/java/commons-io.jar
>> org.apache.fop.fonts.apps.TTFReader /usr/share/fonts/truetype/verdana.ttf
>> verdana_metric.xml
>>
>> But the following error occurs:
>> Usage: gij [OPTION] ... CLASS [ARGS] ...
>> to invoke CLASS.main, or
>> gij -jar [OPTION] ... JARFILE [ARGS] ...
>> to execute a jar file
>> Try `gij --help' for more information.
>> bash: /usr/share/java/avalon-framework.jar: Permission denied
>> bash: /usr/share/java/commons-logging.jar: Permission denied
>> bash: /usr/share/java/commons-io.jar: Permission denied
>>
>> What do I do wrong? :-(
>>
>> Thanks in advance!
>> Nancy
>>
>>
>
> Hi guys,
> I have finally managed to create the metric files. Then I went to the
> fop.xconf file located in /home/nancy/fop-0.94/ and added the following:
>
>
> <font-triplet name="verdana" style="normal" weight="normal"/>
>
>
> <font-triplet name="verdanab" style="normal" weight="bold"/>
>
>
> <font-triplet name="verdanai" style="italic" weight="normal"/>
>
>
> <font-triplet name="verdanaz" style="italic" weight="bold"/>
>
>
> But when I compile, the following warnings appear, and the PDF shows ###
> signs instead of words:
>
> WARNING: Font 'ZapfDingbats,italic,400' not found. Substituting with
> 'ZapfDingbats,normal,400'.
> Sep 28, 2008 4:36:24 PM
> org.apache.fop.layoutmgr.inline.LineLayoutManager$LineBreakingAlgorithm
> updateData2
> WARNING: Line 1 of a paragraph overflows the available area. (fo:block,
> location: 64/262)
> Sep 28, 2008 4:36:24 PM org.apache.fop.fonts.FontInfo
> notifyFontReplacement
> WARNING: Font 'Symbol,normal,700' not found. Substituting with
> 'Symbol,normal,400'.
> Sep 28, 2008 4:36:34 PM org.apache.fop.fo.flow.TableColumn bind
>
> Please, help!
>
>
When I look at the FO file, I discover the following:
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"
font-family="Verdana,Symbol,ZapfDingbats"...
--
View this message in context:
http://www.nabble.com/Adding-Verdana-font-in-Linux-and-registering-it-with-FOP-0.94-tp19711056p19711798.html
Sent from the FOP - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]