Re: [Fonts]Fontconfig release - fcpackage version 2.0

2002-09-05 Thread James H. Cloos Jr.

I thought I sent this before, but perhaps not.

I'd add dir/usr/local/share/fonts/dir to the default fonts.conf.

Perhaps also dir/usr/X11R6/lib/Acrobat5/Resource/Font/dir and
dir/usr/share/texmf/fonts/type1/dir are good ideas.

-JimC


___
Fonts mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/fonts



Re: [Fonts]Fontconfig release - fcpackage version 2.0

2002-09-05 Thread James H. Cloos Jr.

 Keith == Keith Packard [EMAIL PROTECTED] writes:

 Perhaps also dir/usr/X11R6/lib/Acrobat5/Resource/Font/dir and

Keith I've never seen a system with fonts in that directory, is it
Keith specific to some commercial product?

Well, some closed-src free as in beer product available for ftp
anyway.  It does provide access to a certain set of four rather nice
cjk otf fonts, but I can see where it may be better off in local.conf.

 dir/usr/share/texmf/fonts/type1/dir are good ideas.

Keith That one is probably *not* a good idea -- the TeX fonts all
Keith have the same name making them pretty useless in non-TeX
Keith environments.

The FontNames do of course have to be unique.  And zilla's mathml
support will need access to math fonts.  Do the fc patches for zilla
allow it to work w/ only client side fonts?  Ie, can one configure it
to never look for server side fonts?  (Certain web pages cause my X
process to blow up to over half a gig; tonight's project is to compile
1.1 w/ the fc patch, plus whatever else I need to add to get it to
ignore the server fonts (except perhaps for the widgets).)

-JimC

___
Fonts mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/fonts



[Fonts]Segfault at startup with openoffice fonts and fontconfig2

2002-09-05 Thread Jeffrey Baker

I downloaded, built, and installed the fontconfig2 package
from fontconfig.org, on an x86 box running Debian
unstable/experimental.  No problems building or installing. 

When I start Mozilla (also from fontconfig.org), it
segfaults.  Using strace I see that it segfaults right after
opening and reading a font in
/usr/share/fonts/truetype/openoffice.  I deleted the
offending font, but it segfaulted on another font in that
directory.  I removed the ttf-openoffice package and that
fixed the problem.

You can test this by installing the ttf-openoffice package
which is in Debian (unstable, at least).

I'll rebuild Xft2 and fontconfig with -g, and attach with
the debugger if I can.

Regards,
Jeffrey Baker

P.S. The content in Mozilla looks awesome on my LCD screen,
but the default font in the classic theme is way too small.
Invisibility of white text on black remains a major problem.
Any chance of rolling in one of the gamma correction
patches?
___
Fonts mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/fonts



[Fonts]Re: Segfault at startup with openoffice fonts and fontconfig2

2002-09-05 Thread Jeffrey Baker

On Thu, Sep 05, 2002 at 04:54:29PM -0700, Jeffrey Baker wrote:
 I downloaded, built, and installed the fontconfig2 package
 from fontconfig.org, on an x86 box running Debian
 unstable/experimental.  No problems building or installing. 
 
 When I start Mozilla (also from fontconfig.org), it
 segfaults.  Using strace I see that it segfaults right after
 opening and reading a font in
 /usr/share/fonts/truetype/openoffice.  I deleted the
 offending font, but it segfaulted on another font in that
 directory.  I removed the ttf-openoffice package and that
 fixed the problem.
 
 You can test this by installing the ttf-openoffice package
 which is in Debian (unstable, at least).
 
 I'll rebuild Xft2 and fontconfig with -g, and attach with
 the debugger if I can.

This is the offending stack:

#0  0x409b7b92 in ps3_hints_apply () from /usr/lib/libfreetype.so.6
#1  0x40994a64 in FT_Get_Next_Char () from /usr/lib/libfreetype.so.6
#2  0x40960fe5 in FcFreeTypeCharSet (face=0x82ce1c0, blanks=0x8240cc0) at 
fccharset.c:1891
#3  0x40963880 in FcFreeTypeQuery (file=0x82c6b68 
/usr/share/fonts/truetype/openoffice/chevaraor.ttf, id=0, 
blanks=0x8240cc0, count=0xbfffd584) at fcfreetype.c:515
#4  0x4096292d in FcFileScan (set=0x82405b0, dirs=0x823e8f8, cache=0x8240c00, 
blanks=0x8240cc0, 
file=0x82c6b68 /usr/share/fonts/truetype/openoffice/chevaraor.ttf, force=0) at 
fcdir.c:112
#5  0x40962c1c in FcDirScan (set=0x82405b0, dirs=0x823e8f8, cache=0x8240c00, 
blanks=0x8240cc0, 
dir=0x82af278 /usr/share/fonts/truetype/openoffice, force=0) at fcdir.c:208
#6  0x4095bf2c in FcConfigBuildFonts (config=0x823e890) at fccfg.c:197
#7  0x40963d9c in FcInitLoadConfigAndFonts () at fcinit.c:83
#8  0x40963df5 in FcInit () at fcinit.c:101
#9  0x4095c04b in FcConfigGetCurrent () at fccfg.c:234
#10 0x4095d973 in FcConfigSubstituteWithPat (config=0x0, p=0x823e730, p_pat=0x0, 
kind=FcMatchPattern) at fccfg.c:1050
#11 0x4095e09e in FcConfigSubstitute (config=0x0, p=0x823e730, kind=FcMatchPattern) at 
fccfg.c:1250
#12 0x4091f54f in NSGetModule () from /home/jwb/mozilla/components/libgfx_gtk.so
#13 0x40924f78 in NSGetModule () from /home/jwb/mozilla/components/libgfx_gtk.so
#14 0x4091bcf2 in NSGetModule () from /home/jwb/mozilla/components/libgfx_gtk.so
#15 0x400260fe in nsFontCache::GetMetricsFor () from /home/jwb/mozilla/libgkgfx.so
#16 0x400265f5 in DeviceContextImpl::GetMetricsFor () from 
/home/jwb/mozilla/libgkgfx.so

Regards
Jeffrey Baker
___
Fonts mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/fonts



Re: [Fonts]Re: Segfault at startup with openoffice fonts and fontconfig2

2002-09-05 Thread Keith Packard


Around 17 o'clock on Sep 5, Jeffrey Baker wrote:

 This is the offending stack:
 
 #0  0x409b7b92 in ps3_hints_apply () from /usr/lib/libfreetype.so.6
 #1  0x40994a64 in FT_Get_Next_Char () from /usr/lib/libfreetype.so.6

Looks like you're hitting bugs in FreeType.  Version 2.1.2 is known to 
have some issues of this nature; I'm continuing to use the XFree86 copy
of 2.1.1 for now and have moved the debian versions out of the way.

Keith PackardXFree86 Core TeamHP Cambridge Research Lab


___
Fonts mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/fonts