>>>>>>> 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 >>>>> bug-lilypond@gnu.org >>>>> 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!) > > In James's results, both lilypond's fontconfig > seem to have substitute settings. > So both results show that DejaVu Sans is selected. > > However, both fontconfig is requested "Times New" font, > instead of "Times New Roman".
I've created issue 4591 `Times New Roman' can not select by override fonts _______________________________________________ bug-lilypond mailing list bug-lilypond@gnu.org https://lists.gnu.org/mailman/listinfo/bug-lilypond