Re: table border-collapse=collapse and borders

2010-03-22 Thread Red Light
Hi Pascal,

plz any link that explain this behavior  more in detail ?

and thanks

--- On Thu, 3/18/10, Pascal Sancho pascal.san...@takoma.fr wrote:

From: Pascal Sancho pascal.san...@takoma.fr
Subject: Re: table border-collapse=collapse  and borders
To: fop-users@xmlgraphics.apache.org fop-users@xmlgraphics.apache.org
Date: Thursday, March 18, 2010, 8:32 AM

Hi,

FOP atomic measurement is the millipoint (1/72000 in), witch give a
precision highly beyond the screen one (often 1/96 in):
the line can be drawn riding 2 pixels width, while its actual width is
about 1 pixel, so its screen rendering can depend on its position on the
screen grid.
If you zoom in (within the PDF viewer), the difference should disappear.

IMHO, there is no trouble when I see what you get.

Pascal



Red Light a écrit :
 hi,

 i got the following table  :

 fo:table  border-collapse=collapse border=1pt solid black 
 margin-top=6.0pt  table-layout=fixed width=100%  
       
        fo:table-column column-width=25% border-right=1pt solid
 black  /
         fo:table-column column-width=10% border-right=1pt solid
 black /
         fo:table-column column-width=25% border-right=1pt solid
 black /
       fo:table-column column-width=40%  /
    
       fo:table-header     
            fo:table-row   
           
              fo:table-cell   border-bottom=1pt solid black   
                    fo:block margin-top=4mm text-align=center 
 font-size=9.0pt font-family=Arial
                       xsl:textDegree Type/xsl:text
                    /fo:block
                /fo:table-cell           
              fo:table-cell   border-bottom=1pt solid black  
                   fo:block  text-align=center font-size=9.0pt 
 font-family=Arial                                  
                       xsl:textYear received or Expected/xsl:text
                   /fo:block                         
              /fo:table-cell
              fo:table-cell    border-bottom=1pt solid black 
                    fo:block  margin-top=4mm  text-align=center 
 font-size=9.0pt font-family=Arial 
                       xsl:textDisicpline/Field/Speciality/xsl:text
                    /fo:block
                /fo:table-cell
                fo:table-cell   border-bottom=1pt solid black 
                    fo:block margin-top=4mm text-align=center 
 font-size=9pt font-family=Arial 
                       xsl:textInstitution and Country/xsl:text
                    /fo:block
                /fo:table-cell
              /fo:table-row
       /fo:table-header
     fo:table-body 
       xsl:choose
         xsl:when  test=string(/academicBackground/degrees/degree)
                                                                      
           
                   xsl:for-each
 select=/academicBackground/degrees/degree
                  
       fo:table-row   
         fo:table-cell    
          fo:block margin-left=0.5mm font-size=11.0pt
 font-family=Times
             xsl:value-of select=degreeType/xsl:value-of
          /fo:block
         /fo:table-cell
         fo:table-cell   
             fo:block  margin-left=0.5mm font-size=11.0pt
 font-family=Times
                 xsl:value-of select=yearRecExp/xsl:value-of
             /fo:block
         /fo:table-cell
         fo:table-cell   
            fo:block margin-left=0.5mm  font-size=11.0pt
 font-family=Times
                 xsl:value-of select=discipline/xsl:value-of
             /fo:block
         /fo:table-cell
          fo:table-cell  
           fo:block margin-left=0.5mm  font-size=11.0pt
 font-family=Times 
                 xsl:value-of select=institutionCountry/xsl:value-of
             /fo:block
         /fo:table-cell
       /fo:table-row
       /xsl:for-each/xsl:when
       xsl:otherwise
         fo:table-row   
           fo:table-cell number-columns-spanned=4 
          fo:block color=white 
             xsl:textdata/xsl:text
          /fo:block
         /fo:table-cell
         /fo:table-row
       /xsl:otherwise
       /xsl:choose
     /fo:table-body
    /fo:table

 now the 3 borders  have exactly the same code but under a zoom of 100%
 in adobe they don't render the same way ; the 3 border (the one in the
 left of the text : institution country ) appear ticker !

 what i'm doing wrong ?

 and thanks




-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org




  

Re: RTF output: spaces added after { } \ characters

2010-03-22 Thread JoshC


cbowditch wrote:
 
 What version of FOP are you using? Can you attach a sample FO File that 
 can be used to demonstrate the issue?
 
 Thanks,
 
 Chris
 

I'm using FOP 0.95. I've attached a stripped down FO file that illustrates
the issue.
http://old.nabble.com/file/p27989770/test.fo test.fo 

When you generate the RTF file you'll notice a space after the { } and \
characters. Here's the command I'm using to generate the RTF file: fop
test.fo -rtf testoutput.rtf
-- 
View this message in context: 
http://old.nabble.com/RTF-output%3A-spaces-added-after-%7B-%7D-%5C-characters-tp27937568p27989770.html
Sent from the FOP - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



FOP 0.95 printing

2010-03-22 Thread Eric Douglas
How do I set up FOP 0.95 for printing a custom font?
I have a truetype font file and it works fine printing to PDF or a
preview window, but I can't get it to print directly to the printer.
If I use the PrintRenderer I can't figure out a way to tell it which
printer to print to.
If I use the PSRenderer it finds the right printer but of course it
doesn't work (yet?) with truetype fonts.
I don't seem to have a valid Type 1 font file and I don't know how I can
create one or where I could download one (free).