|
From: | James |
Subject: | Re: SOLVED: Re: Error in printing ff |
Date: | Tue, 21 Feb 2017 11:48:28 +0000 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 |
Hello Freidrich,Can you use an explicit font reference - to our TexGyre family - in MikTex than let it pick the default font (which I assume it is doing?), maybe the font family it is using doesn't come with ligatures?
James On 20/02/17 20:15, Friedrich Kink wrote:
Hi James, thank you for being that tenacious. I really think it is related to the combination with MikTeX, because lilypond works perfect (I checked the temp files lilypond-book.py was createing). BTW this is my command chain I use to create a song sheet (started from within UEStudio): lilypond-book.py --pdf --format=latex --output "c:\temp\%n" %n%e && texify.exe --clean --quiet --pdf --run-viewer "c:\temp\%n\%n%e" && rmdir /s /q "c:\temp\%n" But I followed your advise and deleted the fontcache for lilypond and also for latex. Still no improvement. I'll update once the issue disappears. kind regards, Fritz PS: I noticed that inline picture were remove, so for completeness I attached them again. Am 20.02.2017 um 19:16 schrieb James:Hello Friedrich, On 19/02/17 20:10, Friedrich Kink wrote:Hi James, that was quick. Well I'm using Windows 10 version 1607. I attached a the snippet you provided (ok almost the same despite I haven't version 2.19.56) created with 2.19.25 As you can see the "ff" does not look like a real ligature. I tried the same with 2.19.55 (latest version I have access too) and the result looks like where "ff" looks like a ligature. So in fact lilypond improved and is working as expected but together with pdflatex (latest MikTeX) it creates the problem. Sorry for making lilypond guilty. Once i find the real problem I'll let you know. kind regards, FritzWell I downloaded the latest dev (2.19.55) and ran it on my windows desktop at work. I get ligatures. See attached So I can only assume it is a Windows 10-specific problem or maybe even just a font cache issue [1] If you run the LilyPond command with the '-V' option (verbose) and then scan the output from the 'end' backwards - if you see what I mean? - you should see the font 'stuff'. Here is mine on Windows 8.1. The last part of my output shows --snip-- ... Interpreting music... [C:/Program Files (x86)/LilyPond/usr/share/lilypond/current/fonts/otf/emmentaler-20.otf Replace font name from Emmentaler-20 to Emmentaler-20.] elapsed time: 0.03 seconds Element count 49 (spanners 6) Preprocessing graphical objects... Grob count 95 [C:/Program Files (x86)/LilyPond/usr/share/lilypond/current/fonts/otf/emmentaler-11.otf Replace font name from Emmentaler-11 to Emmentaler-11.] [C:/Program Files (x86)/LilyPond/usr/share/lilypond/current/fonts/otf/emmentaler-13.otf Replace font name from Emmentaler-13 to Emmentaler-13.] [C:/Program Files (x86)/LilyPond/usr/share/lilypond/current/fonts/otf/emmentaler-14.otf Replace font name from Emmentaler-14 to Emmentaler-14.] [C:/Program Files (x86)/LilyPond/usr/share/lilypond/current/fonts/otf/emmentaler-16.otf Replace font name from Emmentaler-16 to Emmentaler-16.] [C:/Program Files (x86)/LilyPond/usr/share/lilypond/current/fonts/otf/emmentaler-18.otf Replace font name from Emmentaler-18 to Emmentaler-18.] [C:/Program Files (x86)/LilyPond/usr/share/lilypond/current/fonts/otf/emmentaler-23.otf Replace font name from Emmentaler-23 to Emmentaler-23.] [lilypond_serif_8.083984375] Replace font name from TeXGyreSchola-Regular to TeXGyreSchola-Regular. [lilypond_serif_bold_6.1376953125] Replace font name from TeXGyreSchola-Bold to TeXGyreSchola-Bold. [lilypond_serif_10.544921875] Replace font name from TeXGyreSchola-Regular to TeXGyreSchola-Regular. Finding the ideal number of pages... [lilypond_serif_3.8662109375] Replace font name from TeXGyreSchola-Regular to TeXGyreSchola-Regular. Replace font name from TeXGyreSchola-Regular to TeXGyreSchola-Regular. Replace font name from TeXGyreSchola-Regular to TeXGyreSchola-Regular. Fitting music on 1 page... Drawing systems... Element count 61 Replace font name from TeXGyreSchola-Regular to TeXGyreSchola-Regular. Replace font name from TeXGyreSchola-Regular to TeXGyreSchola-Regular. Layout output to `./tmp-lilypond-9BAzHg'... Initializing embedded CFF font list. Embedding CFF font `TeXGyreSchola-Bold'. [C:/Program Files (x86)/LilyPond/usr/share/lilypond/current/fonts/otf/texgyreschola-bold.otf] Embedding CFF font `TeXGyreSchola-Regular'. [C:/Program Files (x86)/LilyPond/usr/share/lilypond/current/fonts/otf/texgyreschola-regular.otf] [C:/Program Files (x86)/LilyPond/usr/share/lilypond/current/ps/music-drawing-routines.ps] [C:/Program Files (x86)/LilyPond/usr/share/lilypond/current/ps/lilyponddefs.ps] Converting to `blah.pdf'... Invoking `gs -dNOSAFER -dDEVICEWIDTHPOINTS=595.28 -dDEVICEHEIGHTPOINTS=841.89 -dCompatibilityLevel=1.4 -dNOPAUSE -dBATCH -r1200 -sDEVICE=pdfwrite -sOu tputFile=blah.pdf -c.setpdfwrite -f./tmp-lilypond-9BAzHg'... GPL Ghostscript 9.20 (2016-09-26) Copyright (C) 2016 Artifex Software, Inc. All rights reserved. This software comes with NO WARRANTY: see the file PUBLIC for details. Deleting `./tmp-lilypond-9BAzHg'... ] Success: compilation successfully completed --snip-- It would be interesting perhaps to see if you have all the 'texgyre*' font entries and what the Ghostscript output is, in case someone can see anything wrong with your entry. [1] You can force a rebuild of your font cache by deleting the directory located in # C:\Users\[yourname]\.lilypond-fonts.cache-2 Then re-run the command. Regards JamesAm 19.02.2017 um 19:52 schrieb James Lowe:Hello Friedrich, On Sun, 19 Feb 2017 19:09:39 +0100 Friedrich Kink <address@hidden> wrote:Dear Simon, thanks for the fast answer. By chance I found another example which I try to present as a snippet: \layout { ragged-right = ##t } \header { title = \markup \sans { "Ach wie flüchtig, ach wie nichtig"} } { c'4 d' e2 } Again the ligature "fl" does not work. As a further hint, this worked until and including version 2.19.25 (true for initial problem, too) til then it just prints a blank instead of "fl" or "ff". kind regards, FritzJust to make sure we are troubleshooting the correct thing (i.e. this isn't something local to your system). I used this modified version of your example - in case there was a problem in the 'context' of the markup as to where the ligatures might not be showing up. --snip-- \version "2.19.56" \layout { ragged-right = ##t } \header { title = "Ach wie fiuchtig" } { c'4^\markup \abs-fontsize #23 { "Ach wie flüchtig" } d' e2 } \markup \abs-fontsize #30 { "Ach wie ffüchtig" } --snip-- See attached png for output. Please excuse the deliberate spelling mistakes, I was just illustrating the basic 3 ligatures fl, fi and ff and they all work for me on the most current build as you can see on my output. We did have a problem with ligatures not working in Windows - and we had an issue for that back in 2015 https://sourceforge.net/p/testlilyissues/issues/2656/ but otherwise unless I am misunderstanding, this seems to work for me on Linux. Regards James_______________________________________________ bug-lilypond mailing list address@hidden https://lists.gnu.org/mailman/listinfo/bug-lilypond
[Prev in Thread] | Current Thread | [Next in Thread] |