You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
typesetting/quad/quad2/main.rkt

15 lines
409 B
Racket

3 years ago
#lang debug racket/base
3 years ago
(require "compile.rkt" "render.rkt" "quad.rkt" racket/string)
3 years ago
(define drawing-insts (parameterize ([current-wrap-width 6])
3 years ago
(quad-compile-to-stack "Hello this is the earth")))
(displayln (string-replace drawing-insts "\n" " "))
3 years ago
(render-to-text drawing-insts)
3 years ago
(render-to-bitmap drawing-insts)
3 years ago
#;(render-to-html drawing-insts)
3 years ago
#;(render-to-pdf drawing-insts)