jeremias    2002/06/26 13:36:53

  Modified:    src/org/apache/fop/render/pdf Tag: fop-0_20_2-maintain
                        PDFRenderer.java
  Log:
  Fix: Allow for fractional font sizes
  Submitted by: Björn Lütkemeier
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.91.2.5  +2 -2      xml-fop/src/org/apache/fop/render/pdf/PDFRenderer.java
  
  Index: PDFRenderer.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/render/pdf/PDFRenderer.java,v
  retrieving revision 1.91.2.4
  retrieving revision 1.91.2.5
  diff -u -r1.91.2.4 -r1.91.2.5
  --- PDFRenderer.java  7 Jun 2002 20:12:35 -0000       1.91.2.4
  +++ PDFRenderer.java  26 Jun 2002 20:36:52 -0000      1.91.2.5
  @@ -622,7 +622,7 @@
   
                   this.currentFontName = name;
                   this.currentFontSize = size;
  -                pdf = pdf.append("/" + name + " " + (size / 1000) + " Tf\n");
  +                pdf = pdf.append("/" + name + " " + ((float)size / 1000) + " Tf\n");
               }
   
               //Do letter spacing (must be outside of [..] TJ)
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to