(add users@ back) On Tue, Aug 18, 2015 at 3:40 PM, Robby Findler <ro...@eecs.northwestern.edu> wrote: > On Tue, Aug 18, 2015 at 3:33 PM, Paul van der Walt > <paul.vanderw...@inria.fr> wrote: >> >> On 2015-08-18 at 22:02, quoth Robby Findler: >>> What happens when you run this program? Do you see the white brackets >>> at either (10,10) or (10,60) in the resulting window? >> >> I see two pairs of brackets. They're black on a white frame, though. >> Confirmed working in racket-mode and DrRacket. > > Okay, when you run this program, it will create "tmp.pdf". Does it > contain the same two pairs of white brackets? > > Robby > > #lang racket/gui > > (define (draw dc) > (send dc set-font (send the-font-list find-or-create-font 12 > 'default 'normal 'normal)) > (send dc draw-text "\u27e6\u27e7" 10 10) > (send dc set-font (send the-font-list find-or-create-font 12 > "Liberation Sans" 'default 'normal 'normal)) > (send dc draw-text "\u27e6\u27e7" 10 60)) > > (define dc (new pdf-dc% [interactive #f] [output "tmp.pdf"])) > (send dc start-doc "") > (send dc start-page) > (draw dc) > (send dc end-page) > (send dc end-doc)
-- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.