Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Graphics background color under Windows #9
Original bug ID: 7745
draw_poly [| 30,300; 200,40; 400,190; 250,500 |];;
fill_poly [| 35,300; 200,45; 395,190; 250,495 |];;
Exception: Graphics.Graphic_failure "Cannot open display 600x600".
Comment author: @dra27
For the Windows part, I'm not seeing the black fill instead red - can you give some more details of your set-up (which Windows port, which version of Windows).
I have no idea if the characters being displayed for the window title are strictly Chinese, but ocaml/ocaml#1629 fixes the bug!
Comment author: sampo
If I use a Cygwin terminal, the background is red.
If I use a Windows Vista terminal, the background is black.
Comment author: @xavierleroy
The mystery of the X11 geometry specification was explained.