FW: Cairo and Pango viable for UI development? // Text2

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

FW: Cairo and Pango viable for UI development? // Text2

Stew MacLean

 

Hi Michael,

 

Thanks for the positive and encouraging comments on Cairo.

 

My only concern, is that this has been along time coming. Travis started with Cairo in 2006 – he’s left and seven years later it is still in preview and still being “tossed around”.

 

It seems like it’s very much a “do it yourself” deal – which is all well and good if you have the chops and time to delve into the DLLCC stuff and compile libraries etc. The examples in Store are flaky, and Pango seems almost impossible to get to work.

 

I’ve not been too fussed about the UI in VisualWorks up till now, but it would just look “old and clunky” on the apps store in its current form.

 

I know this has been discussed at length and various avenues explored, but I would put this at the top of the list – please tell Arden!

 

Cheers,

 

Stewart

 

 

-----Original Message-----
From: Michael Lucas-Smith [mailto:[hidden email]]
Sent:
7 June 2013 6:21 p.m.
To: VW NC
Cc: [hidden email]; [hidden email]
Subject: Re: [vwnc]
Cairo and Pango viable for UI development? // Text2

 

Hi All,

 

So Text2 doesn't improve the fonts per-se, but it does measure with fonts correctly. If you have a decent Unicode font (Windows Vista+, OS X) then you're sitting pretty. Linux / Unix is a bit of a different story which I won't go in to depth about here.

 

Tony and I have been keeping a close eye on CairoGraphics, but also on HarfBuzz, which is MIT and the underpinnings of what Pango does. CairoGraphics is not a dead end in our minds, not in the slightest, it's still the most promising graphics platform we've used.

 

We're in the processing of planning our priorities for the next version of VisualWorks and we've been tossing around more work on CairoGraphics. I know a lot of you are using it already. I have a great deal of enthusiasm for CairoGraphics. I think its APIs are really rich and it's easy to use. I like it a lot.

 

The best I can offer at this point is "Watch this space" and if you want better than that, "Pester Product Management" :) (psst: That's Arden).

 

Michael

 

On 07/06/2013, at 3:56 PM, [hidden email] wrote:



If I remeber well Travis never really managed to compile Pango correctly on all platfroms as he did with Cairo. Some years ago I used Pango, but as it didn't move on, I reverted back to the smaller text API of Cairo.

 

Still think that if you take the GTK libraries you schould be able to get it to work. And if you're a C programmer you might even be able to extend the API to the rest of the Library ?

 

My problem with Text is that VW text doesn't scale like Cairo text which I use to represent my Tables in PDF files. Text with's vary as it is simply not the same font between a VW Arial and a Cairo Arial.

 

I really would like to know how Text2 is going to handle that ? Does it draw to a Cairo Context ?

 

Regards,

 

@Maarten,

 

 

> "Stewart MacLean" <[hidden email]> |

Hi,

I’ve been exploring the feasibility of using Cairo/Pango for developing a user interface that would primarily be akin to a tree Organisation Chart.

I want it to look nice, cross platform and zoomable, and from what I’ve seen good results can be obtained with Cairo.

Unfortunately as I did a bit deeper, it looks like it’s still very much experimental and a bit of a “black art”. I’ve been unable to get Pango to work.

I know Cairo has been on the radar for a few years now, but it is still unsupported by Cincom and third party development seems to have waned.

What is the general consensus? Should I pursue this avenue or maybe look at using SWIG to hook up to Qt (which I have used successfully from Ruby, and looks quite nice), or something else?

All viewpoints appreciated…

Cheers,

Stewart

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc

 


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc