Re: GTK+ 2.21.6

2010-08-18 Thread Behdad Esfahbod
On 08/18/10 12:50, Paul Davis wrote: On Wed, Aug 18, 2010 at 12:44 PM, Matthias Clasen matthias.cla...@gmail.com wrote: I don't see how that follows. All that is happening in 2.22 is that some things are getting deprecated. You can still use them. We are not going to take them away from you

Re: [cairo] Pango underline does not work with cairo scale.

2010-05-04 Thread Behdad Esfahbod
Known bug. Fixed it in pango master repository right now. http://git.gnome.org/browse/pango/commit/?id=1caf2947f0941e2354dd4f43d56934e1ec706b6e http://git.gnome.org/browse/pango/commit/?id=34e05035af0ce854df1cc2f77c0b11dbc1a3cb36 behdad On 04/30/2010 02:53 AM, Magicloud Magiclouds wrote: Hi,

Re: How to calculate the font size?

2010-04-15 Thread Behdad Esfahbod
On 04/14/2010 09:57 PM, Magicloud Magiclouds wrote: Hi, could someone help me? Pango's maillist seems inactive. Thank you. On Wed, Apr 14, 2010 at 3:31 PM, Magicloud Magiclouds magicloud.magiclo...@gmail.com wrote: Hi, I am not quite familiar with the font thing. Now I have a simple

Re: pango-cairo backward compat

2009-11-05 Thread Behdad Esfahbod
On 11/05/2009 05:37 PM, Allin Cottrell wrote: I'm trying to write a function in such a way that (a) it doesn't use currently deprecated code if that's avoidable while (b) it builds OK against earlier versions of pango. I'd be grateful if any pango expert could take a quick look at this and see

Re: Pango problems

2009-10-21 Thread Behdad Esfahbod
On 10/15/2009 05:22 PM, Geoff Johnson wrote: Out of no where my program decided to start having problems with Pango rendering. The GUI now shows text as the standard no character boxes and all of the icons that were there have been replaced by the red x file icon. When I run the program I get a

Re: pango and Type 1 FontName

2009-09-23 Thread Behdad Esfahbod
On 09/23/2009 11:07 AM, Allin Cottrell wrote: I wonder, is there a way to get hold of the FontName for a Type 1 font, given the family name as returned by a user's selection of a font in the GTK font selector? E.g. the user selects Bodoni MT and we want to map this to the FontName in the afm

Re: fonts list using pango

2009-09-17 Thread Behdad Esfahbod
On 09/17/2009 12:46 PM, Manu TM wrote: Hi, I've been unsuccessfully looking for a way to dump a list of all available system fonts using pango but without poping-up a gtk font chooser button. Does anybody have a clue or know a link to some good doc about this? Many thanks in advance.

Re: enumerating available fonts

2009-03-18 Thread Behdad Esfahbod
On 03/18/2009 05:14 PM, Chuck Crisler wrote: How do I enumerate the fonts available on a system? I suspect XListFonts() may not yield all of the nicer fonts but I haven't been able to find anything promising in Pango. pango_font_map_list_families()? behdad Thank you! Chuck

Re: enumerating available fonts

2009-03-18 Thread Behdad Esfahbod
. Chuck On Wed, 2009-03-18 at 17:16 -0400, Behdad Esfahbod wrote: On 03/18/2009 05:14 PM, Chuck Crisler wrote: How do I enumerate the fonts available on a system? I suspect XListFonts() may not yield all of the nicer fonts but I haven't been able to find anything promising in Pango

Pango 1.24.0 released

2009-03-16 Thread Behdad Esfahbod
Bug 469049 – Fix all compiler warnings Bug 565379 – pango_font_description_better_match some style attributes of old_match are not checked Bug 564877 – pango-engine.h: PANGO_MODULE_PREFIX and G_MODULE_EXPORT Behdad Esfahbod 16 March 2009

Re: font problems

