Optimizing Pango OpenType engine

2005-03-22 Thread Behdad Esfahbod
[misspelled list name the first time, resending] Hi Owen, As you may have noticed, I'm working around the pango/pango/opentype these days. I've found a lot of places to improve, and guess I'm going to rewrite the whole thing eventually. I would like to know how do you prefer me to work on

Re: Optimizing Pango OpenType engine

2005-04-01 Thread Behdad Esfahbod
On Sat, 26 Mar 2005, Owen Taylor wrote: On Tue, 2005-03-22 at 03:20 -0500, Behdad Esfahbod wrote: [misspelled list name the first time, resending] Hi Owen, As you may have noticed, I'm working around the pango/pango/opentype these days. I've found a lot of places to improve

Re: Trouble Compiling pango on Solaris 10

2005-06-08 Thread Behdad Esfahbod
On Tue, 7 Jun 2005, Bernard Lineham wrote: Hello I'm trying to compile pango 1.8.0 on a Solaris 10 (x86) workstation. The default configure runs okay but when I try to run make it fails with the errors shown below. Any advice on how I can get pango to compile would be greatly appreciated.

Re: Typing Right-To-Left language characters in GtkEntry

2005-06-09 Thread Behdad Esfahbod
On Thu, 9 Jun 2005, Edward H. Trager wrote: Just a little note I would like to add here: mlterm (http://mlterm.sourceforge.net) is the only terminal emulator I am aware of that seems to work somewhat OK for Arabic (for example, you can use the terminal version of vi or vim to edit a

Re: About Pango warning : Error loading GPOS table 4097

2005-08-09 Thread Behdad Esfahbod
On Tue, 9 Aug 2005, Girish wrote: hi all Usally i am getting the fallowing warning from pango. (process:5528): Pango-WARNING **: Error loading GPOS table 4097 i dont know the reason for this warning , i searched in google but i didn't get any proper solution. please provide me a

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,

Re: pango + libtool problem

2005-09-20 Thread Behdad Esfahbod
On Tue, 20 Sep 2005, Enrico Weigelt wrote: * Behdad Esfahbod [EMAIL PROTECTED] wrote: snip hmm. is it possible to build against the full fribidi ? No. hmm. Why not ? How complicated is it to change this ? Because the internal copy is slightly modified. Not really complicated

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: Ligatures and Pango?

2005-11-30 Thread Behdad Esfahbod
On Wed, 30 Nov 2005, Han-Wen Nienhuys wrote: I got the scaling issue fixed now. What surprises me is that Pango doesn't do kerning by default (at least: not on FC4), while ChangeLogs suggest that kerning has been part of Pango since 1.4 or thereabouts. It does work with my local copy of Pango

Re: testing pango with 770

2005-12-27 Thread Behdad Esfahbod
Note that many of the optimizations that went into Pango 1.11 only affect the cairo backend. I cannot remember any change that slows down pango. behdad On Wed, 21 Dec 2005, [ISO-8859-1] Tapani Pälli wrote: Hello, Here are test results for Pango performance on 770 :

Re: pango-layout-private.h, line 41

2006-01-09 Thread Behdad Esfahbod
On Sun, 8 Jan 2006, Itai Bar-Haim wrote: In the file pango-layout-private.h in line 41 it sais: gchar *text; Why not use a gunichar string? Wouldn't it be more correct? No, because Pango works on UTF-8-encoded text, not UTF-32/UCS4. Itai. --behdad http://behdad.org/ Commandment Three

Pango-1.11.2 released [unstable]

2006-01-16 Thread Behdad Esfahbod
. * Use g_slice for various small memory allocations [Matthias Clasen] * Misc bug fixes, optimizations, and documentation improvements. Behdad Esfahbod 17 January 2006 ___ gtk-i18n-list mailing list gtk-i18n-list@gnome.org http://mail.gnome.org/mailman

Re: Rounding problem in pango

2006-01-20 Thread Behdad Esfahbod
On Wed, 18 Jan 2006, Chia-I Wu wrote: Hi, The next release of freetype will not round the font metrics. (http://lists.gnu.org/archive/html/freetype-devel/2005-12/msg00027.html) As a result, the extents of layout will usually non-integral. This can cause some problems. For example,

Re: Getting Pango To Display Chinese

2006-01-23 Thread Behdad Esfahbod
On Mon, 23 Jan 2006, PagCal wrote: I've been trying to get Pango to display Simplified Chinese for several days without success. Can someone tell me how pango goes about selecting fonts to use? For a few years now, the *-*-*-...-* style fonts are not used by Pango anymore. Nowadays, it uses

Pango-1.11.3 released [unstable]

2006-01-30 Thread Behdad Esfahbod
. * Misc bug fixes and documentation improvements. * Janitory works, like removing unneeded files. Behdad Esfahbod 30 January 2006 ___ gtk-i18n-list mailing list gtk-i18n-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-i18n-list

Pango-1.10.3 released

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

Pango-1.11.4 released [unstable]

2006-02-06 Thread Behdad Esfahbod
font sizes. * Improved documentation. Behdad Esfahbod 06 February 2006 ___ gtk-i18n-list mailing list gtk-i18n-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-i18n-list

Re: Measuring text lengths with Pango

2006-02-22 Thread Behdad Esfahbod
On Wed, 22 Feb 2006, it was written: Hi everyone, I need to write some code to arrange text paragraphs along with image boxes in off-screen, real, coordinates (cm, mm, in, etc). But Pango seems to be aways bounded to device units (pixels), which is not what I want. No, device units do not

Pango-1.11.99 Just In Case released [unstable]

2006-02-26 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-i18n-list mailing list gtk-i18n-list@gnome.org http://mail.gnome.org/mailman/listinfo

Re: Problem with Pango displaying Greek letters under Linux

2006-03-01 Thread Behdad Esfahbod
On Wed, 1 Mar 2006, Nick Chorley wrote: I have a program with a GUI written in GTK+ (by me!) and I'd really like to be able to display Greek letters, rather than write things like alpha. Note that this is *not* a programming question, because the problem is not how to put Greek letters in

Re: Problem with Pango displaying Greek letters under Linux

2006-03-01 Thread Behdad Esfahbod
it. Something like: char buf[7]; int len; len = g_unichar_to_utf8 (0x03B1, buf); buf[len] = '\0'; Or simply look up the UTF-8 representation of U+03B1 in gucharmap and use \316\261. behdad Thanks again for the reply! Nick On 3/1/06, Behdad Esfahbod [EMAIL PROTECTED] wrote: The interpretation

Re: Pango on Mac OS X 10.4.5?

2006-03-01 Thread Behdad Esfahbod
On Wed, 1 Mar 2006, Gerben Wierda wrote: PS. Am I restricted to X11 or is the whole glib/gtk/pango/cairo/etc also somehow usable with Aqua (the PDF screen engine of Mac OS X)? Pango 1.11.99 has support for ATSUI and Gtk+ from HEAD supports Quartz. --behdad http://behdad.org/ Commandment

Re: Pango on Mac OS X 10.4.5?

2006-03-01 Thread Behdad Esfahbod
Try Pango from HEAD. If it still fails, file a bug at http://bugzilla.gnome.org/ behdad On Wed, 1 Mar 2006, Gerben Wierda wrote: I am trying to comppile pango on Mac OS X 10.4.5 (intel). I have installed a lot of support stuff, like fontconfig, glib, etc, configure os satisfied. But

Re: improvement of font selection

2006-03-13 Thread Behdad Esfahbod
Hello, I filed your request as a bug here: http://bugzilla.gnome.org/show_bug.cgi?id=334392 Can you add yourself to the bug CC and also comment there about what uses you see for this patch? Thanks behdad On Mon, 13 Mar 2006, Kenichi Handa wrote: Hi, I'd like to suggest the attached

Simple tool to check for glib-style translation context format

2006-03-14 Thread Behdad Esfahbod
Hi, I hacked up the attached script that can be used to check translations for invalid translation of glib-style context strings. It's a simple heuristic, but does the job, and we can extend it as more complex cases show up. Questions: 1) I can already see the following have incorrect

Re: improvement of font selection

2006-03-14 Thread Behdad Esfahbod
On Tue, 14 Mar 2006, Kenichi Handa wrote: In article [EMAIL PROTECTED], Behdad Esfahbod [EMAIL PROTECTED] writes: I am curious what made you to write the patch originally. What problems does it solve for you. For instance, to display Tamil, I'd like to use akruti1b.ttf font which have

Re: Text at a certain width

2006-03-24 Thread Behdad Esfahbod
On Sat, 25 Mar 2006, [ISO-8859-1] Lars R�der wrote: Hi! In Dia, we render text with Pango, and typically the text is within boxes just big enough to fit the text. This means that when zooming in and out, we want the text to be rendered with the same relative width, i.e. stretching or

Re: improvement of font selection

2006-03-27 Thread Behdad Esfahbod
On Mon, 27 Mar 2006, Kenichi Handa wrote: Unfortunately, AFAIK, fonts.conf doesn't allow per-script (or per-language) settings, and we can't say some font is broken or not without specifying a script or language. I keep hearing this (this is the third time in the past couple of months), but I

Re: improvement of font selection

2006-03-29 Thread Behdad Esfahbod
On Wed, 29 Mar 2006, Petr Tomasek wrote: But not everyone is capable of creating his own fonts.conf! As this is a developer list, we are not talking about users creating this file directly. From my experience, the problem is that many time a font is choosen for particular unicode block, that

Re: Medic needed for platform overview Pango screenshot

2006-04-07 Thread Behdad Esfahbod
On Fri, 7 Apr 2006, Shaun McCance wrote: I generally have no problems looking at po files in the terminal (which I do often, for various esoteric reasons I still don't fathom myself). But then, I probably wouldn't recognize problems with Arabic unless they were really egregious. Ok, take a

Re: Extending pango markup

2006-04-08 Thread Behdad Esfahbod
Hi, I certainly don't like the way your patch works. What I like instead is a way to get/set GMarkup markup-parser and data on your PangoLayout. Then you can get the current parser and data, embed them into your own data, and set your own parser and data that will fallback to Pango's

Re: Extending pango markup

2006-04-13 Thread Behdad Esfahbod
On Wed, 12 Apr 2006, Kalle Vahlman wrote: instead is a way to get/set GMarkup markup-parser and data on your PangoLayout. Then you can get the current parser and data, embed them into your own data, and set your own parser and data that will fallback to Pango's parser/data for tags it

Re: Extending pango markup

2006-04-13 Thread Behdad Esfahbod
On Thu, 13 Apr 2006, Behdad Esfahbod wrote: Some not-quite-unrelated discussion is going on in bug 330960: http://bugzilla.gnome.org/show_bug.cgi?id=330960 Oops Oops Oops Oops. Meant bug #337518: http://bugzilla.gnome.org/show_bug.cgi?id=337518 behdad

Re: compiling viewer-win32.c

2006-04-17 Thread Behdad Esfahbod
On Mon, 17 Apr 2006, Jjgod Jiang wrote: Hi all, I'm trying to compile examples/viewer-win32.c in pango-1.12.1. I'm using the win32 binaries of gtk+-2.8.17. Here are some problems I've encounted: [...] I'm wondering if there are some API changes and how to fix that. Ah, I thought I

Re: Fixing pango.org

2006-06-05 Thread Behdad Esfahbod
On Mon, 5 Jun 2006, Mayank Jain wrote: On 5/30/06, Tom von Schwerdtner [EMAIL PROTECTED] wrote: On 5/28/06, Behdad Esfahbod [EMAIL PROTECTED] wrote: Hi Tom, I'm wondering if you are still interested in improving the wiki theme for pango.org. [snip] Hi All, I think the stuff

Re: PANGO_VARIANT_SMALL_CAPS?

2006-06-11 Thread Behdad Esfahbod
On Mon, 5 Jun 2006, Petr Tomasek wrote: Hello! I'd like to ask, what's the status of PANGO_VARIANT_SMALL_CAPS? Unfortunately it seems like it's not quite implemented at this time. Not for the fontconfig backend at least. behdad Is it working and if yes, how is it supposed to work? I.e.

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

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 signature.asc Description: This is a digitally signed message part

Pango-1.14.2 released

2006-08-22 Thread Behdad Esfahbod
Behdad Esfahbod 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: How to create a PangoXFont object

2006-08-24 Thread Behdad Esfahbod
On Thu, 2006-08-24 at 01:16 -0400, Uma Shankar Ladha wrote: Hi, How to create a PangoXFont object using api's only from libpango. pango_x_font_new() is used to create this object, but how is this api invoked from libpango. You need to create a PangoXFontMap yourself, and that knows how to

Re: test suite for pango

2006-08-24 Thread Behdad Esfahbod
On Thu, 2006-08-24 at 04:30 -0400, Uma Shankar Ladha wrote: Hi, Are there any other test suite available for pango other than the test suite which ships with pango code? No, not that I know of. I have wanted to add such a thing for some time, but it's hard to do without having small fonts

Re: test suite for pango

2006-08-24 Thread Behdad Esfahbod
On Thu, 2006-08-24 at 14:07 -0400, Owen Taylor wrote: On Thu, 2006-08-24 at 12:37 -0400, Behdad Esfahbod wrote: On Thu, 2006-08-24 at 04:30 -0400, Uma Shankar Ladha wrote: Hi, Are there any other test suite available for pango other than the test suite which ships with pango code

Re: GTK+: Optional translation of %d to %d or %ld breaks PO file

2006-09-02 Thread Behdad Esfahbod
On Sat, 2006-09-02 at 14:15 -0400, Åsmund Skjæveland wrote: On Sat, Sep 02, 2006 at 07:49:11PM +0300, [EMAIL PROTECTED] wrote: On 2006-09-02T18:57:41+0300, [EMAIL PROTECTED] wrote: #. Translators: this defines whether the week numbers should use #. * localized digits or the ones used in

Re: GTK 2.2.4 with Pango 1.2.5 -- performance depends on language

2006-09-22 Thread Behdad Esfahbod
On Fri, 2006-09-22 at 16:19 -0400, Boncek, John wrote: We have a large application that can be run in many languages. Screen transitions slow down noticeably in certain languages (with everything else the same). In English or Chinese Simplified, a certain screen takes about 3 seconds to

Pango-1.15.0 released [unstable]

2006-10-16 Thread Behdad Esfahbod
351585 – API documentation issues with 2.15 release Behdad Esfahbod 16 October 2006 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

Re: [cairo] Report for the pango patch and proper profiles

2006-12-04 Thread Behdad Esfahbod
On Mon, 2006-12-04 at 17:03 -0800, Daniel Amelang wrote: On 12/4/06, Behdad Esfahbod [EMAIL PROTECTED] wrote: On Fri, 2006-12-01 at 03:59 -0500, Behdad Esfahbod wrote: This is mostly done and in pango-1.15.0 now. Yes, down to zero pango_font_get_glyph_extents() calls per expose

Re: [cairo] Report for the pango patch and proper profiles

2006-12-05 Thread Behdad Esfahbod
On Wed, 2006-12-06 at 00:11 +0200, Jorn Baayen wrote: I oprofiled them both today (using the timetext test): http://folks.o-hand.com/~jorn/pango-benchmarks/28-pango-1.15.0/ http://folks.o-hand.com/~jorn/pango-benchmarks/28-pango-1.15.1/ I never was good with oprofile reports, but: looking

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

Re: Computing cairo surface dimensions in advance

2006-12-12 Thread Behdad Esfahbod
On Wed, 2006-12-13 at 00:57 +0100, Daniel Elstner wrote: Tough one, as I don't think I understand all of the implications yet. It'd help a lot if the documentation of pango_cairo_update_context() would elaborate a little on when and why it needs to be called, and shed some light on the

Re: delay at pango startup

2007-01-02 Thread Behdad Esfahbod
On Sun, 2006-12-17 at 14:27 -0500, Ralf Stephan wrote: My question: which function to call to initialize pango such that this delay will no longer show for the app's lifetime? This is most probably time spent in fontconfig. You can try creating a dummy layout with some text in it and ask

Re: ETA for unicode combined char in Pango?

2007-01-21 Thread Behdad Esfahbod
On Sat, 2007-01-20 at 20:34 +0700, Mathieu Pellerin wrote: Greetings, I was wondering if the Pango developers have an ETA on a yet-to-be-supported feature that, lacking the proper technical term, I would define as 'unicode combined char'. For example, the unicode character U+17FE, a Khmer

Re: ETA for unicode combined char in Pango?

2007-01-21 Thread Behdad Esfahbod
elements can be separately positioned above and below the base glyph which may consist of one or more consonants and so, in Tibetan, is of variable height. Isn't that just the bug I mentioned already: http://bugzilla.gnome.org/show_bug.cgi?id=385168 behdad - Chris Behdad

Re: Accessing get_ascent/get_descent from a FontDescription

2007-01-27 Thread Behdad Esfahbod
Hi Alex, On Wed, 2007-01-10 at 18:12 -0800, Alex Faucher wrote: I'm tasked with doing some very precise font positioning. In order to do this it seems I need to access the ascent/descent from the FontMetrics class. I've spent quite a bit of time with the documentation (mostly gtkmm, but

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 signature.asc Description: This is a digitally signed message part ___ gtk-i18n-list mailing list gtk

Re: How to start using Pango?

2007-03-03 Thread Behdad Esfahbod
On Fri, 2007-03-02 at 21:30 +0100, Jürgen Herz wrote: I'd appreciate some pointers or a short howto. There are two ways to use pango, both need the following before anything can be rendered: - A PangoFontMap. This largely depends on the rendering technology you want to use. I highly

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

Re: Has the pango_itemize call changed since libpango 1.8? We now get severe valgrind issues (invalid read and others) associated with this call.

2007-03-25 Thread Behdad Esfahbod
On Sun, 2007-03-25 at 13:51 -0700, Alan W. Irwin wrote: This is a question about the proper way to set up the call to pango_itemize for libpango. When I build libLASi (http://www.unifont.org/lasi/) using the Debian stable development libraries (Version: 1.8.1-1 of libpango and Version:

Re: Has the pango_itemize call changed since libpango 1.8? We now get severe valgrind issues (invalid read and others) associated with this call.

2007-03-25 Thread Behdad Esfahbod
On Sun, 2007-03-25 at 17:38 -0700, Alan W. Irwin wrote: On 2007-03-25 18:06-0400 Behdad Esfahbod wrote: Has there been some change to how users should set up pango_itemize since version 1.8.1 of the libpango library? Not really. All the warnings you attached look like false

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 signature.asc Description

Pango-1.16.4 released

2007-04-27 Thread Behdad Esfahbod
positioning in the cairo backend Behdad Esfahbod 27 April 2007 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: What are the most useful versions of Pango and dependencies for bug reporting?

2007-05-03 Thread Behdad Esfahbod
On Thu, 2007-05-03 at 12:52 -0700, Alan W. Irwin wrote: I would like to build the latest version of Pango to see whether what seems to be a bug in my old system version of Pango still persists. It appears from http://www.pango.org/Download that jhbuild is the way to do such Pango builds. I

Re: What are the most useful versions of Pango and dependencies for bug reporting?

2007-05-03 Thread Behdad Esfahbod
On Thu, 2007-05-03 at 16:20 -0700, Alan W. Irwin wrote: Behdad, are there any other tarball version changes in the Pango dependencies that you would recommend for the above group of jhbuild module files? For example, they use fontconfig-2.4.1 and glib-2.13.0 in the jhbuild. Let me know

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 signature.asc Description: This is a digitally signed message

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 signature.asc Description: This is a digitally signed

Re: Malayalam SF_PROCESS_ZWJ

2007-06-16 Thread Behdad Esfahbod
On Sun, 2007-06-17 at 02:22 +1000, Harshula wrote: Hi, I noticed that the SF_PROCESS_ZWJ flag has been removed from the Malayalam script flags in Pango as part of: http://bugzilla.gnome.org/show_bug.cgi?id=357790 My understanding from the indic unicode.org mailing list was that it was

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 signature.asc Description: This is a digitally signed message part

Re: Fwd: Malayalam SF_PROCESS_ZWJ

2007-06-19 Thread Behdad Esfahbod
On Tue, 2007-06-19 at 23:02 +0530, Sayamindu Dasgupta wrote: To begin with the efforts, we (the Bengali team) have been using a very rudimentary test case of our own (http://www.stat.wisc.edu/~deepayan/Bengali/FreeBangTemplate/juktolist.txt) for testing the fonts that we have developed. It

Re: Pango problem

2007-08-19 Thread Behdad Esfahbod
On Sun, 2007-08-19 at 23:08 +0200, Adam Klobukowski wrote: Hello I'm rendering a line of text with Pango. The markup has foreground and background attributes used few times to change colors. I'm drawing the layout to a pixmap with height few (device) pixels greater then text rendered by

Re: Pango problem

2007-08-20 Thread Behdad Esfahbod
On Mon, 2007-08-20 at 07:31 +0200, Adam Klobukowski wrote: Behdad Esfahbod pisze: On Sun, 2007-08-19 at 23:08 +0200, Adam Klobukowski wrote: Hello I'm rendering a line of text with Pango. The markup has foreground and background attributes used few times to change colors. I'm drawing

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: undefined reference to `pangoft2_viewer' when cross compiling to arm-linux

2007-08-22 Thread Behdad Esfahbod
On Wed, 2007-08-22 at 14:52 -0400, John C. Meuser wrote: I'm attempting to cross compile Pango 1.16.2 for arm-linux and keep getting the same problem: undefined reference to `pangoft2_viewer' Googling only seems to reveal that I need the freetype development files installed, which I do

Re: Pango and non-system fonts

2007-08-22 Thread Behdad Esfahbod
On Wed, 2007-08-22 at 11:55 -0400, Mike Branciforte wrote: We are exploring the possibility of using Cairo+Pango to render pages from a PDF document. You don't need / shouldn't use pango for rendering PDF. Pango is used to convert characters to glyphs and to lay text out. PDF on the other

Re: Pango Installation Issues

2007-08-26 Thread Behdad Esfahbod
On Sat, 2007-08-25 at 18:29 -0700, Pradeep Chimakurthy wrote: It seemed to be coming from the fontconfig dependency on expat. On searching online, I found some information saying that this information is put into one of the libtool [.la] files but not much else. Could anybody help me with

Re: Pango - Fix needs to be applied for Kannada

2007-08-31 Thread Behdad Esfahbod
On Sat, 2007-09-01 at 04:32 +0530, Omshivaprakash | ಓಂಶಿವಪ್ರಕಾಶ್ wrote: Hi, Hi, I'm trying to get the bug reported here fixed at the earliest. http://bugzilla.gnome.org/show_bug.cgi?id=380094 Then say so there, not here. Mr. Ramakrishna released patches twice for this bug and I have

Re: Pango and non-system fonts

2007-09-01 Thread Behdad Esfahbod
into the PDF spec to better understand the text operators. Mike behdad On 8/24/07, Behdad Esfahbod [EMAIL PROTECTED] wrote: On Thu, 2007-08-23 at 14:08 -0400, Mike Branciforte wrote: On 8/22/07, Behdad Esfahbod [EMAIL PROTECTED] wrote: On Wed, 2007-08-22 at 11:55 -0400, Mike Branciforte

Re: Indic script support in cross-compilation environment

2007-09-11 Thread Behdad Esfahbod
On Tue, 2007-09-11 at 19:37 +0530, Harsh Ketkar wrote: Hi, I have compiled cairo and pango with X-libraries disabled and DirectFB enabled. I am using gtk+ with DirectFB. I want to enable devanagri fonts. I have written a look-up table, in which a certain keypress gives a devnagari

Re: Indic script support in cross-compilation environment

2007-09-12 Thread Behdad Esfahbod
On Wed, 2007-09-12 at 19:14 +0530, Rahul Bhalerao wrote: You have the fonts installed properly. But there are issues with the font selection in DirectFB, especially for arabic and indic scripts. None that I know of. What do you have in mind? -- Rahul Bhalerao -- behdad

Re: Indic script support in cross-compilation environment

2007-09-13 Thread Behdad Esfahbod
On Thu, 2007-09-13 at 13:38 +0530, Harshvardhan Ketkar wrote: Thanks for the quick responses, all of you. The improper rendition of devanagari characters is not restricted to my application. Inside the cross-compiling environment, even when I try to type something on the console(or inside

Re: Pango - Fix needs to be applied for Kannada

2007-09-13 Thread Behdad Esfahbod
On Sat, 2007-09-01 at 11:59 +0530, Rahul Bhalerao wrote: I would like to maintain the Indic module. With my experience in font development and continuous work on Indic scripts, I think you may trust me on this :) Feel free to start reviewing patches and commenting on bugs then! behdad

Re: when i cross compile pango 1.17.0 - i get undefined reference

2007-09-19 Thread Behdad Esfahbod
On Wed, 2007-09-19 at 16:35 +0530, Shilpa Singh wrote: hai, I would like to cross compile Pango 1.17.0 for an ARM board with the toolchain arm-linux. I have set all variables like CC,LD,AS,AR,RANLIB,STRIP correctly. this is my configure Then don't try to compile Pango 1.17.0!

Re: pango installation question

2007-10-09 Thread Behdad Esfahbod
On Tue, 2007-10-09 at 14:11 -0600, Ali Moeinvaziri wrote: I'm trying to compile pango version 1.18.0, before I can attempt to install gtk. At compile time, I get an undefined symbol error message: Undefined first referenced symbol in file

Re: pango_layout_xy_to_index

2007-10-14 Thread Behdad Esfahbod
On Fri, 2007-10-12 at 11:27 +0200, Maarten L. Hekkelman wrote: Don't know if this is the right place to ask, but I'll try anyway. I'm porting an editor and started using Pango. I'm impressed by the clean interface and the functionality. Glad you like it. However, I think I found a bug. It

Re: pango_layout_xy_to_index

2007-10-15 Thread Behdad Esfahbod
On Mon, 2007-10-15 at 09:26 +0200, Maarten L. Hekkelman wrote: This meant the tabstops were not set up properly and Pango apparently falls back to 8 spaces per tab when tab stops are exhausted. No, it repeats the difference between your last two stops. Which leads to a feature request:

Re: [gtk-i18n-list] Which Non-Latin Scripts Do Free Software Fonts Not Cover?

2007-10-17 Thread Behdad Esfahbod
On Wed, 2007-10-17 at 18:44 +0900, [EMAIL PROTECTED] wrote: A typical example might be N'Ko script. Pango already includes a module to layout N'Ko script by OpenType font. But Microsoft does not provide any specification for OpenType table design to support N'Ko script. So, there is a

Re: Chinese Traditional appearance -- mixed weights?

2007-10-19 Thread Behdad Esfahbod
Hi Owen, I've had this message of yours from last September in my inbox for quite a while, because I couldn't congest it the first time. Tonight I gave it another try and I still don't follow. Do you mind clarifying what the fontconfig change is about? More inline. On Sat, 2006-09-30 at 11:55

Re: Chinese Traditional appearance -- mixed weights?

2007-10-20 Thread Behdad Esfahbod
On Sat, 2007-10-20 at 18:33 -0400, Owen Taylor wrote: On Fri, 2007-10-19 at 21:34 -0400, Behdad Esfahbod wrote: Hi Owen, I've had this message of yours from last September in my inbox for quite a while, because I couldn't congest it the first time. Tonight I gave it another try and I

Re: Using GLC with Pango

2007-10-22 Thread Behdad Esfahbod
On Sun, 2007-10-14 at 13:16 +0200, Bertrand Coconnier wrote: Hi all, I am the developper of QuesoGLC, a free implementation of SGI's GLC library (an OpenGL character renderer). See http://quesoglc.sourceforge.net QuesoGLC's main purpose is to render characters (using OpenGL) but not to

Re: Drawing a halo around text

2007-10-26 Thread Behdad Esfahbod
On Fri, 2007-10-26 at 10:11 -0500, Matt Hoosier wrote: Hi, I'd like to draw some text over the top of a user-supplied splash screen. Because I can't know what the color scheme contained in that image will be, I need to do something like paint a small (1-pixel ?) border of known color around

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: Help with use of PangoLayout

2007-10-30 Thread Behdad Esfahbod
On Mon, 2007-10-29 at 02:56 +0100, Bogdan Butnaru wrote: Hello! Hi, I'm having a bit of trouble figuring out what's the best way of doing some rather complex text layout using Pango. Unfortunately modifying the layout is one area that PangoLayout is not very good at currently. What I'm

Re: Help with use of PangoLayout

2007-10-30 Thread Behdad Esfahbod
On Tue, 2007-10-30 at 22:32 +0100, Bogdan Butnaru wrote: On Oct 30, 2007 9:51 PM, Behdad Esfahbod [EMAIL PROTECTED] wrote: [snip] (I could just make do with an ellipsizing function with both horizontal and vertical limits, but that's not available as far as I can tell.) Yes, that's

Re: Pango in Win32

2007-11-05 Thread Behdad Esfahbod
On Mon, 2007-11-05 at 12:28 -0600, [EMAIL PROTECTED] wrote: Hi, All I am new comer of GTK+ and want to integrate the Pango 1.18.3 into out Win32 tools, but there is no any document or sample code I can use. So can anyone here help me, plsthks. i.e questions: 1) How do

Re: Pango in Win32

2007-11-05 Thread Behdad Esfahbod
On Mon, 2007-11-05 at 14:40 -0500, Behdad Esfahbod wrote: On Mon, 2007-11-05 at 12:28 -0600, [EMAIL PROTECTED] wrote: 2) How do i create a PangoGlyphString out of a given Unicode String in combination with a created PangoFont? pango_itemize() followed by pango_shape

RE: Pango in Win32

2007-11-05 Thread Behdad Esfahbod
slowly working on it though, will be in a future version of Pango: http://bugzilla.gnome.org/show_bug.cgi?id=347237 behdad -Tim -Original Message- From: Behdad Esfahbod [mailto:[EMAIL PROTECTED] On Behalf Of ext Behdad Esfahbod Sent: Monday, November 05, 2007 11:42 AM To: Xu

pango branched, a while ago...

2007-11-08 Thread Behdad Esfahbod
Hi, Ok, I forgot to send this earlier, but anyway. A few weeks ago Pango was branched for 1.18 retroactively. The stable branch is called pango-1-18. Please update. -- behdad http://behdad.org/ Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve

Re: Finding white space or line break candidates using Pango?

2007-11-13 Thread Behdad Esfahbod
On Mon, 2007-11-12 at 21:32 +0100, Leon Woestenberg wrote: Hello, using Pango, I would like to layout a infinitely long (UTF-8 encoded) text piece by piece (as it scrolls by), and my best guess would be to do this at white space, or line break candidates. Is there a function available

Re: How to create a PangoCairoFontMap?

2007-12-10 Thread Behdad Esfahbod
On Mon, 2007-12-10 at 12:46 +0200, Cosmin Humeniuc wrote: Hi, I did use that function, but it returns a PangoFontMap*, while pango_cairo_font_map_create_context() asks for a PangoCairoFontMap*, and this leads to the following warning: passing argument 1 of

On CJK font selection (was Re: [Fwd: Re: Request for review and advice on wqy-bitmap-fonts fontconfig settings])

2007-12-12 Thread Behdad Esfahbod
Hi Qianqian, [CC'ing to gtk-i18n-list, so hopefully this is the last time I have to repeat this.] On Mon, 2007-12-10 at 18:01 -0500, Qianqian Fang wrote: Go back to the digit font change issue as we discussed earlier, I spent some time in the past few days, trying to get myself a more clear

Re: [gtk-i18n-list] On CJK font selection (was Re: [Fwd: Re: Request for review and advice on wqy-bitmap-fonts fontconfig settings])

2007-12-12 Thread Behdad Esfahbod
On Thu, 2007-12-13 at 12:23 +0900, [EMAIL PROTECTED] wrote: http://www.pango.org/ScriptGallery?action=AttachFiledo=gettarget=Vertical.png http://www.pango.org/ScriptGallery?action=AttachFiledo=gettarget=VerticalSimple.png In the vertical texts, the 3rd character (punctuation after 好)

Re: On CJK font selection (was Re: [Fwd: Re: Request for review and advice on wqy-bitmap-fonts fontconfig settings])

2007-12-17 Thread Behdad Esfahbod
On Mon, 2007-12-17 at 11:46 +0100, Nicolas Mailhot wrote: I don't see much the point of the TTC solution, except as a workaround to lack of opentype BASE support. You are prolly right. Families with the same name have almost all the problems of a pan-Unicode font when installed. -- behdad

  1   2   3   4   >