Return to BSD News archive
Xref: sserve comp.windows.x.apps:8377 comp.windows.x.i386unix:15676 comp.os.386bsd.misc:5554 comp.unix.bsd.freebsd.misc:19 comp.infosystems.www.misc:17157 Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!munnari.oz.au!spool.mu.edu!howland.reston.ans.net!nctuccca.edu.tw!news.cc.nctu.edu.tw!news!gate!taob From: taob@gate.sinica.edu.tw (Brian Tao) Newsgroups: comp.windows.x.apps,comp.windows.x.i386unix,comp.os.386bsd.misc,comp.unix.bsd.freebsd.misc,comp.infosystems.www.misc Subject: Bug in Netscape with very large fonts Date: 4 Mar 1995 20:13:44 GMT Organization: Computing Center, Academia Sinica Lines: 74 Message-ID: <3jahlo$eh9@gate.sinica.edu.tw> NNTP-Posting-Host: taob%@gate.sinica.edu.tw X-Newsreader: TIN [version 1.2 PL2] I was experimenting with changing the sizes of Netscape's fonts this evening and discovered a bug in the way it handles large fonts. This system is a 486DX4/100 running FreeBSD 2.0 and XFree86 3.1.1. I've opted to use the Charter scaleable font that comes with XF86 to avoid the jaggies at non-standard sizes. Unfortunately, fonts that are larger than 240 ptSz are corrupted in the Netscape window. For example, an uppercase 'B' might look like this: ######### ## ## ## ### ## ### ## ## ####### ## ## | | | ||| | | | ||| | | | ||| | | | ||| The lower half of the letter is often replaced by a random series of vertical lines. 95% of the corrupted letterforms are uppercase. Any lowercase letters with this artifact always immediately follow another corrupted letter. Highlighting and unhighlighting the text using the mouse pointer will alter the extent of the damage, sometimes completely removing it. The sizes I use are 360, 480 and 540. I've included a sample GIF below that illustrates the font corruption. The problem persists if I switch to using large bitmapped fonts, but not using *scaled* bitmapped fonts (i.e., doubling a 240-pt font to use as a 480-pt font). The utilities xfd and xfontsel display these large fonts properly, so this suggests a bug in Netscape's font drawing routines. Anyone else have this problem? >>>>> begin 644 badfont.gif M1TE&.#=A"P(V`/```````,#`P"P`````"P(V```"_HR/J<OM#Z.<M-J+L]Z\ M^P^&XDB6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