[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lilypond-user
Subject:    Re: Output PDF has different chord font than expected
From:       mayornancy <mayornancy () yahoo ! com>
Date:       2013-02-28 4:15:49
Message-ID: 1362024949.78439.YahooMailNeo () web161304 ! mail ! bf1 ! yahoo ! com
[Download RAW message or body]

Xavier,

Thank you for explaining the root cause of this frustrating problem.

Based on your solution, I am now able to use the chord font of my choice by adding \
the following snippet at the top of my source file (in this case Verdana, which ships \
natively with Win7)

\paper  {
  #(define fonts
    (make-pango-font-tree "Times New Roman"
                          "Verdana" 
                          "Luxi Mono"
                          (/ staff-height pt 20)))
}


Your help is greatly appreciated!

Greg




________________________________
 From: Xavier Scheuer <x.scheuer@gmail.com>
To: mayornancy <mayornancy@yahoo.com> 
Cc: "lilypond-user@gnu.org" <lilypond-user@gnu.org> 
Sent: Wednesday, February 27, 2013 6:43 PM
Subject: Re: Output PDF has different chord font than expected
 
On 27 February 2013 20:29, mayornancy <mayornancy@yahoo.com> wrote:
> Hello,
> 
> I am using lilypond (2.16.2) on Windows7 SP1 in "portable" mode (I simply
> extracted the installer to a folder).
> 
> After compiling the following Chord example found at:
> 
> http://lilypond.org/doc/v2.12/input/lsr/lilypond-snippets/Chords#Single-staff-template-with-notes-and-chords
>  
> my result PDF chord symbols are using a very different font than the example
> output shown on the webpage (please see attached png)
> 
> 
> Is there some registry/environment setting I have to manually adjust in
> order for the default lilypond chord font to be used?

Apparently it's a Windows bug.
http://lists.gnu.org/archive/html/lilypond-user/2012-12/msg00542.html
http://www.theregister.co.uk/2012/12/17/windows_security_update_kills_fonts/

Define New Century Schoolbook as default roman (serif) font, thanks to
explanations from NR 1.8.3 Fonts > Entire document fonts
http://lilypond.org/doc/v2.17/Documentation/notation/fonts.html#entire-document-fonts

Cheers,
Xavier

-- 
Xavier Scheuer <x.scheuer@gmail.com>


[Attachment #3 (text/html)]

<html><body><div style="color:#000; background-color:#fff; font-family:times new \
roman, new york, times, serif;font-size:12pt">Xavier,<br><br>Thank you for explaining \
the root cause of this frustrating problem.<br><br>Based on your solution, I am now \
able to use the chord font of my choice by adding the following snippet at the top of \
my source file (in this case Verdana, which ships natively with \
Win7)<br><br>\paper&nbsp; {<br>&nbsp; #(define fonts<br>&nbsp;&nbsp;&nbsp; \
(make-pango-font-tree "Times New \
Roman"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
"Verdana" <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
"Luxi  Mono"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
(/ staff-height pt 20)))<br>}<br><br><br>Your help is greatly \
appreciated!<br><br>Greg<br><br><br><div style="font-family: times new roman, new \
york, times, serif; font-size: 12pt;"><div style="font-family: times new roman, new \
york, times, serif; font-size: 12pt;"><div dir="ltr"><font size="2" face="Arial"><hr \
size="1">  <b><span style="font-weight:bold;">From:</span></b> Xavier Scheuer \
&lt;x.scheuer@gmail.com&gt;<br> <b><span style="font-weight: bold;">To:</span></b> \
mayornancy &lt;mayornancy@yahoo.com&gt; <br><b><span style="font-weight: \
bold;">Cc:</span></b> "lilypond-user@gnu.org" &lt;lilypond-user@gnu.org&gt; <br> \
<b><span style="font-weight: bold;">Sent:</span></b> Wednesday, February 27, 2013 \
6:43 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: Output PDF \
has different  chord font than expected<br> </font> </div> <br>
On 27 February 2013 20:29, mayornancy &lt;<a ymailto="mailto:mayornancy@yahoo.com" \
href="mailto:mayornancy@yahoo.com">mayornancy@yahoo.com</a>&gt; wrote:<br>&gt; \
Hello,<br>&gt;<br>&gt; I am using lilypond (2.16.2) on Windows7 SP1 in "portable" \
mode (I simply<br>&gt; extracted the installer to a folder).<br>&gt;<br>&gt; After \
compiling the following Chord example found at:<br>&gt;<br>&gt; \
http://lilypond.org/doc/v2.12/input/lsr/lilypond-snippets/Chords#Single-staff-template-with-notes-and-chords<br>&gt;<br>&gt; \
my result PDF chord symbols are using a very different font than the example<br>&gt; \
output shown on the webpage (please see attached png)<br>&gt;<br>&gt;<br>&gt; Is \
there some registry/environment setting I have to manually adjust in<br>&gt; order \
for the default lilypond chord font to be used?<br><br>Apparently it's a Windows  \
bug.<br>http://lists.gnu.org/archive/html/lilypond-user/2012-12/msg00542.html<br>http: \
//www.theregister.co.uk/2012/12/17/windows_security_update_kills_fonts/<br><br>Define \
New Century Schoolbook as default roman (serif) font, thanks to<br>explanations from \
NR 1.8.3 Fonts &gt; Entire document \
fonts<br>http://lilypond.org/doc/v2.17/Documentation/notation/fonts.html#entire-document-fonts<br><br>Cheers,<br>Xavier<br><br>-- \
<br>Xavier Scheuer &lt;<a ymailto="mailto:x.scheuer@gmail.com" \
href="mailto:x.scheuer@gmail.com">x.scheuer@gmail.com</a>&gt;<br><br><br> </div> \
</div>  </div></body></html>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic