Closed
Bug 194519
Opened 22 years ago
Closed 22 years ago
crash with negative letter-spacing and larger portion of text
Categories
(Core Graveyard :: GFX: Gtk, defect)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: saper, Assigned: blizzard)
References
()
Details
(Keywords: crash)
Attachments
(1 file)
241 bytes,
text/html
|
Details |
User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; de-AT; rv:1.3b) Gecko/20030220
Build Identifier: Mozilla/5.0 (X11; U; FreeBSD i386; de-AT; rv:1.3b) Gecko/20030220
Example below renders fine, but please put much more text between <TD>:
<STYLE TYPE="text/css">
<!--
.boxbod {
letter-spacing: -1pt
}
-->
</STYLE>
<table><td class="boxbod">
# $FreeBSD: src/COPYRIGHT,v 1.4 1999/09/05 21:33:47 obrien Exp $
# @(#)COPYRIGHT 8.2 (Berkeley) 3/21/94
William Hoskins
Director, Office of Technology Licensing
University of California, Berkeley
</td></table>
If you enter larger text between <TD> (I put a whole BSD LICENSE text between
tags), the browser crashes.
Also works with plain <DIV...> so it's not table-related.
The exact portion of text varies, sometimes it survived two more paragraphs.
I have a fresh 1.3b installed via FreeBSD ports, I had this problem with 1.3a
as well.
FreeBSD current as of 5.0-CURRENT #1: Tue Jan 14 11:09:20 CET 2003
GTK 1.2.10 (from FreeBSD ports, portrevision 9)
Reproducible: Always
Steps to Reproduce:
1. Open URL above
2.
3.
Actual Results:
browser crash
Expected Results:
render the webpage slightly stretching characters (it does so for small portion
of text).
Sometimes I get an error message in the xterm window:
Gdk-ERROR **: BadLength (poly request too large or internal Xlib length erro
serial 2601 error_code 16 request_code 1 minor_code 0
And there's always:
Gdk-ERROR **: X connection to :0.0 broken (explicit kill or server shutdown).
Reporter | ||
Comment 1•22 years ago
|
||
Using fontconfig-2.1, Xft-2.1, Freetype2-2.1.2 and XFree86 4.2.1, all compiled
from source via FreeBSD ports.
Comment 2•22 years ago
|
||
Maybe this is related to the Debian Bug 174557
(http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=174557). It doesn't mention
negative values, but it does mention letter-spacing. If it is the very same bug,
then I'd like to add that it happend to me with Debian version 1.2.1-9 (which
was built with gtk1.2, freetype2 and xft2) and with 1.3-1 (which was built with
gtk2.2, freetype2 and xft2). If I disabled xft2 in any of those versions (in
debian it's just an additional package calles mozilla-xft) the pages (in my case
mostly http://www.xinehq.de) worked perfectly and no crash occured.
Reporter | ||
Comment 3•22 years ago
|
||
test.html from Debian bug database and xinehq.com display properly on my mozilla...
Comment 4•22 years ago
|
||
The attachment I'm putting on this bug crashes my mozilla on debian as well. (if
you reduce the number of "big" tags, then it begins to display fine).
Comment 5•22 years ago
|
||
Play around with the number of big tags. It should crash mozilla under linux.
Comment 6•22 years ago
|
||
My debian package dependency info:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux phoenix 2.4.20-1-686 #1 Sat Mar 22 13:16:21 EST 2003 i686
Locale: LANG=C, LC_CTYPE=C
Versions of packages mozilla depends on:
ii dpkg 1.10.9 Package maintenance system for Deb
ii mozilla-browser 2:1.3-4 Mozilla Web Browser - core and bro
ii mozilla-browser- 0.0.20030326.13.trunk-1 An Open Source WWW browser for X a
ii mozilla-mailnews 2:1.3-4 Mozilla Web Browser - mail and new
ii mozilla-psm 2:1.3-4 Mozilla Web Browser - Personal Sec
ii mozilla-xft 2:1.3-4 Mozilla Web Browser - Xft support
Is everyone seeing this problem using the Xft support in Mozilla?
Comment 8•22 years ago
|
||
Sorry for showing my ignorance, but how can I check if I'm using xft?
I'm assuming if you have the mozilla-xft package, you're using the Xft version.
Comment 10•22 years ago
|
||
Ah, I see. I will uninstall mozilla-xft and try the page again.
Comment 11•22 years ago
|
||
Indeed, after removing mozilla-xft, the page loads.
->Gfx:Gtk (Xft)
Assignee: font → blizzard
Component: Layout: Fonts and Text → GFX: Gtk
Assignee | ||
Comment 13•22 years ago
|
||
Works here. Looks like the sizes are clamped to about what they should be.
Blocks: xft_triage
Reporter | ||
Comment 14•22 years ago
|
||
I have installed Mozilla 1.3 final, upgraded XFree86 libraries
and servers to 4.3.0, Xft is 2.1, fontconfig is 2.2, freetype 2.1.7
and now the example renders fine.
Also examples:
http://www.xinehq.de/
http://bugzilla.mozilla.org/attachment.cgi?id=119067&action=view
http://bugs.debian.org/cgi-bin/bugreport.cgi//tmp/test.html?bug=174557&msg=3&att=0
I think we can close it.
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → WORKSFORME
Updated•16 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•