bug-lilypond
[Top][All Lists]
Advanced

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

Re: SVG <tspan> with leading/trailing spaces should use non-break spaces


From: James Lowe
Subject: Re: SVG <tspan> with leading/trailing spaces should use non-break spaces
Date: Sat, 21 Nov 2015 08:25:53 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0

Hello,

On 20/11/15 21:15, Ophir Lifshitz wrote:
> Hello,
>
> Has anyone been able to repro this bug?

On latest unstable (2.19.31) this does not seem to happen (and I get
your 'correct' example).

James

>
> Thanks,
> Ophir
>
> On Mon, Nov 2, 2015 at 7:27 PM, Ophir Lifshitz <address@hidden>
> wrote:
>
>> Hello all,
>>
>> Here is the MWE:
>>
>> $ echo '\version "2.18.2" { \tempo "Foo" 4 = 20 b }' | lilypond
>> -dbackend=svg -o foo -
>>
>> It seems the easiest way to fix this is to render <tspan> elements with
>> leading or trailing spaces converted to non-break spaces:
>>
>> Incorrect: <tspan> = 20</tspan>
>> Correct: <tspan>&nbsp;= 20</tspan>
>>
>> See attached screenshots.
>>
>> Thanks,
>> Ophir
>>
> _______________________________________________
> bug-lilypond mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/bug-lilypond
>
>


-- 
James

-------

B8F4 5395 CBE2 ED37 7513 B075 FF32 5682 A84B D8BE




reply via email to

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