Page 1 of 1

Question about font

Posted: Thu Jul 10, 2014 2:39 pm
by Le Basque
Hi,

can you explain me how the treatment works fonts in dita ?

I am file font-mappings.xml

Code: Select all


<font-mappings>
<font-table>

<!-- Backwards compatibility aliases -->
<aliases>
<alias name="serif">Serif</alias>
</aliases>
<aliases>
<alias name="sans-serif">Sans</alias>
</aliases>
...
<logical-font name="Serif">
<physical-font char-set="default">
<font-face>Arial Unicode MS, Helvetica</font-face>
</physical-font>
...
In custom.xsl i define

Code: Select all

	
When i use generate PDF From Suse Componize Alfresco Oxygen the omega caracter is not found ?
When i use generate PDF on Windows from oXygen the omega caracter is found because font woindows are used

i want have same result in suse

Thank you
<xsl:attribute-set name="common.title">
<xsl:attribute name="font-family">sans-serif</xsl:attribute>
</xsl:attribute-set>

Re: Question about font

Posted: Fri Jul 11, 2014 2:23 pm
by sorin_ristache
Hello,

It is not clear what you have in custom.xsl. Do you have the following in your custom.xsl file?

Code: Select all

<xsl:attribute-set name="common.title">
<xsl:attribute name="font-family">sans-serif</xsl:attribute>
</xsl:attribute-set>
If yes, please note that this is a default setting in the file OXYGEN_INSTALL_DIR/frameworks/dita/DITA-OT/plugins/org.dita.pdf2/cfg/fo/attrs/commons-attr.xsl, so your custom.xsl will have the same effect as the default font settings.

Do you use for the PDF transformation the DITA-OT that comes in the Oxygen install kit? How does Componize Alfresco publish the content? Where are the DITA topics stored and how do you run the DITA transformations? We don't know these details but we need them in order to figure out where the font configuration is actually loaded from.


Regards,
Sorin