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.
16 lines
719 B
Racket
16 lines
719 B
Racket
#lang racket
|
|
(require racket/runtime-path)
|
|
(provide (all-defined-out))
|
|
|
|
(define-syntax-rule (r+p ID ...)
|
|
(begin (require ID ...) (provide (all-from-out ID ...))))
|
|
|
|
(define index? (λ (x) (and (number? x) (integer? x) (not (negative? x)))))
|
|
|
|
(define-runtime-path charter-path "assets/charter.ttf")
|
|
(define-runtime-path charter-italic-path "assets/charter-italic.ttf")
|
|
(define-runtime-path fira-path "assets/fira.ttf")
|
|
(define-runtime-path fira-otf-path "assets/fira.otf")
|
|
(define-runtime-path charter-directory-path "assets/charter-directory.rktd")
|
|
(define-runtime-path charter-italic-directory-path "assets/charter-italic-directory.rktd")
|
|
(define-runtime-path fira-otf-directory-path "assets/fira-otf-directory.rktd") |