Font problem when viewing XML file in IE

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nit22
    New Member
    • Jan 2007
    • 7

    Font problem when viewing XML file in IE

    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
  • jkmyoung
    Recognized Expert Top Contributor
    • Mar 2006
    • 2057

    #2
    Really need some sort of link to the sample. Also it could be a printer issue, what printer are you using?

    Comment

    • nit22
      New Member
      • Jan 2007
      • 7

      #3
      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:styleshe et xmlns:xsl="http ://www.w3.org/1999/XSL/Transform"
      xmlns:html="htt p://www.w3.org/1999/XSL/Format"
      version='2.0'>
      <xsl:output method='html'/>
      <xsl:template match="p">
      <p style="font-size:11pt;font-family:AGaramon dPro-Bold">
      <xsl:apply-templates/>
      </p>
      </xsl:template>
      </xsl:stylesheet>


      I am using Adobe PDF printer

      Comment

      Working...