lilypond-user
[Top][All Lists]
Advanced

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

Re: feature request: abs-fontsize available for all text grobs


From: Jan-Peter Voigt
Subject: Re: feature request: abs-fontsize available for all text grobs
Date: Thu, 01 Aug 2013 15:21:08 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130623 Thunderbird/17.0.7

Hi Kieren,

I did some checks on the absolute font-sizes:
- If you do a stencil-add on a stencil created via grob-interpret-markup and interpret-markup inside a normal markup, they exactly match- - If you do a pixel by pixel compare (I did in gimp) a Lyric markup with an abs-font-size with different global-staff-sizes, they also match ... ... but you have to move the letter. IMO this is reasonable, because different staff-sizes mean different scaling of anything else but these absolute scaled fonts. Now if you import a simple PDF with a single 'X' 42pt into Libre/OpenOffice, it will show the found font-sizes of the text-objects. If you create the PDF with LibreOffice Century Schoolbook L 42pt and reimport that PDF, you will have exactly 42pt. If you create PDF files with an absolute-font-size of 42pt, it will result in 41,9pt in the reimported file - regardless of the global-staff-size. AFAICS the font-size is absolute, but there seems to be a calculation inaccuracy of 0.1pt.

Best, Jan-Peter



Am 01.08.2013 06:33, schrieb Kieren MacMillan:
Here's a side-by-side comparison with the default staff size (on the right) and set-global-size 25 (on the left), each blown up to 600% in a PDF viewer:


Attachment: grob-interpret-markup-abs-fontsize3.ly
Description: Text Data

Attachment: abs-font-size-14.ly
Description: Text Data

Attachment: abs-font-size-24.ly
Description: Text Data


reply via email to

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