|
From: | m . gubinelli |
Subject: | Re: [Texmacs-dev] Compiling TexMacs on OSX |
Date: | Wed, 11 Jun 2008 16:57:07 +0200 |
Hi, On Jun 9, 2008, at 5:02 PM, Andreas Körner wrote: Ok, I think NSInteger has been introduced in 10.5. I developer the cocoa port under Leopard (at least in the last times) and I hadn't the opportunity to test it on 10.4.
the port is in a very early stage. My first goal has been to implement roughly the basic stuff, also to get acquainted with the source code. Joris has made a very nice work in separating the different layers of the GUI and it has been not so difficult to make TeXmacs run natively under cocoa. However there are many weak points: 1) the rendering mechanism which keeps the UI up to date while typing is not as smooth as in the X11 version. In particular at the moment the shadow rendering mechanism is virtually disabled (in the sense that the shadow drawable is actually the real drawable) 2) the support for the keyboard is primitive. Mac keyboard allows very complex patterns (like the key sequence required to produce chars like î on english keyboards). We must take inspiration from other ports to have a sensible way of doing it. (e.g. look at the cocoa port of Emacs). 3) all widgets for opening, saving, printing must be correctly implemented. At the moment they are just mock up implemented with standard parts which does not fit very well the logic of texmacs. 4) menus are working but improvements should be possible (caching?, better structure for the code,...) 5) better handling of fonts, possibility to use directly system fonts (or open-type versions) instead of the bitmap fonts created by freetype or pk fonts 6) there are problems with images These are the priorities as far as I'm concerned. For personal reasons I'm not able at the moment to spend much time on the port, but I hope to do so within some months. But I would be glad if somebody would like to join the effort. At the moment the cocoa code base is not very large and it is a good moment to join the project since it will not take much effort to have a complete understanding of the port (and is also an easy way to start understanding the TeXmacs codebase). Best, Massimiliano Gubinelli
|
[Prev in Thread] | Current Thread | [Next in Thread] |