Re: FOP alignment problem between two font type

Puja <[email protected]>
Newsgroups gmane.text.xml.fop.user
Message-ID <CAKJTJQM0wkAfa+0ay6Vmbz8o8T8NJdQTc9U=azE5qak-7U8rPA@mail.gmail.com>
I faced such issue with sigma character, I couldn't find worthwhile
solution. Ended up using image of sigma character.
On Mar 8, 2016 19:40, "gkaplan [via Apache FOP]" <
[email protected]> wrote:

> I am using XSL to create the FOP markup, so it is not possible for me to
> easily wrap special characters in their own inline block. I am using the
> greater-than-or-equals ≥ symbol which is only available in the Symbol font.
> The rest of the document is in sans-serif.
>
> What's odd is that any numbers subsequent to the ≥ symbol are also in the
> Symbol font.
>
> My markup includes an attribute-set as follows:
>
>         <xsl:attribute-set name="normal">
>                 <xsl:attribute name="font-size"><xsl:value-of
> select="$fontSize"/></xsl:attribute>
>                 <xsl:attribute name="font-family">sans-serif,
> Symbol</xsl:attribute>
>         </xsl:attribute-set>
>
> But when the PDF is generated, the baseline (or some other attribute) of
> the ≥ symbol is much lower.
>
> Is there really no way to fix this? I've tried tinkering with setting
> baselines, etc. but nothing fixes this. Also, as the previous solution
> mentions, I don't know of any fonts that include this symbol as well as the
> full alphabet.
>
> Thanks in advance for any help.
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://apache-fop.1065347.n5.nabble.com/FOP-alignment-problem-between-two-font-type-tp41322p43650.html
> To unsubscribe from FOP alignment problem between two font type, click
> here
> <http://apache-fop.1065347.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=41322&code=cHVqYWFncjM1QGdtYWlsLmNvbXw0MTMyMnwtNDQzMzMzNDQ3>
> .
> NAML
> <http://apache-fop.1065347.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: http://apache-fop.1065347.n5.nabble.com/FOP-alignment-problem-between-two-font-type-tp41322p43651.html
Sent from the FOP - Users mailing list archive at Nabble.com.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.