[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Re: Why is it _still_ so freaking hard to get info with imag
From: |
David Kastrup |
Subject: |
Re: [PATCH] Re: Why is it _still_ so freaking hard to get info with images? |
Date: |
Wed, 18 Mar 2009 10:27:50 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux) |
David Kastrup <address@hidden> writes:
> John Mandereau <address@hidden> writes:
>
>> David Kastrup a écrit :
>>> Ok, so the bad news: canorus was not in the package repository. So
>>> reinstallation is not trivial: I have to dig it up and then install it.
>>> And then it is likely that the version I'll be able to find will be
>>> quite different from what I had installed previously (and which would
>>> never have been updated after that). Probably not something I'll be
>>> able to do before the weekend.
>>>
>> You mean trying packages from
>> https://developer.berlios.de/project/showfiles.php?group_id=6144
>> ?
>>
>> I just compiled and installed Canorus from source, and couldn't get
>> TTF fonts to be selected vs. Type 1. If you can reproduce
>> this issue on your system and my patch fixes it, then we'll consider
>> applying it.
>
> Sigh. I have
>
> Desired=Unknown/Install/Remove/Purge/Hold
> | Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
> |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err:
> uppercase=bad)
> ||/ Name Version Description
> +++-==============-==============-============================================
> rc canorus 0.5-1ubuntu1 Free cross-platform music score editor
>
> and this package apparently installed including truetype fonts. Debian
> and Ubuntu always have had their own packagings.
>
> I'll try installing the 0.5 from Berlios and see where this gets me.
The bug is back. After the patch, I still am at
configure:4099: checking New Century Schoolbook PFB files
configure:4131: result: /usr/share/fonts/type1/gsfonts/c059036l.pfb
/usr/share/fonts/type1/gsfonts/c059013l.pfb
The corresponding passage in configure is
{ echo "$as_me:$LINENO: checking New Century Schoolbook PFB files" >&5
echo $ECHO_N "checking New Century Schoolbook PFB files... $ECHO_C" >&6; }
if test "$NCSB_DIR" != "" ; then
NCSB_SOURCE_FILES=""
for f in c059013l c059016l c059033l c059036l; do
if test ! -f "$NCSB_DIR/$f.pfb"; then
{ echo "$as_me:$LINENO: WARNING: $NCSB_DIR does not contain $f.pfb." >&5
echo "$as_me: WARNING: $NCSB_DIR does not contain $f.pfb." >&2;}
warn_b=yes
else
NCSB_SOURCE_FILES="$NCSB_DIR/$f.pfb $NCSB_SOURCE_FILES"
fi
done
else
if test "$FCMATCH" != ""; then
for style in Roman Italic "Bold Italic" Bold; do
NCSB_FILE=`$FCMATCH --verbose "Century Schoolbook
L:style=$style:fontformat=Type 1" | grep 'file:' | grep -v "\.ttf"`
NCSB_FILE=`echo $NCSB_FILE | sed 's/^.*"\(.*\)".*$/\1/g'`
NCSB_FILE=`$PYTHON "$srcdir/scripts/auxiliar/readlink.py" $NCSB_FILE`
NCSB_SOURCE_FILES="$NCSB_FILE $NCSB_SOURCE_FILES"
done
else
{ echo "$as_me:$LINENO: result: not found" >&5
echo "${ECHO_T}not found" >&6; }
echo "Can't find Century Schoolbook files. Install FontConfig's
fc-match,"
echo "or use --with-ncsb-dir"
fi
fi
{ echo "$as_me:$LINENO: result: $NCSB_SOURCE_FILES" >&5
echo "${ECHO_T}$NCSB_SOURCE_FILES" >&6; }
Running manually
fc-match --verbose "Century Schoolbook L:style=Bold:fontformat=Type 1"
gives
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)
If one uses the --sort option, one gets dozens of fonts. The Type1 font
is at the second place and increasingly dissimilar fallbacks follow.
The fontformat= entry does not seem to change anything any which way.
Using foundry=urw in contrast helps. But that probably is asking more
than you want.
--
David Kastrup
- Re: Why is it _still_ so freaking hard to get info with images?, (continued)
- Re: Why is it _still_ so freaking hard to get info with images?, David Kastrup, 2009/03/13
- Re: Why is it _still_ so freaking hard to get info with images?, John Mandereau, 2009/03/13
- Re: Why is it _still_ so freaking hard to get info with images?, David Kastrup, 2009/03/13
- Re: Why is it _still_ so freaking hard to get info with images?, John Mandereau, 2009/03/14
- Re: Why is it _still_ so freaking hard to get info with images?, David Kastrup, 2009/03/15
- [PATCH] Re: Why is it _still_ so freaking hard to get info with images?, John Mandereau, 2009/03/17
- Re: [PATCH] Re: Why is it _still_ so freaking hard to get info with images?, David Kastrup, 2009/03/17
- Re: [PATCH] Re: Why is it _still_ so freaking hard to get info with images?, David Kastrup, 2009/03/17
- Re: [PATCH] Re: Why is it _still_ so freaking hard to get info with images?, John Mandereau, 2009/03/18
- Re: [PATCH] Re: Why is it _still_ so freaking hard to get info with images?, David Kastrup, 2009/03/18
- Re: [PATCH] Re: Why is it _still_ so freaking hard to get info with images?,
David Kastrup <=
- Re: [PATCH] Re: Why is it _still_ so freaking hard to get info with images?, David Kastrup, 2009/03/18
- Re: [PATCH] Re: Why is it _still_ so freaking hard to get info with images?, Werner LEMBERG, 2009/03/18
- Re: [PATCH] Re: Why is it _still_ so freaking hard to get info with images?, David Kastrup, 2009/03/18
- Re: [PATCH] Re: Why is it _still_ so freaking hard to get info with images?, John Mandereau, 2009/03/18
- Re: [PATCH] Re: Why is it _still_ so freaking hard to get info with images?, David Kastrup, 2009/03/18
- Re: [PATCH] Re: Why is it _still_ so freaking hard to get info with images?, Werner LEMBERG, 2009/03/18
- Re: [PATCH] Re: Why is it _still_ so freaking hard to get info with images?, David Kastrup, 2009/03/18
- Re: [PATCH] Re: Why is it _still_ so freaking hard to get info with images?, Werner LEMBERG, 2009/03/18
- Re: [PATCH] Re: Why is it _still_ so freaking hard to get info with images?, Han-Wen Nienhuys, 2009/03/18
- Re: [PATCH] Re: Why is it _still_ so freaking hard to get info with images?, John Mandereau, 2009/03/19