buildable not testable

main
Matthew Butterick 6 years ago
parent 8c15baf262
commit ebc8ddb911

@ -1,4 +1,6 @@
#lang pitfall/racket
#lang at-exp racket/base
(require "racket.rkt")
(provide AFMFont AFMFont-open)
(define AFMFont

@ -1,4 +1,6 @@
#lang pitfall/racket
#lang racket/base
(require "racket.rkt")
(provide annotation-mixin)
(define (annotation-mixin [% mixin-tester%])

@ -1,4 +1,6 @@
#lang pitfall/racket
#lang racket/base
(require "racket.rkt")
(require sugar/list)
(provide binprint)

@ -1,4 +1,6 @@
#lang pitfall/racket
#lang racket/base
(require "racket.rkt")
(provide color-mixin)
(define (color-mixin [% mixin-tester%])

@ -1,4 +1,6 @@
#lang pitfall/racket
#lang at-exp racket/base
(require "racket.rkt")
(require "reference.rkt" "object.rkt" "page.rkt")
(require "vector.rkt" "color.rkt" "fonts.rkt" "text.rkt" "images.rkt" "annotations.rkt")
(provide PDFDocument)

@ -1,4 +1,6 @@
#lang pitfall/racket
#lang racket/base
(require "racket.rkt")
(require "font.rkt" fontland "reference.rkt")
(provide EmbeddedFont)

@ -1,4 +1,6 @@
#lang pitfall/racket
#lang racket/base
(require "racket.rkt")
(require "standard-font.rkt" "font.rkt" fontland "embedded.rkt")
(provide PDFFont-open)

@ -1,4 +1,6 @@
#lang pitfall/racket
#lang racket/base
(require "racket.rkt")
(require "reference.rkt")
(provide PDFFont)

@ -1,4 +1,6 @@
#lang pitfall/racket
#lang racket/base
(require "racket.rkt")
(require "font.rkt" "font-open.rkt")
(provide fonts-mixin)

@ -1,4 +1,6 @@
#lang pitfall/racket
#lang racket/base
(require "racket.rkt")
(require "jpeg.rkt" "png.rkt")
(provide PDFImage-open)

@ -1,4 +1,6 @@
#lang pitfall/racket
#lang racket/base
(require "racket.rkt")
(require "image.rkt")
(provide image-mixin)

@ -1,4 +1,6 @@
#lang pitfall/racket
#lang racket/base
(require "racket.rkt")
(provide JPEG)
(define MARKERS '(#xffc0 #xffc1 #xffc2 #xffc3 #xffc5 #xffc6 #xffc7

@ -1,3 +1,5 @@
#lang pitfall/racket
#lang racket/base
(require "racket.rkt")
(require "document.rkt")
(provide (all-from-out "document.rkt"))

@ -1,5 +1,7 @@
#lang pitfall/racket
(require srfi/19)
#lang racket/base
(require "racket.rkt")
(require (only-in srfi/19 date->string))
(provide PDFObject convert)
(define PDFObject

@ -1,4 +1,6 @@
#lang pitfall/racket
#lang racket/base
(require "racket.rkt")
(provide PDFPage)
(define PDFPage

@ -1,4 +1,6 @@
#lang pitfall/racket
#lang racket/base
(require "racket.rkt")
(require brag/support sugar/list)
(provide parse-svg-path)

@ -1,5 +1,7 @@
#lang pitfall/racket
(provide (all-from-out pitfall/racket))
#lang racket/base
(require "racket.rkt")
(provide (all-from-out "racket.rkt"))
(provide check-copy-equal? check-pdfkit? make-doc)
(test-mode #t)

@ -1,4 +1,6 @@
#lang pitfall/racket
#lang racket/base
(require "racket.rkt")
(require "zlib.rkt")
(provide read-png decodePixels)

@ -1,4 +1,6 @@
#lang pitfall/racket
#lang racket/base
(require "racket.rkt")
(require "png-reader.rkt" "zlib.rkt")
(provide PNG)

@ -1,4 +1,6 @@
#lang pitfall/racket
#lang racket/base
(require "racket.rkt")
(require "object.rkt" "zlib.rkt")
(provide PDFReference)

@ -1,4 +1,6 @@
#lang pitfall/racket
#lang racket/base
(require "racket.rkt")
(require "afm-font.rkt" "font.rkt" fontland)
(require racket/runtime-path)
(provide isStandardFont standard-fonts StandardFont)

@ -1,4 +1,6 @@
#lang pitfall/racket
#lang racket/base
(require "racket.rkt")
(require sugar/list racket/promise)
(provide text-mixin)

@ -1,4 +1,6 @@
#lang pitfall/racket
#lang racket/base
(require "racket.rkt")
(require "path.rkt")
(provide vector-mixin default-ctm-value)

@ -1,4 +1,6 @@
#lang pitfall/racket
#lang racket/base
(require "racket.rkt")
(provide deflate inflate)
;; see https://groups.google.com/d/topic/racket-users/3CvjHLAmwSQ/discussion

@ -1,4 +1,5 @@
#lang pitfall/pdftest
#lang racket/base
(require pitfall/pdftest)
(define-runtime-path this "test0rkt.pdf")
(make-doc this #f)

@ -1,4 +1,5 @@
#lang pitfall/pdftest
#lang racket/base
(require pitfall/pdftest)
(define (proc doc)
(send* doc

@ -1,4 +1,5 @@
#lang pitfall/pdftest
#lang racket/base
(require pitfall/pdftest)
(define (proc doc)
;; Draw a triangle and a circle

@ -1,4 +1,5 @@
#lang pitfall/pdftest
#lang racket/base
(require pitfall/pdftest)
(define-runtime-path tiger "assets/tiger.json")

@ -1,4 +1,5 @@
#lang pitfall/pdftest
#lang racket/base
(require pitfall/pdftest)
(define (proc doc)
(send* doc

@ -1,4 +1,5 @@
#lang pitfall/pdftest
#lang racket/base
(require pitfall/pdftest)
(define-runtime-path charter-path "assets/charter.ttf")

@ -1,4 +1,5 @@
#lang pitfall/pdftest
#lang racket/base
(require pitfall/pdftest)
(define-runtime-path charter-path "assets/charter.ttf")

@ -1,4 +1,5 @@
#lang pitfall/pdftest
#lang racket/base
(require pitfall/pdftest)
;; subset font with GPOS table
(define-runtime-path ttf-path "assets/fira.ttf")

@ -1,4 +1,5 @@
#lang pitfall/pdftest
#lang racket/base
(require pitfall/pdftest)
;; test kerning from GPOS

@ -1,4 +1,5 @@
#lang pitfall/pdftest
#lang racket/base
(require pitfall/pdftest)
;; test ligatures (GSUB parsing + substitution)

@ -1,4 +1,5 @@
#lang pitfall/pdftest
#lang racket/base
(require pitfall/pdftest)
;; test ligatures (multiple ligs in a line)

@ -1,4 +1,5 @@
#lang pitfall/pdftest
#lang racket/base
(require pitfall/pdftest)
;; multiple lines

@ -1,4 +1,5 @@
#lang pitfall/pdftest
#lang racket/base
(require pitfall/pdftest)
;; subset font with GPOS table
(define-runtime-path ttf-path "assets/fira.ttf")

@ -1,4 +1,5 @@
#lang pitfall/pdftest
#lang racket/base
(require pitfall/pdftest)
(define (proc doc)

@ -1,4 +1,5 @@
#lang pitfall/pdftest
#lang racket/base
(require pitfall/pdftest)
;; subset OTF font
(define-runtime-path otf-path "assets/charter.otf")

@ -1,4 +1,5 @@
#lang pitfall/pdftest
#lang racket/base
(require pitfall/pdftest)
(define (proc doc)
(send doc text "Hello world"))

@ -1,4 +1,5 @@
#lang pitfall/pdftest
#lang racket/base
(require pitfall/pdftest)
(define (proc doc)
(send* doc

@ -1,4 +1,5 @@
#lang pitfall/pdftest
#lang racket/base
(require pitfall/pdftest)
(define-runtime-path death "assets/death.png")

@ -1,4 +1,5 @@
#lang pitfall/pdftest
#lang racket/base
(require pitfall/pdftest)
(define (proc doc)
(send* doc

@ -1,4 +1,5 @@
#lang pitfall/pdftest
#lang racket/base
(require pitfall/pdftest)
(define-runtime-path test-jpeg "assets/test.jpeg")

@ -1,4 +1,5 @@
#lang pitfall/pdftest
#lang racket/base
(require pitfall/pdftest)
(define-runtime-path pic "assets/test.png")

Loading…
Cancel
Save