bug-lilypond
[Top][All Lists]
Advanced

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

Re: strange result for escaping "\" with other font-name


From: Thomas Morley
Subject: Re: strange result for escaping "\" with other font-name
Date: Sat, 5 Sep 2015 18:10:57 +0200

2015-09-05 17:18 GMT+02:00 Thomas Morley <address@hidden>:
> 2015-09-05 15:35 GMT+02:00 Masamichi HOSODA <address@hidden>:
>>>>>>>>>> Second, your 2.19.26's fontconfig configure files
>>>>>>>>>> do not seem to have substitute settings.
>>>>>>>>>
>>>>>>>>> It's not clear to me why this happens. Is it a LilyPond-problem or
>>>>>>>>> something at my part?
>>>>>>>>> With 2.18.2 and 2.19.26 I'm on a 64-bit LINUX
>>>>>>>>> Trying with a build from master, lilyDev (32bit Debian), I do get
>>>>>>>>> substitute settings
>>>>>>>>>
>>>>>>>>> If I try
>>>>>>>>> \version "2.19.26"
>>>>>>>>> \markup \override #'(font-name . "not existing font") "\\<==what?"
>>>>>>>>>
>>>>>>>>> I do get substitute settings as well.
>>>>>>>>
>>>>>>>> According to the log file, your 2.19.26's fontconfig
>>>>>>>> default top configure file is
>>>>>>>> /home/hermann/lilydevel/usr/etc/fonts/fonts.conf
>>>>>>>>
>>>>>>>> And, maybe,
>>>>>>>> /home/hermann/lilydevel/usr/etc/fonts/local.conf
>>>>>>>> /home/hermann/lilydevel/usr/etc/fonts/conf.d/*.conf
>>>>>>>> are fontconfig auxiliary configure files.
>>>>>>>>
>>>>>>>> Your 2.18.2's one are
>>>>>>>> /home/hermann/lilypond/usr/etc/fonts/fonts.conf
>>>>>>>> /home/hermann/lilypond/usr/etc/fonts/local.conf
>>>>>>>> /home/hermann/lilypond/usr/etc/fonts/conf.d/*.conf
>>>>>>>>
>>>>>>>> Would you compare them?
>>>>>>>
>>>>>>> I don't have the skills to appraise what I see.
>>>>>>> Here's a simple diff. Is this sufficient?
>>>>>>>
>>>>>>> diff /home/hermann/lilydevel/usr/etc/fonts/fonts.conf
>>>>>>> /home/hermann/lilypond/usr/etc/fonts/fonts.conf
>>>>>>> 28,29d27
>>>>>>> <     <dir prefix="xdg">fonts</dir>
>>>>>>> <     <!-- the following element will be removed in the future -->
>>>>>>> 39c37
>>>>>>> <         <edit name="family" mode="assign" binding="same">
>>>>>>> ---
>>>>>>>>         <edit name="family" mode="assign">
>>>>>>> 51c49
>>>>>>> <         <edit name="family" mode="assign" binding="same">
>>>>>>> ---
>>>>>>>>         <edit name="family" mode="assign">
>>>>>>> 63c61
>>>>>>> <         <edit name="family" mode="assign" binding="same">
>>>>>>> ---
>>>>>>>>         <edit name="family" mode="assign">
>>>>>>> 76,77d73
>>>>>>> <     <cachedir prefix="xdg">fontconfig</cachedir>
>>>>>>> <     <!-- the following element will be removed in the future -->
>>>>>>
>>>>>> Would you try following command?
>>>>>>
>>>>>> $ diff -ursN /home/hermann/lilydevel/usr/etc/fonts 
>>>>>> /home/hermann/lilypond/usr/etc/fonts
>>>>>
>>>>> I did
>>>>> diff -ursN /home/hermann/lilydevel/usr/etc/fonts
>>>>> /home/hermann/lilypond/usr/etc/fonts > log.txt 2>&1
>>>>>
>>>>> last line reads:
>>>>> Files /home/hermann/lilydevel/usr/etc/fonts/local.conf and
>>>>> /home/hermann/lilypond/usr/etc/fonts/local.conf are identical
>>>>>
>>>>> Do you need the entire file (it has 2000 lines)?
>>>>
>>>> Yes, please.
>>>
>>> Here you are
>>
>> Thank you.
>>
>> It seems to lack the necessary files.
>> How do you install 2.19.26?
>
> I download
> lilypond-2.19.26-1.linux-64.sh
> from
> http://lilypond.org/development.html
> navigate to Desktop (where it is stored) and then:
> sh lilypond-2.19.26-1.linux-64.sh
>
>>
>> Do following files exist?
>> /home/hermann/lilydevel/usr/etc/fonts/conf.avail/*.conf
>
> No !!
>
>> /home/hermann/lilydevel/usr/etc/fonts/conf.d/*.conf
>
> yes
>
>>
>> If not, would you try to re-install LilyPond?
>>
>> Or, would you try to install official web site's LilyPond 2.19.26 binary?
>
> I uninstalled it and re-installed it, with a fresh download of
> lilypond-2.19.26-1.linux-64.sh
> (refusing to rename it for now)
> exercising  all the steps listed above.
>
>>
>> And, just idea,
>> it might be solved by copying official binary's
>> lilypond/usr/etc/fonts/*
>> files to
>> /home/hermann/lilydevel/usr/etc/fonts/
>> .
>
> Not sure what exactly you suggest.
> I tried to copy/paste conf.avail from 2.18.2 to 2.19.26
> The issue persists, though.
>
> Obviously conf.avail is missing for me with 2.19.26. If it's my
> problem then it's bad, but if it's a general problem for 64-bit-Linux
> then it's worse.
>
> Best would be others with 64-bit Linux could do testing for:
>
> \version "2.19.26"
> \markup \override #'(font-name . "not a font") "\\<==what?"
>
>
> or look, whether
> lilypond/usr/etc/fonts/conf.avail/*.conf
> exists at all.
>
>
>
> Thanks a lot,
>   Harm

Also for further testing, I tried to download the source-tarball and
complie LilyPond from it myself on my 64-bit OS.

Without success:

Last message:

In file included from
/home/hermann/lilypondH/lilypond-2.19.26/lily/include/context.hh:25,
                 from
/home/hermann/lilypondH/lilypond-2.19.26/lily/accidental-engraver.cc:23:
/home/hermann/lilypondH/lilypond-2.19.26/lily/include/listener.hh: In
static member function 'static void
Listener::smob_proc_init(scm_t_bits)':
/home/hermann/lilypondH/lilypond-2.19.26/lily/include/listener.hh:104:
error: insufficient contextual information to determine type
/home/hermann/lilypondH/lilypond-2.19.26/lily/include/listener.hh: In
static member function 'static void
Callback_wrapper::smob_proc_init(scm_t_bits)':
/home/hermann/lilypondH/lilypond-2.19.26/lily/include/listener.hh:182:
error: insufficient contextual information to determine type
make[1]: *** [out/accidental-engraver.o] Error 1
make[1]: Leaving directory `/home/hermann/lilypondH/lilypond-2.19.26/build/lily'
make: *** [all] Fehler 2


Full log attached.


Additionally I had some problems with tex-gyre again.
They were already installed but
/configure
didn't accept/found them


sudo apt-get install tex-gyre

returned consequently:

Reading package lists... Done
Building dependency tree
Reading state information... Done
tex-gyre is already the newest version.


I had no idea where to look for tex-gyre, though.
In the end I downloaded them zipped again and stored the files in a
_known_ folder to point to via
with-texgyre-dir=



Cheers,
  Harm

Attachment: make-log.txt
Description: Text document


reply via email to

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