Class PrintDirectionInterceptor

  • All Implemented Interfaces:
    Closeable, AutoCloseable

    public class PrintDirectionInterceptor
    extends InputStream
    This works around a bug in dtmo-jfiglet 1.0.0 that renders text by default right-to-left instead of left-to-right. See GitHub issue Default print direction. This class can be removed when the bug is fixed.

    If the font does not define a print direction, this interceptor inserts the default left-to-right print direction.