Comment #18 on issue 2146 by lemzw...@gmail.com: Error: Illegal entry in
bfrange block in ToUnicode CMap
http://code.google.com/p/lilypond/issues/detail?id=2146
Ah, I haven't thought of this. You are right, this can happen. So we
perhaps have to scan the (possibly binary) fonts directly and check whether
they contain Cyrillic characters. Fortunately, this isn't too hard since
the copyright note is always visible as plain text. It would be sufficient
to scan for the word `Cyrillic' (in the /Notice string).
To summarize:
. Modify the configure.in code so that we always get NCSB_DIR variable,
either given by the user or computed from the location found by fontconfig.
. Use grep (which is already a prerequisite of building lilypond) to
check for the string `Cyrillic' in all four fonts. Abort if this fails.
. Construct a proper `lilypond.map' file which gets included in the
`macros.texi' file.
_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond