Comments (4)
Comment author: @gasche
I seem to remember that, under X11, you need to add a space before the size specification: (Graphics.open_graphics " 400x600") may work better.
from graphics.
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!
from graphics.
Comment author: sampo
Thank you.
If I use a Cygwin terminal, the background is red.
GNU bash, version 4.4.12(3)-release (i686-pc-cygwin)
If I use a Windows Vista terminal, the background is black.
Microsoft Windows [version 6.0.6002]
Copyright (c) 2006 Microsoft Corporation. Tous droits réservés.
from graphics.
Comment author: @xavierleroy
The mystery of the X11 geometry specification was explained.
The bad characters in the windows title should be fixed by now.
What remains is the mysterious red background under Cygwin. Actually, even the black background under Windows could be a bug -- I thought we want a white background for all ports.
from graphics.
Related Issues (20)
- Higher version number HOT 9
- release graphics in opam for ocaml 4.09.0 HOT 13
- 4.10 dune runtest fails undefined reference to caml_process_pending_signals HOT 1
- Unable to install on Mac OS 10.14.6 HOT 33
- Unable to install graphics on a fresh opam installation on Mac OS 10.14.6 HOT 6
- Re: ocaml: module Graphics: type event should include a resize event
- Does this library work for the Windows Linux Subsystem? HOT 4
- Cannot build graphics 5.0.1 on Linux HOT 3
- License exception may need an update HOT 2
- Compilation on native Windows fails HOT 5
- Make Graphics module use modern X fonts instead of X core fonts
- opam install graphics fail on windows. HOT 2
- Cannot load graphics library on ARM macOS HOT 2
- bug in fill_rect
- Cannot install graphics in ubuntu 20.04 on Windows laptop HOT 2
- Question: how to handle close of window? HOT 2
- Mac: Fatal error: exception Graphics.Graphic_failure("Cannot open display ") HOT 2
- sound command is not working HOT 8
- Rectangle madness HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from graphics.