yes there is font called bold: in red below, in the userconfig. tried all combinations font-style="bold", font weight="bold, 800,..."
Any ideas what I do wrong? many thanks for the lightspeed reply! On Oct 3, 2011, at 10:39 PM, Rob Sargent wrote: > > > On 10/03/2011 01:26 PM, Spyros Papantoniou wrote: >> >> Hello xml-poets, >> >> Can some one cast some light in why bold is not printing? >> my userconfig.xml is: >> >> <fop version="1.0"> >> <renderers> >> <renderer mime="application/pdf"> >> <fonts> >> >> <font kerning="yes" >> embed-url="file:///C:/WINDOWS/Fonts/ARIAL.ttf"> >> <font-triplet name="Arial" style="normal" weight="400"/> >> </font> >> <font kerning="yes" >> embed-url="file:///C:/WINDOWS/Fonts/ARIALI.ttf"> >> <font-triplet name="Arial" style="italic" weight="400"/> >> </font> >> <font kerning="yes" >> embed-url="file:///C:/WINDOWS/Fonts/ARIALBD.ttf"> >> <font-triplet name="Arial" style="bold" weight="bold"/> >> </font> >> >> <font kerning="yes" >> embed-url="file:///C:/WINDOWS/Fonts/ariblk.ttf"> >> <font-triplet name="ArialBlack" style="normal" weight="normal"/> >> </font> >> <font kerning="yes" >> embed-url="file:///C:/WINDOWS/Fonts/ariblk.ttf"> >> <font-triplet name="ArialBlack" style="italic" weight="normal"/> >> </font> >> <font kerning="yes" >> embed-url="file:///C:/WINDOWS/Fonts/ariblk.ttf"> >> <font-triplet name="ArialBlack" style="bold" weight="bold"/> >> </font> >> >> </fonts> >> </renderer> >> </renderers> >> </fop> >> >> Trying to display some text in bold, but it shows only normal. though >> Italic is also ok. >> I use ArialBlack as a donkeybridge ( aka Eselsbruecke), unitl some divine >> light is cast upon me. >> >> Any ideal how to make bold appear? font-style="??" font-weight="???" or >> what else shall I use? >> >> >> <fo:block font-size="12pt" font-family="Arial" text-align="left" >> font-weight="1800" font-weight="bold" font-style="bold " > <!-- NOT >> WORKING shows normal , font-style="italic" is ok though--> > I doubt you have a weight of 1800, nor is there a font-style called bold. > That should be normal or italic. >> <fo:inline font-family="ArialBlack"> ΠΡΟΣ </fo:inline> : Ολα τα μέλη >> του Συμβουλίου </fo:block> <!-- in-line Arialblack OK --> >> >> <fo:block font-size="12pt" font-family="Arial" text-align="left" > >> Σύμφωνα με το άρθρο 2 παρ.3 του Ν. 2083/92 σας καλούμε στην >> <xsl:value-of select="$councilNumber"/>η Συνεδρίαση του Πρυτανικού >> Συμβουλίου ακαδ. έτους <xsl:value-of select="$academicYear"/> >> της <xsl:value-of select="$toDay"/>/<xsl:value-of >> select="$toMonth"/>/<xsl:value-of select="$toYear"/> και ώρα <xsl:value-of >> select="$hour"/> στην <xsl:value-of select="$place"/> με τα ακόλουθα θέματα: >> >> </fo:block> >> <fo:block id=""> </fo:block> >> <fo:block font-size="14pt" font-family="ArialBlack" text-align="left" >> font-weight="normal" space-before="48pt" space-after="22pt"> OK >> ΘΕΜΑΤΑ ΗΜΕΡΗΣΙΑΣ ΔΙΑΤΑΞΗΣ >> </fo:block> >> >>
