Add Character

View: New views
4 Messages — Rating Filter:   Alert me  

Add Character

by Alexandre Moraes :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
      I´m using Xep and I need to add the Unicode Character Script Small L (ℓ) in my pdf. I added in xep.xml Arial true type font and then use font-family =Arial in the fo:root.
      It didn´t work.Can anyone help me?

Thanks,

Alexandre

Re: Add Character

by Tony Graham-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On Thu, Oct 11 2007 12:47:18 +0100, alexmoraes@... wrote:
>       I´m using Xep and I need to add the Unicode Character Script Small L
> (ℓ) in my pdf. I added in xep.xml Arial true type font and then use
> font-family =Arial in the fo:root.
>       It didn´t work.Can anyone help me?

It would help others to help you if you showed exactly what was in your
input (if it was "ℓ" and not "ℓ" then your input wasn't
even well-formed) and detailed what Xep did or didn't do for the
character reference.

Regards,


Tony Graham.
======================================================================
Tony.Graham@...   http://www.menteithconsulting.com

Menteith Consulting Ltd             Registered in Ireland - No. 428599
Registered Office: 13 Kelly's Bay Beach, Skerries, Co. Dublin, Ireland
----------------------------------------------------------------------
Menteith Consulting -- Understanding how markup works
======================================================================


RE: Add Character

by Vladimir Rodimyuk :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Alexandre,

I believe the reason for this issue hides in your xep.xml configuration file. Probably you added Arial font in wrong font group. Original configuration file that comes with XEP has commented out group with Windows True Type Fonts. Just uncomment this block (more about it can be found here http://www..renderx.com/reference.html#Configuring_Fonts).
<!-- Sample configuration for Windows TrueType fonts.  -->

<font-group xml:base="file:/C:/Windows/Fonts/"
 label="Windows TrueType" embed="true" subset="true">
  <font-family name="Arial">
    <font><font-data ttf="arial.ttf"/></font>
    <font style="oblique"><font-data ttf="ariali.ttf"/></font>
    <font weight="bold"><font-data ttf="arialbd.ttf"/></font>
    <font weight="bold" style="oblique">
      <font-data ttf="arialbi.ttf"/></font>
  </font-family>
....
</font-group>

I have attached PDF and FO file to illustrate rendering this symbol.

Respectfully,
Volodymyr Rodymyuk

> -----Original Message-----
> From: www-xsl-fo-request@... [mailto:www-xsl-fo-request@...] On
> Behalf Of axdmoraes
> Sent: Thursday, October 11, 2007 2:47 PM
> To: www-xsl-fo@...
> Subject: Add Character
>
>
>
> Hi,
>       I´m using Xep and I need to add the Unicode Character Script Small L
> (ℓ) in my pdf. I added in xep.xml Arial true type font and then use
> font-family =Arial in the fo:root.
>       It didn´t work.Can anyone help me?
>
> Thanks,
>
> Alexandre
> --
> View this message in context: http://www.nabble.com/Add-Character-
> tf4606669.html#a13154042
> Sent from the w3.org - www-xsl-fo mailing list archive at Nabble.com.
>



testA4.fo (3K) Download Attachment
testa4.pdf (245K) Download Attachment

RE: Add Character

by Alexandre Moraes :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Volodymyr,

    it worked well.
    Thanks again for your help.

Alexandre


Vladimir Rodimyuk wrote:
Hi Alexandre,

I believe the reason for this issue hides in your xep.xml configuration file. Probably you added Arial font in wrong font group. Original configuration file that comes with XEP has commented out group with Windows True Type Fonts. Just uncomment this block (more about it can be found here http://www..renderx.com/reference.html#Configuring_Fonts).
<!-- Sample configuration for Windows TrueType fonts.  -->

<font-group xml:base="file:/C:/Windows/Fonts/"
 label="Windows TrueType" embed="true" subset="true">
  <font-family name="Arial">
    <font-data ttf="arial.ttf"/>
    <font-data ttf="ariali.ttf"/>
    <font-data ttf="arialbd.ttf"/>
   
      <font-data ttf="arialbi.ttf"/>

  </font-family>
....
</font-group>

I have attached PDF and FO file to illustrate rendering this symbol.

Respectfully,
Volodymyr Rodymyuk

> -----Original Message-----
> From: www-xsl-fo-request@w3.org [mailto:www-xsl-fo-request@w3.org] On
> Behalf Of axdmoraes
> Sent: Thursday, October 11, 2007 2:47 PM
> To: www-xsl-fo@w3.org
> Subject: Add Character
>
>
>
> Hi,
>       I´m using Xep and I need to add the Unicode Character Script Small L
> (ℓ) in my pdf. I added in xep.xml Arial true type font and then use
> font-family =Arial in the fo:root.
>       It didn´t work.Can anyone help me?
>
> Thanks,
>
> Alexandre
> --
> View this message in context: http://www.nabble.com/Add-Character-
> tf4606669.html#a13154042
> Sent from the w3.org - www-xsl-fo mailing list archive at Nabble.com.
>