Re: Imprecise font scaling

2024-02-15 Thread Alexander Slávik
Perhaps it might be worth clarifying what sort of "pt" does LilyPond use. Or did I just overlook this information? For instance, run \version "2.25.12" \pointAndClickOff \header { tagline = "" } \paper { text-font-size = 12 } \markup { LOL } and either use -dbackend=cairo --eps, or

Re: Imprecise font scaling

2024-02-15 Thread Alexander Slávik
" Actually "NR 4.2.2 Setting the staff size" kind of document it: The default staff size is 20 points, which corresponds to a staff height of 7.03mm (one point is equal to 100/7227 of an inch, or 2540/7227 mm). " Thanks! Even more info on the units can be found "5.4.2 Distances and

Re: Imprecise font scaling

2024-02-15 Thread Alexander Slávik
This is perhaps not the best place to discuss that, but thinking about it, I don't understand why text-font-size is dimensionless (when it actually does have a dimension). Wouldn't text-font-size = 12 \pt be more intuitive (and, at the same time, allowing also other units)? AS

Re: Imprecise font scaling

2024-02-10 Thread Alexander Slávik
" …expects an integer size scaled by PANGO_SCALE, which is 1024. That is, we are limited to a precision of 1/1024 points on the font size. " An "evidence" for this might be that the difference 7.73242188 - 7.73046876 is pretty close to 2/1024. AS

Re: Imprecise font scaling

2024-02-17 Thread Alexander Slávik
> https://gitlab.com/lilypond/lilypond/-/merge_requests/2258 Great, thanks! AS

Incorrect transposition via musicxml2ly

2024-01-07 Thread Alexander Slávik
= "PartPOneVoiceOne" {\transpose c d  \voiceOne \ PartPOneVoiceOne } where the \transpose has no effect (\voiceOne should come before \ transpose). Tested using the musicxml2ly script coming with 2.25.12 and 2.24.0. Thanks! Alexander Slávik http://www.musicxml.org/dtds/pa

Re: Incorrect transposition via musicxml2ly

2024-01-28 Thread Alexander Slávik
Seems like this didn't get much attention… AS

Re: Incorrect transposition via musicxml2ly

2024-01-28 Thread Alexander Slávik
> I can write this up as an issue unless you want to... Please do so; thanks! AS

Imprecise font scaling

2024-02-02 Thread Alexander Slávik
Hello, I'm running the following code \version "2.25.12" \markup { LOL } \markup { \magnify #2.0 LOL } and the results are not really precise. When producing --eps, the relevant output lines are /C059-Roman 3.86523438 output-scale div selectfont /C059-Roman 7.73242188 output-scale div