lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: guile-2.0 and debian


From: Antonio Ospite
Subject: Re: guile-2.0 and debian
Date: Tue, 22 Nov 2016 22:52:08 +0100

On Mon, 21 Nov 2016 10:49:07 +0100
David Kastrup <address@hidden> wrote:

> Thomas Morley <address@hidden> writes:
> 
> > 2016-11-20 23:23 GMT+01:00 Antonio Ospite <address@hidden>:
> >> On Sun, 20 Nov 2016 22:07:39 +0100
> >> Antonio Ospite <address@hidden> wrote:
> >>
> >>> On Sun, 20 Nov 2016 01:12:59 +0100
> >>> Thomas Morley <address@hidden> wrote:
> >>>
> >> [...]
> >>> > Well, this example gives a gs-error again:
> >>> >
> >>> > \header { title = "ちりぬるを)" } \markup \null
> >>> >
> >>>
> >>> The problem here is that, when writing to the postscript file, the
> >>> escaping is (mistakenly) done before the encoding, so the escaped "\)"
> >>> gets represented in UTF-16 as "address@hidden@)" which makes the ')' not 
> >>> really
> >>> escaped anymore and ghostscript fails.
> >>>
> >>> I'll try to come up with a better solution for this problem.
> >>>
> >>
> >> I think I got it this time. David?
> 
> In general I think you are better off reverting to "bytevectors" for
> most of our purposes since they don't result in unnecessary conversions.
> But they really require at least Guile 2.0.12 in order to not have some
> showstopper bugs interfering.
>

Thanks, at the end I settled on this change:
https://ao2.it/tmp/lilypond-guile2/patches_2016-11-22/0010-Fix-the-encoding-of-the-PDF-metadata-when-using-guil.patch
and now ly:encode-string-for-pdf works with guile-2.0, and I didn't
need to complicate scm/framework-ps.scm even further.

Ciao,
   Antonio

-- 
Antonio Ospite
https://ao2.it
https://twitter.com/ao2it

A: Because it messes up the order in which people normally read text.
   See http://en.wikipedia.org/wiki/Posting_style
Q: Why is top-posting such a bad thing?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]