Pango-1.11.0 released [unstable]

2005-11-19 Thread Behdad Esfahbod
of line on cursor 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 -B

Pango-1.11.3 released [unstable]

2006-01-31 Thread Behdad Esfahbod
ge in docs. * Misc bug fixes and documentation improvements. * Janitory works, like removing unneeded files. Behdad Esfahbod 30 January 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.3 released

2006-02-06 Thread Behdad Esfahbod
.10.3 = * 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.4 released [unstable]

2006-02-06 Thread Behdad Esfahbod
-row hexbox for very small font sizes. * Improved documentation. Behdad Esfahbod 06 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.5 released [unstable]

2006-02-11 Thread Behdad Esfahbod
c function: pango_win32_font_description_from_logfont. (Tor) * pango-view accepts --wrap now, and lists backends in --help output. * A couple minor bug fixes. Behdad Esfahbod 11 February 2006 ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnom

Pango-1.10.4 released

2006-02-27 Thread Behdad Esfahbod
t GLib can 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

Pango-1.11.99 "Just In Case" released [unstable]

2006-02-27 Thread Behdad Esfahbod
] * Insert '?' 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://ma

Pango-1.12.0 released

2006-03-13 Thread Behdad Esfahbod
ist [Win32 backend] Federico Mena Quintero [Optimization] Owen Taylor [Discussion] Thanks to all Pango-1.12 contributors, including: Jean Brefort, Hans Breuer, Brian Cameron, LingNing Zhang Behdad Esfahbod 13 March 2006 ___ gtk-app-devel-list ma

Pango-1.12.1 released

2006-04-07 Thread Behdad Esfahbod
kends 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

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 . > B

Re: ExtTextOut + Pango question

2006-04-20 Thread Behdad Esfahbod
On Thu, 20 Apr 2006, nerdy wrote: > Hello, > > I would like to know if there is any provision in pango to > display a given text within a given clipping rectangle and > starting at given position. Something like the the ExtTextOut > function in MFC Windows API. Pango itself doesn't do cliping, bu

Pango-1.13.0 released [unstable]

2006-04-23 Thread Behdad Esfahbod
Moved 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

Pango-1.12.2 released

2006-04-26 Thread Behdad Esfahbod
k.org/. Overview of changes between 1.12.1 and 1.12.2 == * Fix incorrect rendering when in x86 64-bit precision mode https://bugs.freedesktop.org/show_bug.cgi?id=5200 * Misc bug fixes. Behdad Esfahbod 27 April

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,"cou

Pango-1.13.1 released [unstable]

2006-05-15 Thread Behdad Esfahbod
71033 – make size 0 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

Pango-1.12.3 released

2006-05-27 Thread Behdad Esfahbod
andle more 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 2

Pango-1.13.3 released [unstable]

2006-07-10 Thread Behdad Esfahbod
345511 – -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

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://appsfro

Pango-1.14.0 released

