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: Mon, 21 Nov 2016 13:09:53 +0100

On Mon, 21 Nov 2016 10:59:17 +0100
Thomas Morley <address@hidden> wrote:

> 2016-11-21 10:49 GMT+01:00 Antonio Ospite <address@hidden>:
> 
> > Can I look at your ./56/lily-44b4b5eb.eps file?
> 
> Here you are.
> 

The problem is that there are still some numbers formatted with commas
as decimal points when producing EPS: it shows in the standalone
command line too if you use '-dbackend=eps'.

The following change fixes it:

---------------------------------------------------------------------
diff --git a/ly/init.ly b/ly/init.ly
index 58b2fac..8fdc6e2 100644
--- a/ly/init.ly
+++ b/ly/init.ly
@@ -9,7 +9,8 @@
 #(if (guile-v2)
   (begin
    (use-modules (ice-9 curried-definitions))
-   (setlocale LC_ALL "")))
+   (setlocale LC_ALL "")
+   (setlocale LC_NUMERIC "C")))

 #(session-initialize
   (lambda ()
---------------------------------------------------------------------

And this will also replace my previous ugly attempt of messing around
with LC_NUMERIC in lily/general-scheme.cc.

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]