lilypond-user
[Top][All Lists]
Advanced

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

Re: Font problem


From: Michael Gerdau
Subject: Re: Font problem
Date: Fri, 18 Nov 2016 08:56:42 +0100
User-agent: KMail/5.3.3 (Linux/4.8.8-1-ARCH; KDE/5.28.0; x86_64; ; )

Hi Thiago,

> Michael, the actual sheet music (don't know the precise word in English,
> sorry) looks ok. But if I put any text, even change the time to a 3/4, it
> screws up. I tried changing the font size of the title. It doesn't work
> when I use #1 or fractions:
> 
> piece = \markup { \fontsize #1 \bold "PRAELUDIUM I" }
> 
> But if I put something like #30 I can see it is bigger because the whole
> top of the file becomes a black bar.

That's exactly the problem I'm experiencing on my system (Arch Linux
with KDE Plasma).

When you change your original sample code to e.g.

title = \markup { \fontsize #-20 "Test" }

you can see that the "T" is about the right size. But then the kerning
is scaled down and thus completely of.

> I suspect it is a PDF/font problem (though it also happens with PNG, but I
> don't know if the compiling proccess is the same). I'll keep trying ;-)

I don't think it is a PDF problem. I have not been able to detect any
other software having a problem with fonts and scaling whatsoever.

Creating my lilypond PDFs on any of my other systems (including Win10
and Mac Sierra) does not show this problem either, i.e. those PDFs are
displayed fine on the Arch Linux system.

The fact that this problem exists for both PNG and PDF to me suggests
it has nothing to do with PDF per se but with the rendering of characters
as done by lilypond.

Note I'm not saying there is a bug. However I suspect there is a setting
that somehow got changed on my and probably your system as well that
has a "character scaling" influence on the rendering process.

Unfortunately I'm not that knowledgeable with the finer details
involved in that process to actually dig into that. Or maybe I should
start to anyway...

Kind regards,
Michael
-- 
 Michael Gerdau       email: address@hidden
 GPG-keys available on request or at public keyserver

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

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