[comp.windows.x] Bad font--Helvetica Roman Bold 10 point

solomon@gjetost.cs.wisc.edu (Marvin Solomon) (03/07/89)

			  X Window System Bug Report
			    xbugs@expo.lcs.mit.edu




VERSION:
    R3

CLIENT MACHINE and OPERATING SYSTEM:
	any

DISPLAY:
	any (see below)

WINDOW MANAGER:
	any

AREA:
	fonts

SYNOPSIS:
	weird width in 10 point bold Helvetica font

DESCRIPTION:
	The file $(TOP)/fonts/bdf/75dpi/helvB10.bdf lists the DWIDTH of the
	character Oslash as being 4942, when it should be 8.  This causes problems
	even if that particular character is never referenced, since various
	metrics are computed (by bdftosnf) using the maximum DWIDTH.
	So far as I can tell, only Helvetical Bold Roman 10 point has this
	problem.

REPEAT BY:
	xfd -fn '*helvetica*-bold-r-*-10-*'
	On my server (vaxstation 3200, 4-plane gray qdss), you get a very wide
	blank window.

	Another program causes this server to crash when trying to use this font,
	but I haven't bothered to try to reproduce the problem with a small test
	case, since it's easier to fix the font. Besides, this server is
	so flaky, this problem is the least of my worries!

SAMPLE FIX:
	*** /tmp/,RCSt1016180	Mon Mar  6 12:48:03 1989
	--- helvB10.bdf	Mon Mar  6 12:36:28 1989
	***************
	*** 2206,2212 ****
	  STARTCHAR Oslash
	  ENCODING 216
	  SWIDTH 778 0
	! DWIDTH 4942 0
	  BBX 7 8 0 0
	  BITMAP
	  3A
	--- 2206,2212 ----
	  STARTCHAR Oslash
	  ENCODING 216
	  SWIDTH 778 0
	! DWIDTH 8 0
	  BBX 7 8 0 0
	  BITMAP
	  3A
	Marvin Solomon
	Computer Sciences Department
	University of Wisconsin, Madison WI
	solomon@cs.wisc.edu
	...seismo!uwvax!solomon