eXist db XSL-FO–;断字和设置
我在一个无头虚拟Ubuntu服务器上运行eXist。有趣的是XSL-FO模块在默认情况下是启用的,可能是因为我在安装eXist之前在服务器上安装了它 我使用驻留在应用程序集合中的配置文件。有趣的是,它使用(并且只允许)系统路径,并且不可能使用集合中的资源(例如,我尝试从配置中加载字体并指向它们,但不起作用-我必须像在不存在的情况下使用它时那样使用它。除连字符外,一切都可以使用。没有存在,连字符也可以使用eXist db XSL-FO–;断字和设置,xsl-fo,exist-db,Xsl Fo,Exist Db,我在一个无头虚拟Ubuntu服务器上运行eXist。有趣的是XSL-FO模块在默认情况下是启用的,可能是因为我在安装eXist之前在服务器上安装了它 我使用驻留在应用程序集合中的配置文件。有趣的是,它使用(并且只允许)系统路径,并且不可能使用集合中的资源(例如,我尝试从配置中加载字体并指向它们,但不起作用-我必须像在不存在的情况下使用它时那样使用它。除连字符外,一切都可以使用。没有存在,连字符也可以使用 <fop version="1.0"> <hyphenation-
<fop version="1.0">
<hyphenation-base>/home/honza/.fop/hyph</hyphenation-base>
<hyphenation-pattern lang="cs" country="CZ">cs</hyphenation-pattern>
<renderers>
<renderer mime="application/pdf">
<fonts>
<font kerning="yes" embed-url="/home/honza/.fonts/libertine/LinLibertine_Rah.ttf" embedding-mode="subset">
<font-triplet name="LinLibertine" style="normal" weight="normal"/>
</font>
<font kerning="yes" embed-url="/home/honza/.fonts/libertine/LinLibertine_RIah.ttf" embedding-mode="subset">
<font-triplet name="LinLibertine" style="italic" weight="normal"/>
</font>
<font kerning="yes" embed-url="/home/honza/.fonts/libertine/LinLibertine_RBah.ttf" embedding-mode="subset">
<font-triplet name="LinLibertine" style="normal" weight="bold"/>
</font>
<font kerning="yes" embed-url="/home/honza/.fonts/libertine/LinLibertine_RBIah.ttf" embedding-mode="subset">
<font-triplet name="LinLibertine" style="italic" weight="bold"/>
</font>
<font kerning="yes" embed-url="/home/honza/.fonts/libertine/LinBiolinum_Rah.ttf" embedding-mode="subset">
<font-triplet name="LinBiolinum" style="normal" weight="normal"/>
</font>
<font kerning="yes" embed-url="/home/honza/.fonts/libertine/LinBiolinum_RIah.ttf" embedding-mode="subset">
<font-triplet name="LinBiolinum" style="italic" weight="normal"/>
</font>
<font kerning="yes" embed-url="/home/honza/.fonts/libertine/LinBiolinum_RBah.ttf" embedding-mode="subset">
<font-triplet name="LinBiolinum" style="normal" weight="bold"/>
</font>
</fonts>
</renderer>
</renderers>
</fop>
/home/honza/.fop/hyph
反恐精英
我知道
断字库
是正确的起点,但由于eXist的存在,我无法确定它是否应该以某种特殊方式设置。如果您是从eXist中调用FOP,则需要存储断字jar(FOP hyph.jar
)在$EXIST\u HOME/extensions/modules/lib/
中,与fop.jar
一起。那么您在fop.conf
文件中根本不需要
属性,
应该足够了。谢谢!解决了!仍在测试中,问题可能是(我将在邮件列表中报告)如果从整个eXist的安装外部调用FOP。如果是,则仍然需要
。否则,它不会连字:(