[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
meta-data with guile2
From: |
Thomas Morley |
Subject: |
meta-data with guile2 |
Date: |
Sat, 19 Nov 2016 13:09:08 +0100 |
Hi,
this is a single problem from
http://lists.gnu.org/archive/html/lilypond-devel/2016-11/msg00090.html
about pdf-meta-data with guile2
In framework-ps.scm we have `metadata-encode' defined as part of
`handle-metadata'
There's the comment:
;; First, call ly:encode-string-for-pdf to encode the string (latin1 or
;; utf-16be), then escape all parentheses and backslashes
;; FIXME guile-2.0: use (string->utf16 str 'big) instead
`handle-metadata' finally returns
(ps-quote (ly:encode-string-for-pdf val))
Why did we do so at all?
In my (ofcourse limited) testings I see no difference doing directly:
(ps-quote val)
instead.
Thanks,
Harm
- meta-data with guile2,
Thomas Morley <=