Re: Fixing pango.org

2005-08-17 Thread James Henstridge
Owen Taylor wrote:

> - Must not be ugly. Pango is a project about typography. The site
>   needs to be clean and uncluttered.
>
> http://cairographics.org/introduction
>
>   Is almost OK, though it still has more "Moin" clutter than I'd like,
>   especially the big footer.
>
> http://fedoraproject.org/wiki/
>
>   While better in many ways than the cairographics.org site (Moin-1.3
>   rather than Moin-1.2) is worse in the "ugly" category because of
>   the big intrusive sidebar which is about being a Wiki rather than
>   about the site.
>  
>
By the look of it, the fedora wiki is just using the standard "sidebar"
theme distributed with moin-1.3, but with a different colour scheme.

One option would be something like the Ubuntu wiki:
https://wiki.ubuntu.com/

This is basically the moin-1.3 "modern" theme with the tabs removed.  So
the only wiki related stuff is:

* the search and login controls in the top right corner
* a single strip below the header with the various wiki links.
* one line in the footer giving the last modified date.

James.
___
gtk-i18n-list mailing list
gtk-i18n-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-i18n-list


Re: I think there is a bug in get_shaper_and_font() in pango-1.8.2

2005-08-17 Thread Stephen Blackheath
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

All,

I have raised this as bug 313781.  (Sorry for not doing this at first -
was looking for a "bugs" link on pango.org. :) )

http://bugzilla.gnome.org/show_bug.cgi?id=313781


Steve
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDA/1l4nWub/+PLZsRAvEfAJ4/PyG93OZ6usV2ukJFsn5D90bF6ACfT4NN
D/H8fjRBzHHLhJ8L0whsNdQ=
=EfA9
-END PGP SIGNATURE-
___
gtk-i18n-list mailing list
gtk-i18n-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-i18n-list


Re: Fixing pango.org

2005-08-17 Thread Gora Mohanty

On Thu, 18 Aug 2005 Owen Taylor wrote :
>So, I'm getting embarassed by pango.org again. It still says:
>
>  Status: Pango-1.2 has been released and is available from 
> ftp.gtk.org

Yes, I found that site quite confusing when trying to look for
material on how Pango was handling rendering of Oriya text. I
agree that the Pango site needs to look typographically clean.

[...]
>So, anyways, just wanted throw those out there, and see if there were
>volunteers to:
>
>  A) Become site maintainer using the existing infrastructure,
>     update the content to be reasonably recent, and keep on top
>     of it on an ongoing basis.

I can do this if it works out to a few hours a week on the average.

>Or:
>
>  B) Come up with a rocking Moin-1.3 theme that says "Pango" and
>     migrate useful stuff from the existing content (if any) to it.

I can consider doing this, except that I currently have no experience
with Moin. Due to other commitments, it could be up to a month
before this is done. So, I would suggest doing A) immediately, and
working on B) gradually.

Regards,
Gora



___
gtk-i18n-list mailing list
gtk-i18n-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-i18n-list


Fixing pango.org

2005-08-17 Thread Owen Taylor
So, I'm getting embarassed by pango.org again. It still says:

 Status: Pango-1.2 has been released and is available from ftp.gtk.org

Even though I've since released 1.4, 1.6, 1.8, and 1.10. Other parts
of the site (like the screenshot gallery) are even worse.

Currently, the Pango website is XHTML using server-side includes, and
is checked into GNOME CVS:

 http://cvs.gnome.org/viewcvs/pango-we

It's reasonably clean, as long as you don't mind editing HTML 
directly, and there is a auto-checkout, so you just have to check
into CVS and it goes live. If I found a  volunteer maintainer, I could
easily  get them a CVS account. But having it as a wiki would make
volunteer contributions from a range of people easier.

My requirements:

 - Must be a distinct website, that is "Pango branded" - I don't just
   want a few pages inside live.gnome.org or something like that.

 - Must not be ugly. Pango is a project about typography. The site
   needs to be clean and uncluttered.

 http://cairographics.org/introduction

   Is almost OK, though it still has more "Moin" clutter than I'd like,
   especially the big footer.

 http://fedoraproject.org/wiki/

   While better in many ways than the cairographics.org site (Moin-1.3
   rather than Moin-1.2) is worse in the "ugly" category because of
   the big intrusive sidebar which is about being a Wiki rather than
   about the site.

 - Can't block too much on me for updating :-), that clearly doesn't
   work.

