> Le 26 juil. 2022 à 23:00, Jean Abou Samra <j...@abou-samra.fr> a écrit :
>
>
>
>> Le 26 juil. 2022 à 21:52, Jean Abou Samra <j...@abou-samra.fr> a écrit :
>>
>>
>>
>>>> Le 26 juil. 2022 à 20:34, William Rehwinkel <will...@williamrehwinkel.net>
>>>> a écrit :
>>>
>>> Hey everybody,
>>>
>>> For an application I'm working on, I have lilypond outputting cropped SVG
>>> incipits for user-inputted text, with safe mode enabled. Although
>>> everything is working for now, the output is a little large and I would
>>> like to scale down the score if possible.
>>>
>>> Before now, I used cropped png images instead of vector graphics for this
>>> purpose, and did this via lilypond -dbackend=eps -dsafe -dresolution=57
>>> --png ...
>>>
>>> I tried setting #(set-global-staff-size 14) but that doesn't seem to make a
>>> difference, either because of safe mode or SVG output.
>>>
>>> Is there a way that I can do this? Anything that can be changed about the
>>> input file or command-line call of lilypond to make this change, I can do,
>>> if needed.
>>>
>>> Thanks,
>>>
>>> -William
>>>
>>> --
>>> William Rehwinkel
>>>
>>> will...@williamrehwinkel.net
>>> https://williamrehwinkel.net
>>
>>
>>
>> (Off-list, please keep private) If you are accepting user-generated input, I
>> strongly recommend not to rely on -dsafe. Although I haven’t had the time to
>> address this so far (and I suspect it is not possible), I have found several
>> breaches in it that make exploiting it easy. One of them was even discussed
>> publicly some time ago on the lilypond-devel list. Instead, use --jail or
>> some kind of contenerization.
>>
>
> *containerization
<facepalm> My mail client was’t kind to me and sent that to the list. Oh well.
I guess there’s not much new info in this anyway.