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: James
Subject: Re: strange result for escaping "\" with other font-name
Date: Fri, 4 Sep 2015 13:08:56 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0


On 04/09/15 10:58, Thomas Morley wrote:
> 2015-09-04 11:16 GMT+02:00 Masamichi Hosoda <address@hidden>:
>
>> On 2015年9月4日 17:51:16 JST, Thomas Morley <address@hidden> wrote:
>>> 2015-09-04 7:57 GMT+02:00 Werner LEMBERG <address@hidden>:
>>>
>>>>> trying to escape "\" in a string leads to strange results, for some
>>>>> font-names.
>>>>> Example below was ok with 2.18.2
>>>>>
>>>>> \version "2.19.26"
>>>>>
>>>>> \markup \override #'(font-name . "Times New Roman") "\\<==what?"
>>>> The displayed font is definitely not `Times New Roman'.  It seems
>>> that
>>>> the font substituted by FontConfig is a CJK font using half-width
>>>> glyphs, and there it sometimes happens that the `\' slot gets
>>> replaced
>>>> with the Yen sign `¥', for compatibility with ancient Japanese
>>>> practice.
>>>>
>>> Agreed, so far.
>>>
>>>> I think there is nothing to be done here, since it displays a font
>>>> problem (or bug).
>>>>
>>> Though, if 2.18.2 displays nicely (and it does), I'd tend to think
>>> something on our part causes this misbehahiour.
>>> (Ofcourse "Times New Roman" _is_ installed)
>>>
>>> Cheers,
>>>  Harm
>>> _______________________________________________
>>> bug-lilypond mailing list
>>> address@hidden
>>> https://lists.gnu.org/mailman/listinfo/bug-lilypond
>> Would you show us both 2.18.2 and 2.19.26 results of following command?
>>
>> $ FC_DEBUG=1 lilypond --verbose fonts-test-01.ly > result.txt 2>&1
>>
> Will do in the evening. Have to run for my rl job :(
> _______________________________________________
Here:

https://drive.google.com/file/d/0B9nZ5LHV2Ds6alctWXZYQXd2Tms/view?usp=sharing

and

https://drive.google.com/file/d/0B9nZ5LHV2Ds6SnRFYXJYQ0E0UlE/view?usp=sharing

Hope this helps.

NB: I didn't change the 'version' statement in the LP file when I
compiled it with 2.18.2 in case that adds noise to the output.

James

PS I am using Linux Mint latest (whatever that is - I lose track!)



reply via email to

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