[Fonts]Re: [Freetype] FreeType bug report

2002-09-27 Thread Werner LEMBERG


 1. FreeType crashes at ttgload.c:103 if hhea-number_Of_HMetrics
is 0.  The problem is with k, which is assumed to be at least 1.

I've just added a guard, thanks.

 2. FreeType refuses to get an sbit that has a glyph index beyond
 maxp-numGlyphs.  Note that the OpenType spec explicitly allows a
 font to have no scalable glyphs, although it warns against legacy
 rasterisers not being able to process such fonts.
 
 3. FreeType refuses to load a font that has no loca or glyph tables.
 See the above note.

Those are valid concerns IMHO.  David, do you have time to handle
that?


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



[Fonts]Another one question on the xft mozilla patch

2002-09-27 Thread Juanan Pereira

G'd day, 

if this isn't the right place to ask, please, redirect me to the proper
URL. Thank you very much in advance.

My goal is to compile Mozilla with XFT support like the RPM package
provided by Blizzard some time ago for Red Hat boxes (I'm using RH 7.2).
I have not found any RPM for the new Mozilla versions, so I have to
built it myself. I've installed fcpackage-2.0 and then used the 
following patch 

   http://fontconfig.org/mozilla/patches/mozilla.2002-08-02.diff

with Mozilla 1.1b (Mozilla refuses to apply the patch to a newer
version).

So far so good, but when I type: 

 gmake -f client.mk build 

it starts building the Lizard until the following error appears:

../../../dist/include/gfx/nsRenderingContextImpl.h:137: warning:   by 
`nsRenderingContextImpl::DrawImage (imgIContainer *, const nsRect *,
const
nsPoint *)'
In file included from /usr/include/gtk-1.2/gdk/gdktypes.h:33,
 from /usr/include/gtk-1.2/gdk/gdk.h:31,
 from /usr/include/gtk-1.2/gtk/gtk.h:31,
 from nsDrawingSurfaceGTK.h:46,
 from nsRenderingContextGTK.h:56,
 from nsDeviceContextGTK.h:48,
 from nsFontMetricsGTK.h:42,
 from nsFreeType.cpp:45:
/usr/include/glib-1.2/glib.h:1308:23: warning: ISO C does not permit
named
variadic macros
/usr/include/glib-1.2/glib.h:1311:25: warning: ISO C does not permit
named
variadic macros
/usr/include/glib-1.2/glib.h:1314:26: warning: ISO C does not permit
named
variadic macros
/usr/include/glib-1.2/glib.h:1317:25: warning: ISO C does not permit
named
variadic macros
In file included from nsDrawingSurfaceGTK.h:56,
 from nsRenderingContextGTK.h:56,
 from nsDeviceContextGTK.h:48,
 from nsFontMetricsGTK.h:42,
 from nsFreeType.cpp:45:
/usr/X11R6/include/X11/Xft/Xft.h:236: type specifier omitted for 
parameter
/usr/X11R6/include/X11/Xft/Xft.h:236: parse error before `,'
gmake[5]: *** [nsFreeType.o] Error 1
gmake[5]: Saliendo directorio
`/home/chessy/appz/internet/navegadores/mozilla/mozilla-source-1.1a/mozilla/gfx/src/gtk'

Any help would be very much appreciated. 

   Juanan Pereira(Chessy)
___
Fonts mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/fonts



[Fonts]fontconfig + xft2 leads to strange effect in Mozilla

2002-09-27 Thread Rich Wareham

Hi,

  I've just installed the fontconfig/xft2 release from fontconfig.org 
and am using the pre-compiled mozilla binaries available there. When 
viewing the latest Kernel Traffic 
(http://kt.zork.net/kernel-traffic/latest.html#1) [#184 for archive 
readers] there is a strange effect that happens in the pre text 
blocks. A screenshot can be found at 
http://www2.eng.cam.ac.uk/~rjw57/temp/xft2-err.png.

  This is with a clean mozilla and no fiddling with the font settings 
(honest :)).

  If its any help this is over a remote X-session but with XRender 
support on the server.

  Pleace Cc any important reply as I'm not on the list.

-- 
Rich Wareham

All good mathematicians are lazy but, unfortunately for most of us,
  not all lazy people are good mathematicians.
-- Anon.


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