Bug #: 52966
           Summary: How to use native text with EPSDocumentGraphics2D
           Product: Fop
           Version: all
          Platform: PC
        OS/Version: Mac OS X 10.4
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ps
    Classification: Unclassified

Created attachment 28494
an example to test

As reported recently in the users mailing list the code:

OutputStream out = new FileOutputStream("mini-test.eps");
EPSDocumentGraphics2D g2d = new EPSDocumentGraphics2D(false);
g2d.setGraphicContext(new GraphicContext());
g2d.setCustomTextHandler(new NativeTextHandler(g2d, null));
g2d.setupDocument(out, 200, 100);
g2d.setFont(new Font("Helvetica", Font.PLAIN, 12));
g2d.drawString("Hi there", 50, 50);

generates invalid EPS files.

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to