You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by je...@apache.org on 2003/03/15 17:49:58 UTC

cvs commit: xml-fop/src/java/org/apache/fop/layout FontInfo.java

jeremias    2003/03/15 08:49:58

  Modified:    src/java/org/apache/fop/layout FontInfo.java
  Log:
  Fix font lookup when font was found through weight-adjust.
  
  Revision  Changes    Path
  1.2       +3 -1      xml-fop/src/java/org/apache/fop/layout/FontInfo.java
  
  Index: FontInfo.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/java/org/apache/fop/layout/FontInfo.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- FontInfo.java	11 Mar 2003 13:05:14 -0000	1.1
  +++ FontInfo.java	15 Mar 2003 16:49:58 -0000	1.2
  @@ -164,7 +164,9 @@
               }
   
               // then use default
  -            f = (String)triplets.get(DEFAULT_FONT);
  +            if (f == null) {
  +                f = (String)triplets.get(DEFAULT_FONT);
  +            }
   
           }
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-cvs-help@xml.apache.org