On Sun, Jun 8, 2014 at 12:45 , Thomas Morley <[email protected]>
wrote:
2014-06-08 12:02 GMT+02:00 Oliver Giles <[email protected]>:
Hello all,
I'm struggling to output IPA characters as part of lyrics for a
singing exercise;
this example (UTF-8 encoding):
: <<
: \relative c' { f }
: \addlyrics { ɔ }
: >>
produces the warning
: no PostScript font name for font
`/usr/share/fonts/100dpi/ncenR24.pcf.gz'
: FreeType face has no PostScript font name
from the lilypond compiler. The resulting output has the character
(LATIN SMALL
LETTER OPEN O (U+0254)) omitted. I guess part of the typesetting
process (Pango?)
is failing to find an appropriate glyph? Any tips to debug from
here? I am using
lilypond 2.18.2 on Arch Linux.
Kind Regards,
Oliver
Hi Oliver,
I've no problems with your code using
LilyPond 2.18.0 or 2.19.6
on Ubuntu 10.04 with Ghostscript 8.70
Does invoking lilypond with the verbose option gives you some helpful
info?
Cheers,
Harm
Thanks for your reply.
This is the abnormal section of the --verbose output:
Preprocessing graphical objects...
Grob count 46
[/usr/share/lilypond/2.18.2/fonts/otf/emmentaler-11.otf]
[/usr/share/lilypond/2.18.2/fonts/otf/emmentaler-13.otf]
[/usr/share/lilypond/2.18.2/fonts/otf/emmentaler-14.otf]
[/usr/share/lilypond/2.18.2/fonts/otf/emmentaler-16.otf]
[/usr/share/lilypond/2.18.2/fonts/otf/emmentaler-18.otf]
[/usr/share/lilypond/2.18.2/fonts/otf/emmentaler-23.otf]
[century_schoolbook_l_4.33984375]
warning: no PostScript font name for font
`/usr/share/fonts/100dpi/ncenR24.pcf.gz'
warning: FreeType face has no PostScript font name
warning: LyricText has empty extent and non-empty stencil.
Finding the ideal number of pages...
[century_schoolbook_l_3.8662109375]
Fitting music on 1 page...
Drawing systems...
Element count 36
Without using the character, the output is exactly the same, except the
warning is gone.
$ pacman -Qo /usr/share/fonts/100dpi/ncenR24.pcf.gz
/usr/share/fonts/100dpi/ncenR24.pcf.gz is owned by xorg-fonts-100dpi
1.0.1-4
It seems that freetype/pango has somehow decided to select this font,
which perhaps doesn't provide enough detail for lilypond. I just tried
to force a font:
\addlyrics {
\markup{
\override #'(font-name . "roman-12")
ɔ
}
}
then it works! Seemingly no matter whether I put 'roman' or 'sans'.
Being quite happy with the Lilypond defaults, I would prefer not to
mess with the fonts, but it seems like the pragmatic solution here :(
BTW: fontconfig=2.11.1, pango=1.36.3 and gs=9.14, but this is starting
to look more like a lilypond/configuration issue
Cheers,
Oliver
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user