You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by "Zmitko, Jan" <Ja...@Dresdner-Bank.com> on 2003/06/18 12:58:36 UTC
checkbox in pdf
Hello,
I´ve read in FAQ about embeding special characters. I have to implement some
checkboxes. I´ve tried the following code:
<fo:block>
<fo:inline font-family="Helvetica">☒</fo:inline>
<fo:inline font-family="ITC Zapf Dingbats">☒</fo:inline>
<fo:inline font-family="Symbol">☒</fo:inline>
</fo:block>
But in all cases I see #. Can anybody help me?
Thank a lot,
Jan Zmitko
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org
R: checkbox in pdf
Posted by RBonazzo <rb...@sardiniapoint.it>.
Hello,
Here the code I use to implement checkboxes in my application.
<fo:block top="6pt" line-height="20pt" space-after="0pt">
<fo:inline space-after.optimum="10pt" font-family="ZapfDingbats"
font-size="10pt">❏</fo:inline>
</fo:block>
I hope this help you
Regards
Rinaldo
rbonazzo@sardiniapoint.it
-----Messaggio originale-----
Da: Zmitko, Jan [mailto:Jan.Zmitko@Dresdner-Bank.com]
Inviato: mercoledì 18 giugno 2003 12.59
A: fop-user@xml.apache.org
Oggetto: checkbox in pdf
Hello,
I´ve read in FAQ about embeding special characters. I have to implement
some checkboxes. I´ve tried the following code:
<fo:block>
<fo:inline font-family="Helvetica">☒</fo:inline>
<fo:inline font-family="ITC Zapf Dingbats">☒</fo:inline>
<fo:inline font-family="Symbol">☒</fo:inline>
</fo:block>
But in all cases I see #. Can anybody help me?
Thank a lot,
Jan Zmitko
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org
RE: checkbox in pdf
Posted by Torsten Erler <To...@net-linx.com>.
Hi
AFAIK neither Helvetica nor the other fonts youv'e tried out, contain this
glyph so U've to use a font which has this character at this address.
Unfortunality I cant help you which font has it....
but I think another solution would be to create a simple graphic (box.gif)
which can be scaled to your requested font size and use it with
<fo:external-graphic> tag.
hope it helps
> -----Original Message-----
> From: Zmitko, Jan [mailto:Jan.Zmitko@Dresdner-Bank.com]
> Sent: Mittwoch, 18. Juni 2003 12:59
> To: fop-user@xml.apache.org
> Subject: checkbox in pdf
>
>
> Hello,
>
> I´ve read in FAQ about embeding special characters. I have to
> implement some
> checkboxes. I´ve tried the following code:
>
> <fo:block>
> <fo:inline font-family="Helvetica">☒</fo:inline>
> <fo:inline font-family="ITC Zapf Dingbats">☒</fo:inline>
> <fo:inline font-family="Symbol">☒</fo:inline>
> </fo:block>
>
> But in all cases I see #. Can anybody help me?
>
> Thank a lot,
>
> Jan Zmitko
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
> For additional commands, e-mail: fop-user-help@xml.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org