2009-02-05 Thread Behdad Esfahbod
Dan McMahill wrote: The unicode character there is a lower case greek epsilon. When I print to PDF, that character is clearly bitmapped and looks ugly compared to the rest of the text. When I send to my postscript printer, it (the epsilon) doesn't even come out. When I do the same from a

Re: g_malloc overhead

2009-01-26 Thread Behdad Esfahbod
Martín Vales wrote: I can see the advantages of use utf8 but the true it´s most of people use utf16. I know gnome/linux/cairo/freedesktop promote utf8 but most people use utf16: http://unicode.org/notes/tn12/#Software_16 This is a very baseless claim. One that actually turns out to be false.

Re: utf-16 and glib

2009-01-26 Thread Behdad Esfahbod
Martin (OPENGeoMap) wrote: Dominic Lachowicz escribió: What is wrong with: gchar* g_utf8_strncpy (gchar *dest,const gchar *src,gsize n); That's one not needed as strncpy should work. hehe i know but that function it really exist:

Re: Fill justification for last line to?

2008-12-16 Thread Behdad Esfahbod
Moshe Wagner wrote: Hi, When a textview's justification is set to JUSTIFY_FILL, it expands all the lines to fit the width of the textview, besides the last line in each paragraph. I know normally this is the right way it should be done, but in my specific case, I need ALL lines justified -

Re: Loading application specific fonts

2008-11-05 Thread Behdad Esfahbod
Shepherd, Jason F wrote: I've recently downloaded the gtk+ stable release and we have started using it for text layout in a cross-platform environment (including windows). We would like to load an application-specific font to generate test images which are as close to identical as possible

Re: Pango-1.21.4 released [unstable]

