Skip to content

Conversation

@bdeket
Copy link
Contributor

@bdeket bdeket commented Mar 9, 2021

correct calculation text extents for (member anchor '(left center right))

minimal example:

#lang racket/base

(require plot)
(plot-background "lightblue")
(plot-x-label #f)
(plot-y-label #f)

(plot (polar (lambda (t) 1))
      #:x-min 4025584149602844706/10000000000000000000
      #:x-max 4025584149602844712/10000000000000000000
      #:y-min 6805367900508167/10000000000000000
      #:y-max 6805367900508171/10000000000000000
      #:width 400 #:height 200)

ext1

with PR
ext2

bdeket added 2 commits March 9, 2021 07:37
for (member anchor '(left center right))
(no changes in png at bit-level)
@alex-hhh alex-hhh merged commit 29d1394 into racket:master Mar 9, 2021
@alex-hhh
Copy link
Collaborator

alex-hhh commented Mar 9, 2021

Thanks for looking into this bug and submitting a fix.

@bdeket bdeket deleted the textextents branch March 9, 2021 12:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants