You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to use Source Code Pro as the font for nonterminals, the font is correctly rendered in the output of the racket REPL, but when outputting as pdf then a different font is used in the pdf, namely Source Code Variable with weight ExtraLight.
My OS is macOS Ventura 13.4.1, running Racket 8.9 [cs].
A nearly minimal example to reproduce the issue. Some of the style modifications are undoubtedly redundant since they do not affect nonterminals, but this is the actual configuration that I am using in a project (which may be relevant). If needed, the used fonts can be acquired here: Source Code Pro and CMU Serif.
Below is some code that demonstrates the issue just at the level of pict and racket/gui.
I see that changing the weight does change the output of the pict in the REPL but not in the PDF file so I wonder if the recent changes to racket/draw need more changes?
When I try to use
Source Code Pro
as the font for nonterminals, the font is correctly rendered in the output of the racket REPL, but when outputting as pdf then a different font is used in the pdf, namelySource Code Variable
with weightExtraLight
.My OS is macOS Ventura 13.4.1, running Racket 8.9 [cs].
A nearly minimal example to reproduce the issue. Some of the style modifications are undoubtedly redundant since they do not affect nonterminals, but this is the actual configuration that I am using in a project (which may be relevant). If needed, the used fonts can be acquired here:
Source Code Pro
andCMU Serif
.Pictures of the issue:
Correct font for the
READ
andWRITE
terminals:Incorrect font for the
READ
andWRITE
terminals:The text was updated successfully, but these errors were encountered: