Patch-ID# 100176-35
Keywords: XDrawSegments lines XdrawArcs ellipse XAllowEvents save under
Synopsis: OpenWindows 2.0: Patch release 2008-41 for X11-NeWS server
Date: Dec/13/96

Solaris Release: 1.1
 
SunOS Release: 4.1 4.1.1 4.1.2 4.1.3
 
Unbundled Product: OpenWindows
 
Unbundled Release: 2.0
 
Topic: Patch release 2008-41 for X11/NeWS server
 
BugId's fixed with this patch: 1040959 1043824 1043582 1041986 1043914 1044043 1044086 1044246 1044315 1044475 1045150 1046997 1045563 1045650 1045652 1045857 1045887 1047358 1047494 1048120 1050109 1051287 1051689 1051848 1052157 1052239 1052479 1052697 1052749 1052822 1053164 1053342 1053511 1053954 1054009 1054362 1054811 1054918 1055187 1055265 1055656 1055672 1056088 1056131 1056324 1056454 1057110 1057234 1057502 1057750 1058592 1058818 1059182 1059186 1059230 1059933 1060093 1060964 1061098 1061305 1061436 1061881 1062574 1062616 1062834 1063240 1063261 1063464 1063821 1069548 1069590 1071322 1073339 1075651 1073384 1077556 1076003 1073809 1082090 1052712 1029245 1081722 1086167 1081008 1086165 1094260 1094607 1091964 1041474 1108520 1114961 1133920 1145599 1155856 1176281 1180525 1181204 1180528 1196482 1205009 1211923 1213003 1245333 4018169

Changes incorporated in this version: 4018169

Relevant Architectures: sparc
    NOTE: sun4

Patches which may conflict with this patch:

Obsoleted by: 
        NOTE: OpenWindows V3

CheckSum:

	05575  1776 xnews

Problem Description:

1040959 - odd line widths identical to even widths (5==4) shapes bug.
1043824 - Intermittent failure to deactivate automatic pointer grab.
1043582 - popup windows cause damage if the are partially off screen
1041986 - XGetImage will crash server if planemask is set to AllPlanes...
1043914 - CharStrings does not contain entries for unencoded characters.
1044043 - pointer grabs generate incorrect enter/leave events.
1044086 - incorrect rendition of some stroke characters NeWS bug.
1044246 - killing a client while the server is grabbed causes SEGV
1044315 - The server can get into an infinite loop and consume cpu time
1044475 - XDrawArc doesn't draw large circles correctly
1045150 - R to L copies less than one longword.
1046997 - server hangs if button event generated when socket is full
1045563 - XDrawLine with negative points crash the server
1045650 - Bad pixmaps are created and NO ERROR is returned....
1045652 - Creating 100 to 200 pixmaps causes the server to crash
1045857 - FrameMaker 2.1X crashes server
1045887 - cgsix, sparc station, server crashes on XDrawSegment
1047358 - KeymapNotify events being generated in the wrong order.
1047494 - NeWS line > 1 cap style CapRound, caps hanging bug.
1048120 - NeWS line > 1 not drawn correctly if cap style CapRound.
1050109 - Line Width > 1 not drawn correctly.
1051287 - DGA leaves file descriptor open for color map.
1051689 - Short rlineto lose accurate current point for wide lines.
1051848 - Plane masking bug.
1052157 - xcs_clear sh_mem_fill clear region server crash.
1052239 - sh_Shape_Raster() bad calculation memory corruption core dumping.
1052479 - Out of bounds framebuffer access.
1052697 - Out of bounds framebuffer access.
1052749 - Shapes bad calculation memory corruption core dumping.
1052822 - Out of bounds framebuffer access.
1053164 - Fill operator causes dropouts of Type 3 Fonts.
1053342 - Visibility Notify not received when window partially obscured.
1053511 - Windows over 32000 pixels BadAlloc shapes bug.
1053954 - Visibility Notify enabled impacts server performance.
1054009 - Set screen saver bug.
1054362 - Postscript accentuated characters disappear text shifts.
1054811 - NeWS Lotus graphs not rendering right and bottom lines.
1054918 - XNeWS would not render 256 colors.
1055187 - XFillRectangle on a cg3 stipple incorrect results.
1055265 - Plaid OW demo crashes LSCrev2 legosc
1055656 - XSetFillStyle FillTitled stipple fill incorrect.
1055672 - Pageview does not display Postscript document correctly.
1056088 - Protect the server from out of framebuffer accesses.
1056131 - Closepath doesn't produce a line join if last element zero length.
1056324 - NewsPrint Sparc Printer Bad Line Widths.
1056454 - Frame on OWV2 can crash legosc quadro systems.
1057110 - LSC Rev 2 chip has bug in frame buffer arbitration.
1057234 - XGL and server graphics can crash legosc.
1057502 - Doubledash lines not rendered when rop set.
1057750 - xcs_clear xcsProcs shapes fill area needs range clipping.
1058592 - XSetClipRectangles inconsistent clipping action bug.
1058818 - xc_create_transmem_raster not clipping child raster to fit parent.
1059182 - Postscript file will not render properly.
1059186 - Postscript line drawing and rendering bug.
1059230 - SparcPrinter won't print excel postscript files.
1059933 - Can't printout NeWSprint characters are upside down.
1060093 - Stippling and clipping not displayed correctly.
1060964 - colormap corruption server core dump when running props.
1061098 - X11 wide lines coincident first & last points not joined.
1061305 - XDrawArcs test in MIT Xlib test crashes xnews server.
1061436 - xnews return wrong Fontmatrix on redefined font PostScript bug.
1061881 - do not return per character metrics for fixed size fonts.
1062574 - Window grabber clip problem cv_unmap.
1062616 - pageview will send xnews process into an infinite loop
1062834 - events open declaration syntax error.
1063240 - docviewer intro screen corrupted after installing xnews patch.
1063261 - cv_reshapecanvas to send expose properly.
1063464 - ListFontsWithInfo slow performance.
1063821 - window mapping bug.
1069548 - poor performance of XQueryFont
1069590 - xnews server crashes after allocating 216 colors
1071322 - XDrawRectangle with large negative y-value draws trapezoid instead of rectangle
1073339 - Applications crash server with patch level 8
1075651 - app. crashes after destroying and recreating static cm repeatedly
1073384 - xnews server crashes when using Cadence software
1077556 - Dual screen PostScript drawing gets corrupted on one screen with two LegoSc's
1076003 - setdash doesn't work properly in Newsprint as compared with Apple Laserwriter
1073809 - OpenWindows 2.0 initmatrix postscript operator corrupts current point 
1082090 - bitmap fonts have origins sometimes displaced by a pixel in the V2-CTE tree server.
1052712 - imagemask leaves dirt on screen if not rendered to integer bounds
1029245 - /contrastswithcurrent is comparing pixels rather than RGB values
1081722 - Filemgr core dumps when starting up text edit and using text edit
1086167 - Need to reset the dash offset each line in XDrawSegments on GX
1081008 - keyboard mapping is changed unexpectedly in OWN 2.0
1086165 - Dashes cap problem on OWV2 (depend on join_style "JoinRound")
1091964 - Mode_switch does not apply to Function keys: Japanese keyboard
1094260 - XAllocColor causes color change 
1094607 - Dot edged circle display solid edge on GKS4.0.1 with 100176-15 server patch
1041474 - XQueryFont returned unexpected values
1108520 - WIN_MOUSE_XY with hot spot at the middle of the cursor does not work correctly
1114961 - xnews server core dump when use XShmGetImage
1133920 - XAllocNamedColor works incorrectly with patch 100176-20
1145599 - xnews server cannot draw correctly by XDrawArc
1155856 - xnews patch #100176-21 causes Interleaf not to work
1176281 - XFillRectangle never draws rectangle with any width and any height value.
1180525 - Active caret does not get displayed with 100176-24 on cmdtool etc.
1181204 - OWN 2.x / 3.2 : XDrawArc() draws smaller/shorter width arc
1180528 - XFillPolygon on a cg3 gives incorrect results.
1196482 - xnews dump core if motif client run with any procedure of colormap
1205009 - Wide/long lines are not rendered with XDrawSegments.
1211923 - XDrawArcs() doesn't work correctly with small width and large x coord.
1213003 - X11/NeWS hang up if XAllowEvents is called with Asyncxxxx.
1245333 - Problems with saveunder.
4018169 - Patch 100176-34 delivers a stripped version of the server

NNNNNNN - Tile and Stipple related bug fixes.
NNNNNNN - XGetImage ZPixmap transferred whole raster error.
NNNNNNN - Shape_Obj excessive local temporary shapes being created.
NNNNNNN - DragAndDrop cursor does not appear.
NNNNNNN - Snaptool does not work correctly.
NNNNNNN - AnswerBook does not display pages correctly.
NNNNNNN - Performance enhancements for font queries
NNNNNNN - psterm title bar does not repaint after resizing
NNNNNNN - IslandDraw core dumps at startup time
NNNNNNN - VideoPix's vfctool dies with X error


Known problems:
	- The fix for bugid 1041474  in the server requires
	  that applications depending font properties should
	  use V3 fonts or fonts that have properties in it.
	- F3 fonts do not provide full set of font properties;
	- PostScript applications using large number math (numbers
	  bigger than 32768) will not render correctly.


INSTALL:

	For OpenWindows:

	For sun4 use sun4 dir. 

        1 - Exit OpenWindows
        2 - su to root
        3 - cd to $OPENWINHOME/bin
        4 - get patch from current xnews by typing
                strings xnews | grep "Patch #"
        5 - if patch id exists
                mv xnews xnews.patch_id_123456_89
                where patch_id_123456_89 is recorded from step #4
            else
                mv xnews xnews.20fcs
        6 - cp "patched xnews" xnews
		where "patched xnews" is the absolute path to the xnews
		executable delivered in the patch package.
        7 - chmod 755 xnews
        8 - exit root
        9 - Restart OpenWindows

	For NeWSPrint:

	1 - determine which xnews server your NeWSPrint installation
	2 - cd to this directory
	3 - mv xnews xnews.FCS
	4 - cp xnews .
	5 - chmod 755 xnews
	6 - kill xnews process
	7 - next time lpr will be used NeWSPrint will restart server