2008-08-13 Thread Behdad Esfahbod
Alexander Jones wrote: Still no RGBA colours... or opacity attributes :( Bugs need to be discussed on bugzilla and a solution found before fixes magically appearing in next release. I still have no definite solution to this. http://bugzilla.gnome.org/show_bug.cgi?id=413941 Though I'm

Re: Embedded Gtk+ system: HTML display

2008-07-21 Thread Behdad Esfahbod
On Mon, 2008-07-21 at 12:13 -0700, John Boncek wrote: Is there some other widget or library I have missed? webkit-gtk. -- behdad http://behdad.org/ Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety. -- Benjamin

Pango-1.21.1 released [unstable]

2008-05-13 Thread Behdad Esfahbod
breaks because of hash sign in URL in ulink... Bug 530685 – Pango no longer using cairo as a backend as of pango 1.19.4 Part of Bug 97545 – Make pango_default_break follow Unicode TR #29 13 May 2008 Behdad Esfahbod ___ gtk-app-devel-list

Pango-1.21.0 released [unstable]

2008-04-22 Thread Behdad Esfahbod
– Add pango_cairo_font_map_set_default() Bug 511183 – Add pango_attr_type_get_name() 22 April 2008 Behdad Esfahbod -- behdad http://behdad.org/ ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman

Re: Pango-1.21.0 released [unstable]

2008-04-22 Thread Behdad Esfahbod
On Tue, 2008-04-22 at 03:06 -0400, Behdad Esfahbod wrote: Pango-1.19.0 is now available for download at: And of course I meant pango-1.21.0... -- behdad http://behdad.org/ Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety

Re: printing gtktextview and text layout

2008-04-18 Thread Behdad Esfahbod
On Fri, 2008-04-18 at 17:30 +0200, Philippe Rouquier wrote: Le mardi 15 avril 2008 à 15:05 -0400, Behdad Esfahbod a écrit : On Sat, 2008-04-12 at 11:08 +0200, Philippe Rouquier wrote: Could someone help me with that please? Just reorder your code to use pango_cairo_show_layout

Re: printing gtktextview and text layout

2008-04-15 Thread Behdad Esfahbod
On Sat, 2008-04-12 at 11:08 +0200, Philippe Rouquier wrote: Could someone help me with that please? Just reorder your code to use pango_cairo_show_layout() for both display and print, then make sure you set font options on your PangoContext attached to the layout using

Pango-1.20.0 released

2008-03-10 Thread Behdad Esfahbod
and cairo can be found at http://www.gtk.org/ and http://cairographics.org/ respectively. 10 March 2008 Behdad Esfahbod ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Pango layout multibyte character problem

2008-02-20 Thread Behdad Esfahbod
On Wed, 2008-02-20 at 14:01 -0800, Steve Splonskowski wrote: Any ideas on what to try next? Nul-terminate your string? Or, what are you passing as len to pango_layout_set_text()? That should be len in bytes, not characters. That is, 3, not 2. Or -1 if nul-terminated. -- behdad

Re: GTK+ applications start slowly due to pango coverage loop?

2008-02-10 Thread Behdad Esfahbod
On Sun, 2008-02-10 at 14:09 +0800, Bin Chen wrote: But seems in earlier version this doesn't happen, any suggestions? Then exactly point us to the first version that has the problem and I'll be more than happy to look into it. Thanks. Bin -- behdad http://behdad.org/ Those who would give

Pango-1.19.3 released [unstable]

2008-01-21 Thread Behdad Esfahbod
/ respectively. 21 January 2008 Behdad Esfahbod ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Gtk application in hindi

2007-12-26 Thread Behdad Esfahbod
On Wed, 2007-12-26 at 08:30 -0200, Eduardo M KALINOWSKI wrote: Naveen Kumar wrote: Hi all, I am planning to build an application with Hindi(local language) text for all widgets. Please guide me what is the better way to proceed for the above. If it'll be only in Hindi, then

Re: I can't understand the difference output of only a line differ

2007-12-06 Thread Behdad Esfahbod
On Thu, 2007-12-06 at 18:54 +0800, Binary Chen wrote: But without the sleep() I will also not reach gtk_main(), but the window shows, why? What I am asking is this. I'm guessing that it fills the drawing buffer and forces a flush. That is, with the sleep, given enough time, you will see the

Re: I can't understand the difference output of only a line differ

2007-12-06 Thread Behdad Esfahbod
On Thu, 2007-12-06 at 19:08 +0800, Binary Chen wrote: On Thu, 2007-12-06 at 06:01 -0500, Behdad Esfahbod wrote: On Thu, 2007-12-06 at 18:54 +0800, Binary Chen wrote: But without the sleep() I will also not reach gtk_main(), but the window shows, why? What I am asking

Re: I can't understand the difference output of only a line differ

2007-12-06 Thread Behdad Esfahbod
On Thu, 2007-12-06 at 06:40 -0500, Behdad Esfahbod wrote: On Thu, 2007-12-06 at 19:08 +0800, Binary Chen wrote: On Thu, 2007-12-06 at 06:01 -0500, Behdad Esfahbod wrote: On Thu, 2007-12-06 at 18:54 +0800, Binary Chen wrote: But without the sleep() I will also not reach gtk_main

Re: Linear Scaling of fonts with FreeType on Cairo

2007-12-06 Thread Behdad Esfahbod
On Thu, 2007-12-06 at 19:01 -0800, Karl Reis wrote: I'm trying to find a way to scale fonts linearly. As far as I can tell, the way to do it is to use a freetype font and turn hinting off. Using the API, I tried to pull some code together that would try to do that, but unfortunately, the

RE: Linear Scaling of fonts with FreeType on Cairo

2007-12-06 Thread Behdad Esfahbod
Great! On Thu, 2007-12-06 at 22:38 -0800, Karl Reis wrote: I also tried it with the TOY font and I got the same error. The toy font backend is not a real backend. Pango doesn't recognize it and can't use it. The available ones are FreeType, win32, and ATSUI. You are using win32 obviously. --

Re: printing, cairo, cups

2007-11-27 Thread Behdad Esfahbod
Hi Thomas, On Unix, Gtk+ uses the PS backend, not the image. The image backend makes little sense for printing. On Tue, 2007-11-27 at 06:58 -0600, Thomas Stover wrote: My main question is this. Somewhere the cairo RGBA color space must be mapped into a printer's device dependent color

Re: getting a pango tabarray for a specific line of text

2007-11-20 Thread Behdad Esfahbod
On Wed, 2007-11-21 at 01:32 +0100, Nick Gravgaard wrote: Hi all, My application has non-uniform tabs of different sizes on different lines. Does anyone know how I should go about getting a pango tabarray for a specific line of text in a textbuffer? Hi, That's not possible. If you have

Re: configure my own pango.modules

2007-11-13 Thread Behdad Esfahbod
On Tue, 2007-11-13 at 20:09 +0530, saravanan m wrote: Hi All, Is there any envronment variable which influences pango.modules file instead of the default one /etc/pango/pango.modules. There's PANGO_RC_FILE that you can use to point to your pangorc file that can look like: [Pango]

Re: How to get PangoFontFamily?

2007-11-13 Thread Behdad Esfahbod
On Tue, 2007-11-13 at 18:51 +0100, Enrico Tröger wrote: Hi, I have a PangoFontDescription, created from a font string. Now I would like to use pango_font_family_is_monospace() to know whether it is a monospaced font or not. But I don't find a way to get a PangoFontFamily object at all.

Pango-1.19.0 released [unstable]

2007-10-29 Thread Behdad Esfahbod
font work great, and avoids warnings with some other fonts. - Fix minor leak in win32 backend. - Bugs fixed in this release: Bug 483600 – Leak of font family name in pango_win32_font_description_from_logfont(w) Patch from Daniel Atallah 29 October 2007 Behdad Esfahbod

Re: Porting terminal applications to GTK

2007-09-28 Thread Behdad Esfahbod
On Sat, 2007-09-29 at 02:00 +0400, Tirra is a Cat wrote: Hello, On Fri, 28 Sep 2007 10:32:47 -0400 Unix OS [EMAIL PROTECTED] wrote: Hello, I'm an undergraduate student at James Madison University. I've decided to convert one of my CS classes to an Honors class, which involves doing

Re: pango_extents_to_pixels

2007-09-26 Thread Behdad Esfahbod
On Wed, 2007-09-26 at 16:13 -0700, Ian Bull wrote: Is anyone else experiencing problems with GTK 2.12 and pango_extents_to_pixels. I first noticed this problem when I launched Eclipse: /home/XXX/local/eclipse/eclipse: symbol lookup error: /usr/lib/libgtk- x11-2.0.so.0: undefined symbol:

Pango-1.18.0 released

2007-08-20 Thread Behdad Esfahbod
hangul is crashing in gnome-about because it is failing to retrieve a font. Bug 467056 – Shape attribute handling is not consistent Bug 467077 – Remove special-case for shape attribute in pango_layout_line_index_to_x() 20 August 2007 Behdad Esfahbod

Re: PangoLayout PangoMatrix

2007-08-07 Thread Behdad Esfahbod
On Tue, 2007-08-07 at 22:36 -0300, Leonel Freire wrote: Well... What I'm trying to do is a double width text, but with the normal height... what's wrong with this code? It shows just a bad formated text, nothing that I was expecting... Helps if you attach a screenshot. What I'm seeing here

Re: Off-screen drawing of GTK widgets

2007-07-30 Thread Behdad Esfahbod
On Mon, 2007-07-30 at 18:54 +0530, Varun Khaneja wrote: Hello, I have been trying to find out about the support of off-screen drawing of GTK widgets using Cairo (or any other library), but haven't been much successful. What I really need to do is to be able to capture the image of the

Pango-1.17.3 released [unstable]

2007-06-18 Thread Behdad Esfahbod
Bug 447189 – fonts.c: pango_font_face_is_synthesized returns NULL Bug 447568 – improve docs on what absolute size means Bug 448342 – pango_layout_index_to_line_x() counts lines from 1 19 June 2007 Behdad Esfahbod ___ gtk-app-devel-list

Pango-1.17.2 released [unstable]

2007-06-04 Thread Behdad Esfahbod
and other non-real scripts. [Martin Hosken] - Misc typo fixes [Peter Moulder] - Bugs fixed in this release: Bug 443206 – PANGO_SCRIPT_UNKNOWN should not cause a run break Patch from Martin Hosken 4 June 2007 Behdad Esfahbod ___ gtk-app

Pango-1.17.1 released [unstable]

2007-05-30 Thread Behdad Esfahbod
width often 0 Bug 436699 – N'Ko support Bug 438705 – Test runs non-existent /bin/bash on HP-UX 11.11 Bug 438814 – synaptic crash with pango 1.17.0 Bug 440603 – Minor ABI change 30 May 2007 Behdad Esfahbod ___ gtk-app-devel

Pango-1.16.2 released

2007-04-10 Thread Behdad Esfahbod
documentation - Improved ATSUI backend - Misc build system fixes - Bugs fixed in this release: Bug 417946 – pangowin32-fontmap.c:using function without prototype Bug 419262 - Don't create coverage every time it's asked for 10 April 2007 Behdad Esfahbod

Pango-1.16.1 released

2007-03-12 Thread Behdad Esfahbod
code Bug 412654 – SED variable undefined in the `libtool --config' output used by configure Bug 414297 – Fails to build with --enable-static --with-included-modules in thai lang module Patch from Loïc Minier 12 March 2007 Behdad

Pango-1.16.0 released

2007-02-27 Thread Behdad Esfahbod
February 2007 Behdad Esfahbod ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Pango-1.14.10 released

2007-01-29 Thread Behdad Esfahbod
(win32) Bug 392628 – Don't check for X on win32 Bug 392789 – vpath build fails in basic module (win32) Behdad Esfahbod 29 January 2007 ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo

Pango-1.15.4 released [unstable]

2007-01-17 Thread Behdad Esfahbod
323173 – Add layout of mixed direction text for vertical layout Bug 394453 – Use -mms-bitfields Bug 392628 – Don't check for X on win32 Behdad Esfahbod 18 January 2007 ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http

Pango-1.15.3 released [unstable]

2007-01-08 Thread Behdad Esfahbod
– vpath build fails in basic module Patch from J. Ali Harlow Bug 390877 – Don't feed pango-features.h to glib-mkenums Patch from Yevgen Muntyan Behdad Esfahbod 8 January 2007 ___ gtk-app-devel-list mailing

Re: GTK+ 2.10.7 released

2007-01-06 Thread Behdad Esfahbod
On Sat, 2007-01-06 at 00:24 -0800, Sergei Steshenko wrote: [really impressive list of bugs deleted]. As an end gtk+ user I just want to know which of the two gtk+2.8.20 - 2.10.7 is less buggy. Indeed 2.10.7. The impressive list of bugs you saw has only been fixed in 2.10.7. Another set

Pango-1.15.2 released [unstable]

2006-12-20 Thread Behdad Esfahbod
Zhang Behdad Esfahbod 20 December 2006 ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Pango-1.14.9 released

2006-12-07 Thread Behdad Esfahbod
377975 – bug in _pango_glyph_item_iter_next_cluster 07 December 2006 Behdad Esfahbod ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Pango-1.15.1 released [unstable]

2006-12-04 Thread Behdad Esfahbod
to write dependencies into .pc files Bug 350132 – backspacing doesn't work properly for Arabic Bug 330407 – Multiple dependant vowel signs (indic) displayed as one Patch from LingNing Zhang Behdad Esfahbod 04 December 2006

Pango-1.14.7 released

2006-10-13 Thread Behdad Esfahbod
== * Fixed broken build with included lang modules. * Bugs fixed in this release: Bug 361938 – Can't include *-lang modules (./configure --with-included-modules fails) 13 October 2006 Behdad Esfahbod ___ gtk-app

Pango-1.14.6 released

2006-10-12 Thread Behdad Esfahbod
Behdad Esfahbod ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: [Fwd: VTE question]

2006-10-04 Thread Behdad Esfahbod
On Thu, 2006-09-28 at 14:24 +0200, Major Csaba wrote: On Mon, 2006-09-25 at 13:31 -0400, Behdad Esfahbod wrote: Without showing us your code how can one help? Yes, you're right. I attach the patch for the widget, but I'm not a C expert so don't slag off the code, please :) Does

Re: [Fwd: VTE question]

2006-09-25 Thread Behdad Esfahbod
Hi all, Hi, I would like to ask a special questions about the VTE widget. I have to write an extension for VTE that makes possible to save and restore the (all of the visible and non visible) state of the terminal. I've almost done but it doesn't seem to work properly. When I restore the

Pango-1.14.4 released

2006-09-15 Thread Behdad Esfahbod
Lillqist] * Bugs fixed in this release: Bug 353525 – libpangoft2-1.0.so.0: undefined reference to `pango_font_description_get_gravity' Bug 349813 – typo in docs for pango_layout_move_cursor_visually 15 September 2006 Behdad Esfahbod

Pango-1.12.4 released

2006-09-15 Thread Behdad Esfahbod
Behdad Esfahbod ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Pango-1.14.3 released

2006-09-04 Thread Behdad Esfahbod
1.2.2 or newer of the cairo library (if the cairo backend is desired); more information about GLib and cairo can be found at http://www.gtk.org/ and http://cairographics.org/ respectively. Behdad Esfahbod 4 September 2006 ___ gtk-app-devel-list mailing list

[Fwd: Pango-1.14.3 released]

2006-09-04 Thread Behdad Esfahbod
' Bug 349813 – typo in docs for pango_layout_move_cursor_visually behdad Forwarded Message From: Behdad Esfahbod [EMAIL PROTECTED] To: gnome-announce-list@gnome.org, gtk-app-devel-list@gnome.org, gtk-devel-list@gnome.org, gtk-i18n-list@gnome.org, gtk-list gtk-list

Pango-1.14.2 released

2006-08-22 Thread Behdad Esfahbod
Behdad Esfahbod ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Pango-1.14.0 released

2006-08-08 Thread Behdad Esfahbod
(if the cairo backend is desired); more information about GLib and cairo can be found at http://www.gtk.org/ and http://cairographics.org/ respectively. 08 August 2006 Behdad Esfahbod ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http

Re: Pango-1.13.3 released [unstable]

2006-07-11 Thread Behdad Esfahbod
On Tue, 2006-07-11 at 00:06 -0400, Sergei Steshenko wrote: --- Behdad Esfahbod [EMAIL PROTECTED] wrote: * Installing this version will overwrite your existing copy of Pango-1.12. Shameless plug - my tool (http://appsfromscratch.berlios.de/)for local building

Pango-1.13.3 released [unstable]

2006-07-10 Thread Behdad Esfahbod
€“ -no-undefined problem with new libtool Behdad Esfahbod 10 July 2006 -- behdad http://behdad.org/ ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Pango-1.12.3 released

2006-05-27 Thread Behdad Esfahbod
characters as zero width Patch from Roozbeh Pournader Bug 337594 – pango_glyph_string_extents_range possible bug Bug 307196 – Unhinted fonts are measured incorrectly and drawing problems occur as a result Behdad Esfahbod 27 May 2006

Pango-1.13.1 released [unstable]

2006-05-15 Thread Behdad Esfahbod
fonts work Behdad Esfahbod 15 May 2006 ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: why is pango_font_description_set_* functions leaking

2006-05-02 Thread Behdad Esfahbod
On Tue, 2 May 2006, nerdy wrote: Hello all, I found that the functions pango_font_description_set_family and pango_font_description_set_size are leaking memory. I am using pango version 1.4.0. fontdesc = pango_font_description_new(); pango_font_description_set_family(fontdesc,courier);

Pango-1.13.0 released [unstable]

2006-04-23 Thread Behdad Esfahbod
the OpenType Layout code into a new project called HarfBuzz: http://www.freedesktop.org/wiki/Software/HarfBuzz * Improved documentation. * Misc bug fixes. * Fixed many compiler warnings. * Bugs fixed in this release: 332656,335840,334802,337029,337821,338343 Behdad Esfahbod 23 April 2006

Re: Pango font metric discrepency

2006-04-18 Thread Behdad Esfahbod
On Tue, 18 Apr 2006, nerdy wrote: Hello, I would like to know why there is a difference in the font metrics between simillar fonts in windows and linux. For example for arial font of size 34, the ascent, descent and char width has values of 32, 7 and 9 respectively in windows MFC . But

Pango-1.12.1 released

2006-04-07 Thread Behdad Esfahbod
available [#337502, Alexander Larsson] * Bugs fixed in this release: 334802,336026,332656,337502 Behdad Esfahbod 7 April 2006 ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Pango-1.10.4 released

2006-02-27 Thread Behdad Esfahbod
be found at http://www.gtk.org/. Overview of changes between 1.10.3 and 1.10.4 = * Fix crasher assertion `split_index 0' in ellipsization. Behdad Esfahbod 26 February 2006 ___ gtk-app-devel-list mailing list

Pango-1.11.99 Just In Case released [unstable]

2006-02-27 Thread Behdad Esfahbod
'?' chars instead of invalid UTF-8 sequences in pango_layout_set_text [#33195] * Bugs fixed in this release: 332167,332538,331995 Behdad Esfahbod 26 February 2006 ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman

Pango-1.10.3 released

2006-02-06 Thread Behdad Esfahbod
= * Various documentation improvements, achieving 100% symbol coverage. * Minor bug fixes. Behdad Esfahbod 05 February 2006 ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Pango-1.11.0 released [unstable]

2005-11-19 Thread Behdad Esfahbod
movement. * Avoid redundant PANGO_IS_FC_FONT checks. Special thanks to: Matthias Clasen [General assistance, patch review] Federico Mena Quintero [Optimization, behnchmarking] Billy Biggs [Optimization, behnchmarking] Owen Taylor [Review] Behdad Esfahbod 18 November 2005 -BEGIN PGP SIGNATURE

Re: Arabic-Indic digits and g_date_strftime()

2005-09-30 Thread Behdad Esfahbod
On Fri, 30 Sep 2005, Gaurav Jain wrote: Hi, I'm trying to print a date onto a GtkLabel in ar_SA (arabic) locale. For this, I'm using the API g_date_strftime(), in which the format being passed is %c (to use the current locale's prefered format). The problem is that the output generated is

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.

Re: Valid UTF-8 text mangled up in GtkLabel

2005-08-06 Thread Behdad Esfahbod
, feel free to subscribe to the bidi mailing list at http://bidi.info/ Hope it helps behdad On 8/5/05, Behdad Esfahbod [EMAIL PROTECTED] wrote: On Fri, 5 Aug 2005, Gaurav Jain wrote: Hi, I'm trying to set the text in a GtkLabel to a UTF-8 string, which contains some arabic characters

Re: Valid UTF-8 text mangled up in GtkLabel

2005-08-05 Thread Behdad Esfahbod
On Fri, 5 Aug 2005, Gaurav Jain wrote: Hi, I'm trying to set the text in a GtkLabel to a UTF-8 string, which contains some arabic characters first, followed by my email address in angle brackets, followed by my name in round brackets. For e.g., a sample value is: X [EMAIL PROTECTED]