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/pitfall/ptest/test7.rkt

17 lines
414 B
Racket

#lang racket/base
(require pitfall/pdftest)
8 years ago
(define-runtime-path test-jpeg "assets/test.jpeg")
(define (proc doc)
6 years ago
[font doc "Times-Italic"]
[font-size doc 25]
[text doc "Here comes a JPEG!" 100 100 (hash 'lineBreak #f)]
[image doc test-jpeg 100 160 (hash 'width 412)])
8 years ago
(define-runtime-path this "test7rkt.pdf")
(make-doc this #f proc)
(define-runtime-path that "test7crkt.pdf")
(make-doc that #t proc)