I have this code
guile> (cairo-pdf-surface-create "foo.pdf" 100.0 100.0)
; and get this error
standard input:29:1: In procedure cairo-pdf-surface-create in expression (cairo-pdf-surface-create "foo.pdf" 100.0 ...):
standard input:29:1: Wrong type (expecting string): 100.0
ABORT: (wrong-type-arg)
and when I use strings as width and height
guile> (cairo-pdf-surface-create "foo.pdf" "100.0" "100.0")
Backtrace:
In standard input:
30: 0* [cairo-pdf-surface-create "foo.pdf" {"100.0"} "100.0"]
standard input:30:1: In procedure cairo-pdf-surface-create in expression (cairo-pdf-surface-create "foo.pdf" "100.0" ...):
standard input:30:1: Wrong type (expecting real number): "100.0"
Documentation says:
cairo-pdf-surface-create (filename <char>) [Function]
(width-in-points <double>) (height-in-points <double>)
⇒ (ret <cairo-surface-t>)