lilypond-devel
[Top][All Lists]
Advanced

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

Re: Why is it _still_ so freaking hard to get info with images?


From: David Kastrup
Subject: Re: Why is it _still_ so freaking hard to get info with images?
Date: Sun, 15 Mar 2009 15:11:38 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux)

John Mandereau <address@hidden> writes:

> David Kastrup a écrit :
>> John Mandereau <address@hidden> writes:
>>   
>>> What does "grep NCSB config.make" (at top of the build tree) does say?
>>>     
>>
>> NCSB_SOURCE_FILES =  /usr/share/fonts/type1/gsfonts/c059036l.pfb
>> /usr/share/fonts/type1/gsfonts/c059013l.pfb   
> Your system probably misses two of the New Century Schoolbook PFB font
> files, probably italic
> and bold italic series.  It looks like fontconfig substitutes italic
> with regular when the fonts are
> queried in configure script, but the installation makefile is not that
> tolerant.  I'm for fixing the
> configure script, so it checks for the 4 PFB files presence.
>
> I have no time to reply about other points right now, but I'll do it
> as soon as possible.

Here is more info from what happens:

for style in Roman Italic "Bold Italic" Bold; do
      fc-match --verbose "Century Schoolbook L:style=$style";done

Pattern has 28 elts (size 32)
        family: "Century Schoolbook L"(s)
        style: "Roman"(s)
        slant: 0(i)(s)
        weight: 100(i)(s)
        width: 100(i)(s)
        size: 12(f)(s)
        pixelsize: 12.5(f)(s)
        foundry: "urw"(s)
        antialias: FcTrue(w)
        hintstyle: 2(i)(w)
        hinting: FcTrue(w)
        verticallayout: FcFalse(s)
        autohint: FcFalse(s)
        globaladvance: FcTrue(s)
        file: "/usr/share/fonts/X11/Type1/c059013l.pfb"(s)
        index: 0(i)(s)
        outline: FcTrue(s)
        scalable: FcTrue(s)
        dpi: 75(f)(s)
        rgba: 1(i)(w)
        scale: 1(f)(s)
        charset: 0000: 00000000 ffffffff ffffffff 7fffffff 00000000 ffffffff 
ffffffff ffffffff
        0001: ffffffff ffffffff ffffffff ffffffff 00040000 00000000 00000000 
00000000
        0002: 03000000 00000000 00000000 00000000 00000000 00000000 3f0002c0 
00000000
        0003: 00000000 00000000 00000000 00000000 00100000 10000000 00000000 
00000000
        0004: ffffffff ffffffff ffffffff 00000000 fffff000 ffffffff ffff199f 
033fffff
        0020: 77180000 06010047 00000010 00000000 00000000 00001000 00000000 
00000000
        0021: 00400000 00000004 00000000 00000000 00000000 00000000 00000000 
00000000
        0022: 46260044 00000000 00000000 00000031 00000000 00000000 00000000 
00000000
        0025: 00000000 00000000 00000000 00000000 00000000 00000000 00000400 
00000000
        00f6: 00000000 00000000 00000000 00000000 00000000 00000000 000001f8 
00000000
        00fb: 00000006 00000000 00000000 00000000 00000000 00000000 00000000 
00000000
(s)
        lang: 
aa|ab|af|ast|ava|ay|ba|be|bg|bi|br|bs|bua|ca|ce|ch|chm|co|cs|cv|da|de|en|eo|es|et|eu|fi|fj|fo|fr|fur|fy|gd|gl|gv|ho|hr|hu|ia|id|ie|ik|io|is|it|kaa|ki|kk|kl|ku|kum|kv|ky|la|lb|lez|lt|lv|mg|mh|mk|mt|nb|nds|nl|nn|no|nr|nso|ny|oc|om|os|pl|pt|rm|ru|sah|se|sel|sh|sk|sl|sma|smj|smn|so|sq|sr|ss|st|sv|sw|tg|tk|tn|tr|ts|tt|tyv|uk|uz|vo|vot|wa|wen|wo|xh|yap|zu(s)
        fontversion: 0(i)(s)
        fontformat: "Type 1"(s)
        embeddedbitmap: FcTrue(s)
        decorative: FcFalse(s)
        lcdfilter: 1(i)(w)

Pattern has 33 elts (size 48)
        family: "Century Schoolbook L"(s)
        familylang: "en"(s)
        style: "Italic"(s)
        stylelang: "en"(s)
        fullname: "Century Schoolbook L Italic"(s)
        fullnamelang: "en"(s)
        slant: 100(i)(s)
        weight: 80(i)(s)
        width: 100(i)(s)
        size: 12(f)(s)
        pixelsize: 12.5(f)(s)
        foundry: "unknown"(s)
        antialias: FcTrue(w)
        hintstyle: 2(i)(w)
        hinting: FcTrue(w)
        verticallayout: FcFalse(s)
        autohint: FcFalse(s)
        globaladvance: FcTrue(s)
        file: "/usr/share/fonts/truetype/canorus/CenturySchL-Ital.ttf"(s)
        index: 0(i)(s)
        outline: FcTrue(s)
        scalable: FcTrue(s)
        dpi: 75(f)(s)
        rgba: 1(i)(w)
        scale: 1(f)(s)
        charset: 0000: 00000000 ffffffff ffffffff 7fffffff 00000000 ffdfdffe 