2006-08-08 Thread Behdad Esfahbod
y (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

Pango-1.14.2 released

2006-08-22 Thread Behdad Esfahbod
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.14.3 released

2006-09-04 Thread Behdad Esfahbod
rsion 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

[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 Sub

Pango-1.14.4 released

2006-09-15 Thread Behdad Esfahbod
2 build improvement. [Tor 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

Pango-1.12.4 released

2006-09-15 Thread Behdad Esfahbod
ember 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

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

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

Pango-1.14.6 released

2006-10-12 Thread Behdad Esfahbod
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.14.7 released

2006-10-13 Thread Behdad Esfahbod
.14.7 == * 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 _

Pango-1.15.0 released [unstable]

2006-10-16 Thread Behdad Esfahbod
ity Bug 351585 – API documentation issues with 2.15 release Behdad Esfahbod 16 October 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.15.1 released [unstable]

2006-12-04 Thread Behdad Esfahbod
n: Bug in "checking Whether 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 Ling

Pango-1.14.9 released

2006-12-07 Thread Behdad Esfahbod
Bug 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.2 released [unstable]

2006-12-20 Thread Behdad Esfahbod
Patch from LingNing 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

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

Pango-1.15.3 released [unstable]

2007-01-08 Thread Behdad Esfahbod
– FcFontMatch misuse Bug 392789 – 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 _

Pango-1.15.4 released [unstable]

2007-01-17 Thread Behdad Esfahbod
a value Bug 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 mai

Pango-1.15.5 released [unstable]

2007-01-22 Thread Behdad Esfahbod
espect FC_HINT_STYLE in the ft2 backend. Patch has been in Fedora for ages. - Require automake 1.9 Bugs fixed in this release: Bug 398238 – pangorc file missing from tests directory Behdad Esfahbod 22 January 2007 ___ gtk-app-devel-list mailin

Pango-1.14.10 released

2007-01-29 Thread Behdad Esfahbod
-mms-bitfields (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.

Pango-1.16.0 released

2007-02-27 Thread Behdad Esfahbod
spaces 27 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.16.1 released

2007-03-12 Thread Behdad Esfahbod
pangowin32 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 Ma

Pango-1.16.2 released

2007-04-10 Thread Behdad Esfahbod
roved 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

Pango-1.16.4 released

2007-04-27 Thread Behdad Esfahbod
x-box positioning in the cairo backend Behdad Esfahbod 27 April 2007 ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Pango-1.17.0 released [unstable]

2007-05-14 Thread Behdad Esfahbod
d text due to trailing whitespace Bug 436154 – Error building the pango.modules file while cross compiling Bug 436988 – Adding PangoScript to PangoAnalysis Bug 437534 – pango_language_includes_script is buggy 14 May 2007 Behdad Es

Pango-1.17.1 released [unstable]

2007-05-30 Thread Behdad Esfahbod
ate char/digit width 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 __

Pango-1.17.2 released [unstable]

2007-06-04 Thread Behdad Esfahbod
Common 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 ___

Pango-1.17.3 released [unstable]

2007-06-18 Thread Behdad Esfahbod
rkup is not coherent 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 __

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

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

Pango-1.18.0 released

2007-08-20 Thread Behdad Esfahbod
Bug 466755 – pango 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 Au

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 sym

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 >

Re: How to set background color for a pango layout being printed ?

2007-10-16 Thread Behdad Esfahbod
On Tue, 2007-10-16 at 12:13 +0200, Miroslav Rajcic wrote: > > layout = gtk_print_context_create_pango_layout (context); > pango_layout_set_text (layout, text, -1); cairo_set_source_rgb (cr, bgcolor.red, bgcolor.green, bgcolor.blue); cairo_paint (cr); > //set fg color > cairo_set_source_rgb (cr,

Re: How to set background color for a pango layout being printed ?

2007-10-17 Thread Behdad Esfahbod
On Wed, 2007-10-17 at 08:40 +0200, Miroslav Rajcic wrote: > > PangoAttribute *attr1 = pango_attr_background_new(bkgcolor.red, > bkgcolor.green, bkgcolor.blue); > pango_attr_list_insert (layout_attr, attr1); attr1->start_index = 0; attr1->end_index = -1; Same for other attributes. -- behdad ht

Pango-1.19.0 released [unstable]

2007-10-29 Thread Behdad Esfahbod
ype engine fixes. Makes Nafees Nastaliq 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 A

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] ModuleF

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

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: getting a pango tabarray for a specific line of text

2007-11-21 Thread Behdad Esfahbod
On Wed, 2007-11-21 at 22:00 +0100, Nick Gravgaard wrote: > > Thanks. I presume then that there must be some way of getting a layout > object for a certain line. I've looked through the documentation but I > can't see how I should do this - how do I do that? There's not. You can always copy the l

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 > sp

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 th

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 > > > wi

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

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: 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 Hi

Pango-1.19.3 released [unstable]

2008-01-21 Thread Behdad Esfahbod
aphics.org/ 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+ 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

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 http://beh

Re: OpenGL, GtkGlArea, GtkGLExt

2008-03-04 Thread Behdad Esfahbod
On Tue, 2008-03-04 at 17:04 +, Carlos Pereira wrote: > Mikael Hallendal wrote: > > 3 mar 2008 kl. 22.48 skrev Carlos Pereira: > > > > Hi Carlos, > > > > GtkGLext seems to be the most popular GL Area to use these days. You > > might also want to look at Clutter [1] or Pigment [2] which are >

Re: OpenGL, GtkGlArea, GtkGLExt

2008-03-05 Thread Behdad Esfahbod
On Tue, 2008-03-04 at 19:37 +, Jon Harrop wrote: > On Tuesday 04 March 2008 18:14:39 Behdad Esfahbod wrote: > > On Tue, 2008-03-04 at 17:04 +, Carlos Pereira wrote: > > > 2) change the name, for example to Gtkglarea 2.0*, the legitimate > > > sucessor to Gtkgl

Pango-1.20.0 released

2008-03-10 Thread Behdad Esfahbod
b 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: 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_cairo_context_set

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? > >

Pango-1.21.0 released [unstable]

2008-04-22 Thread Behdad Esfahbod
514617 – 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 no

Pango-1.21.1 released [unstable]

2008-05-13 Thread Behdad Esfahbod
57 – Docs build breaks because of hash sign in URL in 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-dev

Re: Interaction of Pango Wrapping and Alignment

2008-06-24 Thread Behdad Esfahbod
On Tue, 2008-06-24 at 09:43 -0700, John Boncek wrote: > pango_layout_set_alignment with either PANGO_ALIGN_CENTER or > PANGO_ALIGN_RIGHT apparently has no effect when wrapping is turned off. Works here: $ pango-view --align center --text $'tes\ning' Gives me something that looks like this:

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.4 released [unstable]

2008-08-11 Thread Behdad Esfahbod
matra rendering bug for Kannada language Bug 536017 – Remove SF_MPRE_FIXUP from Sinhala script flags Patch by Harshula 11 August 2008 Behdad Esfahbod -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Fedora - htt

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 gettin

Re: quarks

2008-09-01 Thread Behdad Esfahbod
Quark strings are static and should not be freed. You don't free them. glib does not free them either. When the process dies they are automatically freed. That's all. Just don't worry about them. behdad Martin (OpenGeoMap) wrote: > Brian J. Tarricone escribió: >> On Mon, 01 Sep 2008 02:20:35

Re: how can I get a backtrace from inside my program?

2008-10-31 Thread Behdad Esfahbod
[EMAIL PROTECTED] wrote: > 2008/10/31 Brian J. Tarricone <[EMAIL PROTECTED]>: >> Garth's KidStuff wrote: >>> I have a large Gtk app running on Ubuntu and I'd love to be able to log >>> stack trace information when unusual events occur. Any ideas on where to >>> look for this? >> If you don't mind

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 possi

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 justif

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 fal

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: >>> ht

Re: utf-16 and glib

2009-01-31 Thread Behdad Esfahbod
No one's converting the GTK+ stack away from UTF-8. Don't let all the talk intimidate you. behdad Thomas Stover wrote: > Please, please, please don't switch to UTF-16. To me gtk is about > getting to use technologies that are "solid", "real", "fun", and > "effective". Principally, that means C a

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 f

Pango 1.24.0 released

2009-03-16 Thread Behdad Esfahbod
s for pango-undeclared.txt Bug 565644 – Maybe pango_font_descriptions_free is deprecated Bug 469049 – Fix all compiler warnings Bug 565379 – pango_font_description_better_match some style attributes of old_match are not checked Bug

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
e open office writer. 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 an

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. http://li

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: 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-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 i

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 > wrote: >> Hi, I am not quite familiar with the font thing. Now I have a simple >> request, I do not know how to

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: 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 > 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 during 2.x > >

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 PROTECT

Re: Valid UTF-8 text mangled up in GtkLabel

2005-08-06 Thread Behdad Esfahbod
th my definition, email addresses are not plain text. I've already sketched a solution, you are more than welcome to go and implement that, otherwise, please keep the negative energy to a minimum: http://bugzilla.gnome.org/show_bug.cgi?id=168108 Thanks behdad > My 2c, > > - yba &g

Re: Valid UTF-8 text mangled up in GtkLabel

2005-08-06 Thread Behdad Esfahbod
> ([LRE]english name[PDF]) where [LRE] and [PDF] are the Unicode characters U+202A and U+202C. > Thanks a lot! > Gaurav For more information, 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]>

  1   2   >