Gnome Canvas improves graphics. 74
doobman wrote in
to tell us that GNOME has a
nice little update online about the
new canvas stuff which features (among other things)
built in anti aliasing. Yum.
"Time is money and money can't buy you love and I love your outfit" - T.H.U.N.D.E.R. #1
GNOME doesn't depend on X, and shouldn't (Score:1)
please kill this thread (Score:1)
Window Manager setup - Enlightenment? (Score:1)
Tigert...
I use that FVWM2 setup all the time, and I like some of the other incarnations I see in your screenshots. Any chance you could occasionally put more tarballs of your FVWM2 setup on your site?
TIA!
Canvas (Score:1)
The original Gnome canvas was a port of the Tk canvas, with some extensions (hierarchical groups of items and integration with the Gtk+ object system). The Tk canvas is in turn based on Joel Bartlett's implementation of structured graphics for Scheme.
Raph then took his insanely great libart functionality and implemented it into the Gnome canvas, giving it antialiasing, alpha-compositing and affine transformation capabilities.
GtK Metal Theme kicks ass (Score:1)
I agree it does, but is there a Metal theme available for Enlightenment ? (i know there is one in Icewm that looks really spiffy) metal gtk theme + window manager metal theme = awesome
Text looks like shit (Score:1)
Youy may get antialiased fonts in your gtk / gnome apps soon, but it won't be via X!
Window Manager setup - Enlightenment? (Score:1)
Window Manager setup - Enlightenment? (Score:1)
Uhm, AA text is going to be provided in XFree86. (Score:1)
XF86 folks, and we know that TT is on the way
in the much-anticipated 4.0 release. However,
GNOME is supposed to work on all unices, not
just Linux, and that means working on X servers
other than XF86. That, not NIH, is why the
canvas rocks as much as it does.
Something else that people have failed to mention
is that the canvas is flicker-free, something
rarely found in its competitors in the X world.
Uhm, AA text is going to be provided in XFree86. (Score:1)
inclusion as a standard extension."
I can't find mention of this anywhere on the
XF86 web page. Can you point me to the
announcement/plan document?
Canvas (Score:1)
What's cool about this one is its really smooth integration into the Gtk+ object model, and the antialiased rendering back-end.
Uhm, AA text is going to be provided in XFree86. (Score:1)
Antialiased text is not done yet (Score:1)
My feet hurt. So does my head. (Score:1)
Anti-aliasing is being aimed at more than XFree86 (Score:1)
The X Typographical Extension returns from the grave?
I have the impression that there are other complaints about X's font/text handling, such as no support for kerning, and the inability for programs to get enough information about fonts to do printing (or even on-screen formatting?) the way they'd like (I have the impression that's at least one reason why WordPerfect for Linux has its own fonts). Is this extension intended to do more than just allow an X server to draw anti-aliased text?
GNOME doesn't depend on X, and shouldn't (Score:1)
Am I the only person who thinks X should die and be replaced with a lightweight window system?
Bruce
GNOME doesn't depend on X, and shouldn't (Score:1)
Am I the only person who thinks X should die and be replaced with a lightweight window system?
Bruce
Like Fresco's structured graphics (Score:1)
Still, shouldn't the Gtk API be modified to put this at the heart of the system, rather than as a parallel add-on? It seems kludgy to have two parallel widget APIs, one for "classic" Gtk widgets and one for "Canvas Item" widgets. Also, quick question: does this this canvas allow for huge scrollable areas with a transparent API? The current Gtk ViewPort widget is incredibly lame with its limitation of 32K x 32K.
I'm not complaining though. I'm really glad to see a popular widget set (Gtk) get some nice features of a well-designed (but unfortunately didn't catch on) widget set like Fresco. I decided in July, out of all the choices of widget toolkits for Linux, to use Gtk-- for my current project at work. My reasoning was that even though the API was in some ways inferior to, say Fresco or Java's JFC, the incredible momentum behind it would make up for that because so many people are working on the same base. Gtk is also free software, a big advantage over Java and (at the time at least) Qt. Reading about this cool canvas stuff makes me more sure of my decision.
Michael Babcock
michael@kanji.com
Like Fresco's structured graphics (Score:1)
Right. This was exactly my point. You've now got two parallel hierachies of widgetry rather than a simple unified functionality common to all widgets. So I have to create and maintain two versions of all my widgets?
Regarding the layout, does it support a huge widget inside the scrollable area, or merely many 32k x 32k sized widgets spread out over a huge area? A decent viewport, in my opinion, should allow the widget writer to completely forget about the scrollbars and simply have a huge canvas to deal with. Unfortunely the current Gtk design does not allow this because Gdk is not object-oriented. You are passed a rectangle to your draw function which merely has the X level coordinates as 16-bit ints, and you draw using the gdk_* X wrapper functions. You should instead be passed a Graphics object that you draw with. A scrollable viewport would pass you a Graphics-derived object that translates (or even rotates and scales) your coords.
In summary, it should be possible to write, for example, a text area widget without thought of scrollbars and have it pop in a viewport widget to get scrollbars transparently, with no limitation on the size of the text area. Note that this does _not_ mean you give up the ability to specify proper line and page increments based on the contents of your text area (or whatever widget). See Java Swing's Viewport for an example of this.
I guess we should be discussing this on the mailing lists.
GNOME doesn't depend on X, and shouldn't (Score:1)
No, but you and the others that think so are wrong.
Berlin is an interesting experiment in archictecture, but most of their perceived shortcomings of X aren't. Most of them are merely shortcomings with the current XFree86 implementation version 3.2.
Canvas (OpenGL?) (Score:1)
--Karl
My feet hurt. So does my head. (Score:1)
The reason my head hurts is from slamming my head on the table from their statement regarding image quality: "Please note that the GIF compression may have added artifacts to the images." Sure, if there were more than 256 colors, this may have been the case, but if that was a concern, they could have used a less-colorful titlebar and window decorations, and even as they are they don't look like they'd need 64 colors, much less 256 (though that overly-colorful bitmap in the corner could be a problem). If they didn't want artifacts, they could have just used a somewhat less-colorful test image. Remember, folks, GIF is *non-lossy*. It uses a similar compression scheme to
Heh, this reminds me of some luser on IRC a few years ago, who was insisting that
Anyway. If any image format will cause lossiness,
That said, the new antialiasing features look very, very nice, althouhg that seems that it'd be at the loss of network-transparency. Although most Linux users these days run their X, clients on the same machine as the server, many still use X terminals in a computer lab in a distributed environment. I hope that there'll be a configuration option to turn anti-aliasing off so that we can keep server-side rendering and reduce the bandwidth overhead (not to mention that server-side is much faster and much less resource-intensive if you have an accelerated graphics card, like almost everyone does now). Anti-aliasing is the sort of thing which should go into the server, not the client, for the most part.
---
AA-based X server! (Score:1)
Actually, if there's an SVGAlib-based X server, then I guess one could just use the aalib wrapper. Then we could even get X under aalib under graphical X... that'd rock.
---
My feet hurt. So does my head. (Score:1)
---
Ah, okay (Score:1)
(At the risk of sounding like the "GNUlix" AC troll, IMO it'd be a good idea to use freespeech and freebeer as short for their Richard Stallman-inspired phrases. Makes things easier, but then confuses other issues. English sucks.)
So PNG is basically an actually-successful format which was inspired by the same circumstances behind POT (basically a 16-bit GIF, which was part of Fractint - which incidentally, Michael Barnsley had a lot to do with as well IIRC).
Speaking of which, whatever happened to Fractint? It's one of the earliest commonly-used open source programs around for the PC (it's been around since what, '87? or earlier?) and certainly the first both usable by "normal" people (EMACS is great, but give that to a Notepad graduate...) and incredibly powerful for people who knew what they were doing... but development seemed to stagnate after v19.2 or so. Was there ever a decent platform-independent port? xfractint blows, as did winfrac (didn't help that winfrac was based on v12, which horribly sucked)... In the meantime, there's no decent (AFAIK) pluggable mathematical exploration systems around which let you explore basically anything, particularly fractals, and do it very quickly. I mean, okay, XaoS is good for that, but it's mostly artistic, and it's not exactly the most modular/flexible program around...
---
Ah, okay (Score:1)
POT was created for continuous potential fractals. It's really just a 8bit GIF with two images placed side by side, one for the high bits, one for the low, giving you 16bits. Try opening one in a standard paint program, and you'll see what I'm talking about.
Funny, I never tried that. I always figured it'd just not work. Though the end effect is still that it's a 16bit GIF, more or less. Neat how they made it backwards-compatible like that, though.
I have xfractint here, and I don't see Barnsley's name appear in the credits.
Funny, I coulda sworn it did, as did a lot of other big fractal mathemeticians. Perhaps I'm just remembering a different fractal guy, or maybe even just a credit to him for an algorithm or citation. Again, it was IIRC; I haven't used fractint for years.
Not much. Its currently at v19.6 or thereabouts, and still pretty much just for DOS. The licence isn't very liberal, and the code very platform specific (for performance reasons), so if you wanted to make a decent X Windows fractal program, you'd be better off starting from scratch.
Hm, I suppose, but I'm not really that dedicated to fractals anymore. :) Guess I could do it nice and C++-ish, and actually use the FPU now that FPUs are worth using. What I really liked about Fractint was the built-in language parser for quick prototyping, though, and I don't have much desire to write one of my own. :) Perhaps making a truly-pluggable architecture would work... just use good ol' gcc as the compiler and just dynamically load the new fractal type as a shared library.
---
GNOME doesn't depend on X, and shouldn't (Score:1)
'Splain please. (Score:1)
Not Invented Here :-) (Score:1)
It's just good that we now have these things available in the free software community.
We're quickly picking up technology that only the commercial world has had for a while.
Isi it just me, or.. (Score:1)
Icon antialiasing (Score:1)
Nope. (Score:1)
porting GDK to Berlin (Score:1)
Is this Legal? (Score:1)
doobman
Is this Legal? (Score:1)
Yeah, where the hell does Microsoft get off stealing Apple's 20-year-old sub-pixel font rendering techniques?
http://www.grc.com/cleartype.htm [grc.com]
A powerful engine (Score:1)
you see on the screenshots are the ones provided by the stock gnome libraries).
New display items are easy to write. For example, the gnumeric spreadsheet is made up of 4 custom canvas items (one of them the grid/cell display). The GXSNMP program also uses it as its main window display code.
The Gnome icon list (also part of the gnome libraries) is also implemented as a Canvas with various custom items.
This is a powerful engine that will allow developers to concentrate more on their code, rather than concentrate on handling little GUI details
My feet hurt. So does my head. (Score:1)
For real info goto:
http://www.cdrom.com/pub/png/ [cdrom.com]
-Alan
Canvas does rotation too... (Score:1)
And keep in mind this is work in progress.
tigert
Delphi (Score:1)
BUT, Object Pascal isn't that great of a language. I have run into the languages limits, but I've been able to work around them. However, there are better lanuages, mainly Java and C. C++ is nice, but it appeals mainly to the esoteric nature of hackers. As a language, it's got some problems. So, I'm happy working as a Delphi programmer.
Now, if only there was a Linux/X11 version, I'd be in heaven.
Is this Legal? (Score:1)
GNOME doesn't depend on X, and shouldn't (Score:1)
Maybe Chris Toshok's Y Window System [hungry.com] will happen, but X compatibility (via a libX11 proxy lib or proxy X server) will be required forever.
Network performance (Score:1)
Thanks Raph for pushing Linux graphics a giant step forward!
Text looks like shit (Score:1)
Is this Legal? (Score:1)