ffffffff ffffffff
        0001: ffffffff ffffffff ffffffff ffffffff 00040000 00018003 00000000 
00000000
        0002: 03000000 00000000 00000000 00000000 00000000 00000000 3f0000c0 
00000000
        0003: 00000000 00000000 00000000 00000000 00100000 10000000 00000000 
00000000
        0004: ffffffff ffffffff ffffffff 00000000 fffff000 ffffffff ffff199f 
033fffff
        001e: 00000000 00000000 00000000 00000000 00000000 ffffffff ffffffff 
03ffffff
        0020: 77180000 06010047 00000010 00000000 00000000 00001000 00000000 
00000000
        0021: 00000000 00000004 00000000 00000000 00000000 00000000 00000000 
00000000
        0022: 44060004 00000000 00000000 00000031 00000000 00000000 00000000 
00000000
        0025: 00000000 00000000 00000000 00000000 00000000 00000000 00000400 
00000000
        00f6: 00000000 00000000 00000000 00000000 00000000 00000000 000001f8 
00000000
        00fb: 00000006 00000000 00000000 00000000 00000000 00000000 00000000 
00000000
(s)
        lang: 
aa|ab|af|ast|ava|ay|ba|be|bg|bi|br|bs|bua|ca|ce|ch|chm|co|cs|cv|da|de|en|eo|es|et|eu|fi|fj|fo|fr|fur|fy|gd|gl|gn|gv|ho|hr|hu|ia|ibo|id|ie|ik|io|is|it|kaa|ki|kk|kl|ku|kum|kv|ky|la|lb|lez|lt|lv|mg|mh|mk|mt|nb|nds|nl|nn|no|nr|nso|ny|oc|om|os|pl|pt|rm|ru|sah|se|sel|sh|sk|sl|sma|smj|smn|so|sq|sr|ss|st|sv|sw|tg|tk|tn|tr|ts|tt|tyv|uk|uz|vo|vot|wa|wen|wo|xh|yap|zu(s)
        fontversion: 69468(i)(s)
        capability: "otlayout:latn"(s)
        fontformat: "TrueType"(s)
        embeddedbitmap: FcTrue(s)
        decorative: FcFalse(s)
        lcdfilter: 1(i)(w)

Pattern has 28 elts (size 32)
        family: "Century Schoolbook L"(s)
        style: "Bold Italic"(s)
        slant: 100(i)(s)
        weight: 200(i)(s)
        width: 100(i)(s)
        size: 12(f)(s)
        pixelsize: 12.5(f)(s)
        foundry: "urw"(s)
        antialias: FcTrue(w)
        hintstyle: 2(i)(w)
        hinting: FcTrue(w)
        verticallayout: FcFalse(s)
        autohint: FcFalse(s)
        globaladvance: FcTrue(s)
        file: "/usr/share/fonts/X11/Type1/c059036l.pfb"(s)
        index: 0(i)(s)
        outline: FcTrue(s)
        scalable: FcTrue(s)
        dpi: 75(f)(s)
        rgba: 1(i)(w)
        scale: 1(f)(s)
        charset: 0000: 00000000 ffffffff ffffffff 7fffffff 00000000 ffffffff 
ffffffff ffffffff
        0001: ffffffff ffffffff ffffffff ffffffff 00040000 00000000 00000000 
00000000
        0002: 03000000 00000000 00000000 00000000 00000000 00000000 3f0002c0 
00000000
        0003: 00000000 00000000 00000000 00000000 00100000 10000000 00000000 
00000000
        0004: ffffffff ffffffff ffffffff 00000000 fffff000 ffffffff ffff199f 
033fffff
        0020: 77180000 06010047 00000010 00000000 00000000 00001000 00000000 
00000000
        0021: 00400000 00000004 00000000 00000000 00000000 00000000 00000000 
00000000
        0022: 46260044 00000000 00000000 00000031 00000000 00000000 00000000 
00000000
        0025: 00000000 00000000 00000000 00000000 00000000 00000000 00000400 
00000000
        00f6: 00000000 00000000 00000000 00000000 00000000 00000000 000001f8 
00000000
        00fb: 00000006 00000000 00000000 00000000 00000000 00000000 00000000 
00000000
(s)
        lang: 
