racket/draw cocoa: adjust default 'script font
Also, adjust the way a font is converted for control labels to strp away Pango descriptions.
This commit is contained in:
parent
2d2f013465
commit
418a3cd83b
|
@ -26,7 +26,8 @@
|
|||
find-family-default-font-id
|
||||
(send f get-family))
|
||||
weight
|
||||
style))])
|
||||
style))]
|
||||
[name (regexp-replace #rx",.*" name "")])
|
||||
(atomically
|
||||
(with-autorelease
|
||||
(let ([f (tell NSFont
|
||||
|
|
|
@ -60,7 +60,7 @@
|
|||
[(windows) "Arial"]
|
||||
[else "Helvetica"])]
|
||||
[(script) (case (system-type)
|
||||
[(macosx) "Apple Chancery"]
|
||||
[(macosx) "Apple Chancery, Italic"]
|
||||
[else "Chancery"])]
|
||||
[(symbol) "Symbol"]
|
||||
[else (case (system-type)
|
||||
|
|
Loading…
Reference in New Issue
Block a user