Roland Quast

Show:

What's happening?

  • Comment: Fatal error with tcpdf_adapter.cls.php

    Correct me if I am wrong, but shouldn't this class be an abstract class if these methods aren't implemented?.

    2009-02-10 05:56:33 UTC in dompdf

  • Comment: SVG - number not positioned below barcode

    This is my SVGOutput drawText replacement so far... the only problem I have is that the text is about 5px too far right, and 3px too high. Could be something to do with the FontRendererContext? not really sure. public int drawText(String text, LabelLayout layout) throws OutputException { if(font == null) { return 0; } else { TextLayout textLayout = new TextLayout(text...

    2008-09-18 08:53:16 UTC in Barbecue - Java barcode generator

  • Comment: SVG - number not positioned below barcode

    I found the reason why this doesn't work. If you compare GraphicsOutput.java and SVGOutput.java, the implementation of drawText() is correct in GraphicsOutput and incorrect in SVGOutput. The key problem is that this line isn't being called: TextLayout layout = new TextLayout(text, font, g.getFontRenderContext()); labelLayout.setTextLayout(layout); This line calls the...

    2008-09-18 07:58:07 UTC in Barbecue - Java barcode generator

About Me

  • 2008-09-18 (1 year ago)
  • 2219573
  • rquast (My Site)
  • Roland Quast

Send me a message