bug-lilypond
[Top][All Lists]
Advanced

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

Re: Issue 2146 in lilypond: Error: Illegal entry in bfrange block in ToU


From: lilypond
Subject: Re: Issue 2146 in lilypond: Error: Illegal entry in bfrange block in ToUnicode CMap
Date: Mon, 23 Jan 2012 07:24:47 +0000


Comment #18 on issue 2146 by address@hidden: 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.





reply via email to

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