So, if I was going to do it as a Moin instance, it would have
to be a *separate* Moin instance from live.gnome.org... not too hard
to set up, though would create additional maintenance headaches
going forward

So, anyways, just wanted throw those out there, and see if there were
volunteers to:
 
 A) Become site maintainer using the existing infrastructure, 
update the content to be reasonably recent, and keep on top
of it on an ongoing basis. 

Or:

 B) Come up with a rocking Moin-1.3 theme that says "Pango" and 
migrate useful stuff from the existing content (if any) to it.

Regards,
Owen

P.S. - my thoughts on what needs doing to the current content:

 - Move all the design documents and status reports someplace
   out of the way; it's historical, not usefu. Some of the info from 
   the design documents would be nice in an appendix to the Pango
   manual, perhaps.

 - Update the Gallery section; what I think would be nice would
   be two pieces - a few screenshots of Pango in use on the
   desktop and comprehensive samples of scripts handled by Pango.

 - Update the Download and Resources section. There are quite a 
   few dead or irrelevant (Unifont, say) links under Resources.



signature.asc
Description: This is a digitally signed message part
___
gtk-i18n-list mailing list
gtk-i18n-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-i18n-list


Re: Unicode text Direction Detection

2005-08-17 Thread Mark Leisher

Gaurav Jain wrote:


Could you give me some tips on how to go about implementing a "naive"
version of such an algorithm?  Suppose I have a unicode character,
what's the simplest way to know if it is a LTR directional character
or a RTL directional character?


Try http://crl.nmsu.edu/~mleisher/ucdata.html. That will give you a simple 
implementation for testing character properties (RTL, LTR, etc.).

--
---
Mark Leisher
Computing Research LabFrantic orthodoxy is never rooted in
New Mexico State University   faith but in doubt. It is when we are
Box 30001, MSC 3CRL   unsure that we are doubly sure.
Las Cruces, NM  88003   -- Reinhold Niebuhr (1892-1971)
___
gtk-i18n-list mailing list
gtk-i18n-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-i18n-list


Re: Unicode text Direction Detection

2005-08-17 Thread Gaurav Jain
Thanks Behdad.  

On 8/17/05, Behdad Esfahbod <[EMAIL PROTECTED]> wrote:
> On Wed, 17 Aug 2005, Gaurav Jain wrote:
> 
> > Hi,
> >
> > I have a Unicode text, and I need to detect its direction by some BiDi
> > algorithm (i.e., whether it is Left-to-right or Right-to-left).  For
> > example, I need to look for the first "strong" directional character
> > in the text, and find out its direction.  Is there a way I can do that
> > using some GTK/GLib APIs?  Something, perhaps, on the line of the
> > Windows API GetStringTypeW() perhaps?
> >
> > Any help in this regard would be appreciated!
> 
> Hello,
> 
> We have one of the best bidi direction handling in GNOME, but for
> the purpose of your application, we don't have the needed API
> defined I'm afraid.  The logic is implemented in FriBidi.  It
> does have the API to give you back the paragraph direction, but
> it analyzes the test at the same time too.  In future versions of
> FriBidi it would have the exact API to just do what you're asking
> for.
> 
I found the pango API called pango_unichar_direction() which I can
probably use to determine if a given unicode character is RTL or LTR. 
So from what I understand, I will probably need to write a small
implementation of myself until GTK comes up with the API.

> In GNOME though, Pango uses an internal copy of FriBidi, which
> means, you don't have access to that facility.  And Pango doesn't
> export what you need AFAIK.  Then there's the text widget in Gtk+
> too, don't know whether it exports the direction of individual
> paragraph.  I really doubt it does.
> 
> Please file a bug report with the exact feature you want (is it
> just a paragraph of text you have, or text in a text widget,
> etc), we will look at the API addition.
OK, I will do that.
> 
> 
> > Thanks,
> > Gaurav
> 
> --behdad
> http://behdad.org/
> 
gaurav
___
gtk-i18n-list mailing list
gtk-i18n-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-i18n-list


Re: Unicode text Direction Detection

2005-08-17 Thread Behdad Esfahbod
On Wed, 17 Aug 2005, Gaurav Jain wrote:

> Could you give me some tips on how to go about implementing a "naive"
> version of such an algorithm?  Suppose I have a unicode character,
> what's the simplest way to know if it is a LTR directional character
> or a RTL directional character?


Here it is, using what's available in Glib:

  - If it's U+200E, LTR.
  - If it's U+200F, LTR.
  - If it's NOT of general category G_UNICODE_*_LETTER, ignore it.
  - If it's in the range U+0590..U+08FF, RTL.
  - Otherwise, LTR.


--behdad
http://behdad.org/
___
gtk-i18n-list mailing list
gtk-i18n-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-i18n-list


Re: Unicode text Direction Detection

2005-08-17 Thread Gaurav Jain
Thanks Matthias for the quick response.

On 8/17/05, Matthias Clasen <[EMAIL PROTECTED]> wrote:
> On Wed, 2005-08-17 at 17:32 +0530, Gaurav Jain wrote:
> > Hi,
> >
> > I have a Unicode text, and I need to detect its direction by some BiDi
> > algorithm (i.e., whether it is Left-to-right or Right-to-left).  For
> > example, I need to look for the first "strong" directional character
> > in the text, and find out its direction.  Is there a way I can do that
> > using some GTK/GLib APIs?  Something, perhaps, on the line of the
> > Windows API GetStringTypeW() perhaps?
> >
> > Any help in this regard would be appreciated!
> 
> Not currently available, but we have an open bug which requests to move
> the functionality from gtk to glib and make it public API.
> 
> 

Could you give me some tips on how to go about implementing a "naive"
version of such an algorithm?  Suppose I have a unicode character,
what's the simplest way to know if it is a LTR directional character
or a RTL directional character?
___
gtk-i18n-list mailing list
gtk-i18n-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-i18n-list


Re: Unicode text Direction Detection

2005-08-17 Thread Behdad Esfahbod
On Wed, 17 Aug 2005, Gaurav Jain wrote:

> Hi,
>
> I have a Unicode text, and I need to detect its direction by some BiDi
> algorithm (i.e., whether it is Left-to-right or Right-to-left).  For
> example, I need to look for the first "strong" directional character
> in the text, and find out its direction.  Is there a way I can do that
> using some GTK/GLib APIs?  Something, perhaps, on the line of the
> Windows API GetStringTypeW() perhaps?
>
> Any help in this regard would be appreciated!

Hello,

We have one of the best bidi direction handling in GNOME, but for
the purpose of your application, we don't have the needed API
defined I'm afraid.  The logic is implemented in FriBidi.  It
does have the API to give you back the paragraph direction, but
it analyzes the test at the same time too.  In future versions of
FriBidi it would have the exact API to just do what you're asking
for.

In GNOME though, Pango uses an internal copy of FriBidi, which
means, you don't have access to that facility.  And Pango doesn't
export what you need AFAIK.  Then there's the text widget in Gtk+
too, don't know whether it exports the direction of individual
paragraph.  I really doubt it does.

Please file a bug report with the exact feature you want (is it
just a paragraph of text you have, or text in a text widget,
etc), we will look at the API addition.


> Thanks,
> Gaurav

--behdad
http://behdad.org/
___
gtk-i18n-list mailing list
gtk-i18n-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-i18n-list


Re: Unicode text Direction Detection

2005-08-17 Thread Matthias Clasen
On Wed, 2005-08-17 at 17:32 +0530, Gaurav Jain wrote:
> Hi,
> 
> I have a Unicode text, and I need to detect its direction by some BiDi
> algorithm (i.e., whether it is Left-to-right or Right-to-left).  For
> example, I need to look for the first "strong" directional character
> in the text, and find out its direction.  Is there a way I can do that
> using some GTK/GLib APIs?  Something, perhaps, on the line of the
> Windows API GetStringTypeW() perhaps?
> 
> Any help in this regard would be appreciated!

Not currently available, but we have an open bug which requests to move
the functionality from gtk to glib and make it public API.

___
gtk-i18n-list mailing list
gtk-i18n-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-i18n-list


Unicode text Direction Detection

2005-08-17 Thread Gaurav Jain
Hi,

I have a Unicode text, and I need to detect its direction by some BiDi
algorithm (i.e., whether it is Left-to-right or Right-to-left).  For
example, I need to look for the first "strong" directional character
in the text, and find out its direction.  Is there a way I can do that
using some GTK/GLib APIs?  Something, perhaps, on the line of the
Windows API GetStringTypeW() perhaps?

Any help in this regard would be appreciated!

Thanks,
Gaurav
___
gtk-i18n-list mailing list
gtk-i18n-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-i18n-list