On this page:
double
°
pi/  2
pi/  3
pi/  4
pi/  6
2pi
string->text
unicode

8 Utilities

 (require sfont/utilities) package: sfont

procedure

(double n)  real?

  n : real?
Doubles a number.

procedure

(° d)  real?

  d : real?
Convert degrees in radians.

value

pi/2 : real?

value

pi/3 : real?

value

pi/4 : real?

value

pi/6 : real?

value

2pi : real?

Common angles.

procedure

(string->text str)  (listof (listof symbol?))

  str : string?
Produces a ’text’ that can be used with display-text:

(display-text (string->text "Straße"))

procedure

(unicode n)  (listof natural-number/c)

  n : name/c
Produces a list of Unicode codes for a given name (using the Adobe Glyph List).