FW: Having trouble with font family
"Sharmila Pandith"<[email protected]> Wed, 2 Oct 2002 21:03:19 UT
| Newsgroups | gmane.text.xml.jfor.general |
|---|---|
| Message-ID | <[email protected]> |
I have the following in my xsl:fo:
<fo:block font-family="Arial Black, Helvetica">Sharmila Pandith - Arial Black 12</fo:block>
<fo:block font-family="Arial Narrow, Helvetica">Sharmila Pandith - Arial Narrow 12</fo:block>
<fo:block font-family="Book Antiqua, Times">Sharmila.Pandith - Book Antiqua 12</fo:block>
<fo:block font-family="Century Gothic, Helvetica">Sharmila Pandith - Century Gothic</fo:block>
<fo:block font-family="Comic Sans MS,">Sharmila Pandith - Comic Sans MS 12</fo:block>
<fo:block font-family="Courier, Courier">Sharmila Pandith - Courier 12</fo:block>
The above format is in conformance with w3c.org: http://www.w3.org/TR/REC-CSS2/fonts.html#propdef-font-family
Here is the output when I run the file thru' JFor:
{\rtf1 \ansi {\*\userprops {\propname jforVersion}\proptype30 {\staticval jfor V0.7.1 - see http://www.jfor.org}}{\colortbl; \red0\green0\blue0;\red255\green255\blue255;\red255\green0\blue0;\red0\green255\blue0;\red0\green0\blue255;\red0\green255\blue255;\red255\green0\blue255;\red255\green255\blue0;\red0\green0\blue128;\red0\green128\blue128;\red0\green128\blue0;\red128\green0\blue128;\red128\green0\blue0;\red128\green128\blue0;\red128\green128\blue128;\red192\green192\blue192;}{\fonttbl; {\f0 arial}{\f1 symbol}{\f2 times new roman}{\f3 arial, helvetica}{\f4 arial black, helvetica}{\f5 arial narrow, helvetica}{\f6 book antiqua, times}{\f7 century gothic, helvetica}{\f8 comic sans ms, }{\f9 courier, courier}{\f10 courier new, courier}{\f11 fixedsys, courier}{\f12 garamond, times}{\f13 georgia, times}{\f14 haettenschweiler, helvetica}{\f15 impact, helvetica}{\f16 lucida console, courier}}\paperw12240 \paperh15840 \paperw12240 \paperh15840 \paperw12240 \paperh15840 \sectd {\qc!
{Novosoft RTF2FO [evaluation version]}\par }{\ql {\f4 Sharmila Pandith - Arial Black 12}\par }{\ql {\f5 Sharmila Pandith - Arial Narrow 12}\par }{\ql {\f6 Sharmila.Pandith - Book Antiqua 12}\par }{\ql {\f7 Sharmila Pandith - Century Gothic}\par }{\ql {\f8 Sharmila Pandith - Comic Sans MS 12}\par }{\ql {\f9 Sharmila Pandith - Courier 12}\par }\sect \sectd {\qc {Novosoft RTF2FO [evaluation version]}\par }{\ql {Sharmila Pandith - Courier New -2}\par }\sect \sectd {\qc {Novosoft RTF2FO [evaluation version]}\par }{\ql {Sharmila Pandith - FixedSys 9}\par }{\ql {\fs24 \f12 Sharmila Pandith - Garamond 12}\par }{\ql {\fs24 \f13 Sharmila Pandith - Georgia 12}\par }{\ql {\fs24 \f14 Sharmil. Pandith - Haettenschweiler 12}\par }{\ql {\fs24 \f15 Sharmila Pandith - Impact 12}\par }{\ql {\fs24 \f16 Sharmila Pandith - Lucinda Console 12}\par }{\ql {\*\bkmkstart end}{\*\bkmkend end}\par }\sect }
I took the output from jfor put it into notepad and saved it with an rtf extension. When I open it in Wordpad all my text is in default wordpad font. When I put the cursor on say "Sharmila Pandith - Arial Black 12", I can see "arial black, helvetica" in the font drop down box. I guess that is the reason Wordpad displays the text with its default font and not Arial Black.
Does anyone know why this is happening? Can you please help me out on this?
S P
----- End Forwarded Message -----
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf