Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default rendering font changed between Racket v8.8 and v8.9? #262

Closed
o6po5fcs opened this issue Jun 26, 2023 · 4 comments
Closed

Default rendering font changed between Racket v8.8 and v8.9? #262

o6po5fcs opened this issue Jun 26, 2023 · 4 comments

Comments

@o6po5fcs
Copy link

Between Racket v8.8 and Racket v8.9 the rendering of Redex changed. For example, the output of rendering my language CommonLang via the expression

(render-language CommonLang)

is as follows:

v8.9 looks like it is unintended, but I'm not sure. Since I am currently preparing a paper with a Redex formalism, which version has the correct font going forward which I should use to generate images?

@samth
Copy link
Member

samth commented Jun 26, 2023

8.8
image
8.9
image

@mflatt
Copy link
Member

mflatt commented Jun 26, 2023

Are you on macOS Monterey or later? If so, the relevant change is likely racket/draw@3e38f60, which brought the 'roman font back in line with earlier versions of macOS. (The commit message incorrectly says 'modern instead of 'roman.) Especially in that case, the new font is the intended one.

@rfindler
Copy link
Member

rfindler commented Jun 26, 2023 via email

@o6po5fcs
Copy link
Author

I am indeed on a macOS version greater than Monterey, which explains the sudden font change. I've since figured out how to properly customise the font via the *-style procedures in the Redex documentation.

As the submission target has no specific style guidelines for the submitted version, I am (at least for now) free to choose a matching set of fonts that don't look odd in the submission template.

Thanks everyone for the helpful comments!

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

No branches or pull requests

4 participants