Connecting Tech Pros Worldwide Help | Site Map

Font problem when viewing XML file in IE

Newbie
 
Join Date: Jan 2007
Location: Chennai
Posts: 7
#1: Aug 5 '08
Hi,

I have created stylesheet to view the XML file in IE-6. I'm using "font-family" value like FairfieldLH-Bold, FairfieldLH-FairfieldLH-Medium etc. These fonts are Type-1 fonts.

I can see the file in browser without any issue. But when I took the print using File->print, there is duplication of text appears. ie. end of the word in the line repeated to the next line.

Regards,
nit22
Moderator
 
Join Date: Mar 2006
Posts: 1,103
#2: Aug 6 '08

re: Font problem when viewing XML file in IE


Really need some sort of link to the sample. Also it could be a printer issue, what printer are you using?
Newbie
 
Join Date: Jan 2007
Location: Chennai
Posts: 7
#3: Aug 7 '08

re: Font problem when viewing XML file in IE


It's my sample XML
----------------------------

<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="test.xsl" type="text/xsl"?>
<book>
<p>More than 2 million people die each year in the United States, of which 80% die in hospitals. Nurses who work in hospitals have expressed a feeling of inadequate preparation and lack of knowledge in supporting families and patients in end-of-life issues...</p>
</book>



It's my Stylesheet
--------------------------------------
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:html="http://www.w3.org/1999/XSL/Format"
version='2.0'>
<xsl:output method='html'/>
<xsl:template match="p">
<p style="font-size:11pt;font-family:AGaramondPro-Bold">
<xsl:apply-templates/>
</p>
</xsl:template>
</xsl:stylesheet>


I am using Adobe PDF printer
Reply


Similar XML bytes