Re: [afp-renderer-developers] outline fonts
                
                Brought to you by:
                
                    towny,
                    
                
                    tumbarumba
                    
                
            
            
        
        
        
    | 
      
      
      From: Keith H. <ke...@ke...> - 2006-04-21 14:26:07
      
     | 
| Thanks Joe,
Got it building fine now and generating afps nicely. There were a  
couple of tweaks needed to get it to work with the latest version of  
Fop trunk, but there's no point submitting patches I guess with  
everything on the move. Looking forward to seeing the code in that  
sandbox.
Cheers,
Keith
>
> If you want to try it out the procedure is roughly:
>
> 1. Download fop trunk
> 2. Put the AFP renderer sources into
> ${fop-trunk}/src/sandbox/org/apache/fop/render/afp
> 3. Add the the line
> org.apache.fop.render.afp.AFPRendererMaker
> to the file
> ${fop-trunk}/src/sandbox/META-INF/services/ 
> org.apache.fop.render.Renderer
> 4. Add these lines
>     /** IBM's AFP */
>     String MIME_AFP             = "application/x-afp";
>     /** IBM's AFP (alternative MIME type) */
>     String MIME_AFP_ALT         = "application/vnd.ibm.modcap";
> to
> ${fop-trunk}/src/java/org/apache/fop/apps/MimeTypes.java
>
 |