aa|ab|af|ast|ava|ay|ba|be|bg|bi|br|bs|bua|ca|ce|ch|chm|co|cs|cv|da|de|en|eo|es|et|eu|fi|fj|fo|fr|fur|fy|gd|gl|gv|ho|hr|hu|ia|id|ie|ik|io|is|it|kaa|ki|kk|kl|ku|kum|kv|ky|la|lb|lez|lt|lv|mg|mh|mk|mt|nb|nds|nl|nn|no|nr|nso|ny|oc|om|os|pl|pt|rm|ru|sah|se|sel|sh|sk|sl|sma|smj|smn|so|sq|sr|ss|st|sv|sw|tg|tk|tn|tr|ts|tt|tyv|uk|uz|vo|vot|wa|wen|wo|xh|yap|zu(s)
        fontversion: 0(i)(s)
        fontformat: "Type 1"(s)
        embeddedbitmap: FcTrue(s)
        decorative: FcFalse(s)
        lcdfilter: 1(i)(w)

Pattern has 33 elts (size 48)
        family: "Century Schoolbook L"(s)
        familylang: "en"(s)
        style: "Bold"(s)
        stylelang: "en"(s)
        fullname: "Century Schoolbook L Bold"(s)
        fullnamelang: "en"(s)
        slant: 0(i)(s)
        weight: 200(i)(s)
        width: 100(i)(s)
        size: 12(f)(s)
        pixelsize: 12.5(f)(s)
        foundry: "unknown"(s)
        antialias: FcTrue(w)
        hintstyle: 2(i)(w)
        hinting: FcTrue(w)
        verticallayout: FcFalse(s)
        autohint: FcFalse(s)
        globaladvance: FcTrue(s)
        file: "/usr/share/fonts/truetype/canorus/CenturySchL-Bold.ttf"(s)
        index: 0(i)(s)
        outline: FcTrue(s)
        scalable: FcTrue(s)
        dpi: 75(f)(s)
        rgba: 1(i)(w)
        scale: 1(f)(s)
        charset: 0000: 00000000 ffffffff ffffffff 7fffffff 00000000 ffdfdffe 
ffffffff ffffffff
        0001: ffffffff ffffffff ffffffff fffffcff 00040000 00018003 00000000 
00000000
        0002: 03000000 00000000 00000000 00000000 00000000 00000000 3f0000c0 
00000000
        0003: 00000000 00000000 00000000 00000000 00100000 10000000 00000000 
00000000
        0004: ffffffff ffffffff ffffffff 00000000 fffff000 ffffffff ffff199f 
033fffff
        001e: 00000000 00000000 00000000 00000000 00000000 ffffffff ffffffff 
03ffffff
        0020: 77180000 06010047 00000010 00000000 00000000 00001000 00000000 
00000000
        0021: 00000000 00000004 00000000 00000000 00000000 00000000 00000000 
00000000
        0022: 44060004 00000000 00000000 00000031 00000000 00000000 00000000 
00000000
        0025: 00000000 00000000 00000000 00000000 00000000 00000000 00000400 
00000000
        00f6: 00000000 00000000 00000000 00000000 00000000 00000000 000001f8 
00000000
        00fb: 00000006 00000000 00000000 00000000 00000000 00000000 00000000 
00000000
(s)
        lang: 
aa|ab|af|ast|ava|ay|ba|be|bg|bi|br|bs|bua|ca|ce|ch|chm|co|cs|cv|da|de|en|eo|es|et|eu|fi|fj|fo|fr|fur|fy|gd|gl|gv|ho|hr|hu|ia|ibo|id|ie|ik|io|is|it|kaa|kk|ku|kum|kv|ky|la|lb|lez|lt|lv|mg|mh|mk|mt|nb|nds|nl|nn|no|nr|nso|ny|oc|om|os|pl|pt|rm|ru|sah|se|sel|sh|sk|sl|sma|smj|smn|so|sq|sr|ss|st|sv|sw|tg|tk|tn|tr|ts|tt|tyv|uk|uz|vo|vot|wa|wen|wo|xh|yap|zu(s)
        fontversion: 69468(i)(s)
        capability: "otlayout:latn"(s)
        fontformat: "TrueType"(s)
        embeddedbitmap: FcTrue(s)
        decorative: FcFalse(s)
        lcdfilter: 1(i)(w)


Removing the "canorus" Debian package would appear to do the trick: then
I get a listing of 4 Type1 fonts.

So it would appear to be a problem that fc-match first finds the true
type fonts installed by Canorus, and then this first match is
subsequently thrown away by grep -v.

So I think you need to figure out how to tell fc-match to prefer Type1
over TrueType, or how to make it list all matches rather than a single
one.  Weeding out the Truetype when it has been listed _instead_ rather
than in addition to the Type1 fonts will not do the trick.

-- 
David Kastrup





reply via email to

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