Question about font

Post here questions and problems related to editing and publishing DITA content.
Le Basque
Posts: 147
Joined: Sat Oct 19, 2013 8:21 am

Question about font

Post 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>
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Re: Question about font

Post 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
Post Reply