summaryrefslogtreecommitdiff
path: root/modules
Commit message (Collapse)AuthorAgeFilesLines
* Bug 596614 - Pango application receives SIGSEGV on pasting text with U+202EBehdad Esfahbod2009-11-174-0/+4
| | | | | Fixed all modules to reverse glyphs if run is rtl. Except for Hangul module. Fixed pango_shape() to detect that, warn, and reverse.
* Bug 594101 - [Indic] character class data updates to support unicode 5.1Behdad Esfahbod2009-10-231-4/+4
| | | | Add classification for new characters. Patch from Parag AN.
* Revert "[basic-win32] Increase performance of Uniscribe code"Tor Lillqvist2009-09-101-6/+7
| | | | | | Unfortunately this change breaks complex script shaping. This reverts commit ea608c0bd7721d3019bed7ef2472289b1ea6fa53.
* Bug 592131 - Add AM_SILENT_RULESBehdad Esfahbod2009-08-171-1/+1
| | | | | And sprinkle some $(AM_V_GEN) around. Silent rules are disabled by default.
* [basic-win32] Increase performance of Uniscribe codeDavid E. Hollingsworth2009-08-131-7/+6
| | | | | | | | | | | | | | | | A few weeks ago I reported a performance issue regarding the use of Uniscribe in the win32 basic shaper. It turns out that the issue was with the use of Uniscribe's SCRIPT_CACHE. Despite the name, this value is for caching per-font-plus-size values, not per-script values. See: http://msdn.microsoft.com/en-us/library/dd317726(VS.85).aspx Since shaping occurs on runs containing a single font, we only need one SCRIPT_CACHE in uniscribe_shape. I'm including a patch below that does this. With the patch applied, the time for one of my tests went from 20s to .3s.
* [atsui] Port to use CoreText instead of ATSBehdad Esfahbod2009-07-261-3/+3
| | | | Patch from http://trac.macports.org/ticket/17049
* Use git.mkBehdad Esfahbod2009-04-1710-0/+20
|
* [indic] Fix buildBehdad Esfahbod2009-03-261-3/+3
|
* Bug 571291 – Unicode 5.1 support in pango - Indic LanuagesBehdad Esfahbod2009-03-261-9/+11
| | | | | Add char class for new characters. Patch from Rahul Bhalerao.
* Bug 529591 – Code related to malayalam is misplaced. Patch from RahulBehdad Esfahbod2009-01-041-1/+2
| | | | | | | | | | | 2009-01-03 Behdad Esfahbod <behdad@gnome.org> Bug 529591 – Code related to malayalam is misplaced. Patch from Rahul Bhalerao * modules/indic/indic-ot.c (indic_ot_reorder): Fix it. svn path=/trunk/; revision=2780
* Fix all warnings in modules/.Behdad Esfahbod2008-12-2613-39/+36
| | | | | | | | | | | | | | | | | | | | | | | | 2008-12-25 Behdad Esfahbod <behdad@gnome.org> * modules/arabic/arabic-fc.c (arabic_engine_shape): * modules/arabic/arabic-lang.c (arabic_engine_break): * modules/basic/basic-fc.c (basic_engine_shape): * modules/basic/basic-x.c (find_char), (conv_8bit), (conv_eucjp), (conv_16bit), (conv_16bit_MSB_on), (conv_gb18030_1), (conv_euctw), (conv_ucs4), (basic_engine_shape), (basic_engine_covers): * modules/hangul/hangul-fc.c (hangul_engine_shape): * modules/hebrew/hebrew-fc.c (add_cluster), (fallback_shape): * modules/indic/indic-lang.c (indic_engine_break): * modules/khmer/khmer-fc.c (khmer_engine_shape): * modules/syriac/syriac-fc.c (syriac_engine_shape): * modules/thai/thai-fc.c (get_glyph_index_tis), (thai_engine_shape), (thai_make_unknown_glyph): * modules/thai/thai-lang.c (thai_engine_break): * modules/thai/thai-shaper.c (get_glyphs_list): * modules/tibetan/tibetan-fc.c (tibetan_engine_shape): Fix all warnings in modules/. svn path=/trunk/; revision=2771
* Minor indentation fixes for previous commit.Theppitak Karoonboonyanan2008-11-221-2/+2
| | | | | | | | | | 2008-11-22 Theppitak Karoonboonyanan <thep@linux.thai.net> * modules/thai/thai-lang.c (thai_engine_break): Minor indentation fixes for previous commit. svn path=/trunk/; revision=2741
* Bug 561740 – Use stack allocation for thai_engine_breakChris Wilson2008-11-221-26/+35
| | | | | | | | | | | | 2008-11-22 Chris Wilson <chris@chris-wilson.co.uk> Bug 561740 – Use stack allocation for thai_engine_break * modules/thai/thai-lang.c (utf8_to_tis), (thai_engine_break): Small tweak to allocate small, temporary arrays on the stack. svn path=/trunk/; revision=2740
* Fedora Bug 457883 - Sindhi Characters are not supported in pangoBehdad Esfahbod2008-08-061-1/+1
| | | | | | | | | | | | 2008-08-06 Behdad Esfahbod <behdad@gnome.org> Fedora Bug 457883 - Sindhi Characters are not supported in pango [U+097B-U+097F] Patch from Pravin Satpute * modules/indic/indic-ot-class-tables.c: Add [U+097B-U+097F]. svn path=/trunk/; revision=2684
* Bug 441654 – prefix fails when more than one base characters (asBehdad Esfahbod2008-08-061-1/+1
| | | | | | | | | | | | | | 2008-08-06 Behdad Esfahbod <behdad@gnome.org> Bug 441654 – prefix fails when more than one base characters (as conjuncts) present after a half form the next prefix renders incorrectly Patch from Rahul Bhalerao * modules/indic/mprefixups.c (indic_mprefixups_apply): Do what I was told to do. svn path=/trunk/; revision=2682
* Bug 380094 – Fix split matra rendering bug for Kannada languageBehdad Esfahbod2008-06-231-1/+1
| | | | | | | | | | | | 2008-06-23 Behdad Esfahbod <behdad@gnome.org> Bug 380094 – Fix split matra rendering bug for Kannada language * modules/indic/indic-ot-class-tables.c: Fix Indic class for U+0C8D and U+0C8E. svn path=/trunk/; revision=2658
* Include "config.h" instead of <config.h> Command used: find -nameJohan Dahlin2008-06-2222-22/+22
| | | | | | | | | | | | 2008-06-21 Johan Dahlin <jdahlin@async.com.br> * *.[ch]: Include "config.h" instead of <config.h> Command used: find -name \*.[ch]|xargs perl -p -i -e 's/^#include <config.h>/#include "config.h"/g' Rubberstamped by Behdad svn path=/trunk/; revision=2657
* Bug 536017 – Remove SF_MPRE_FIXUP from Sinhala script flags Patch byBehdad Esfahbod2008-06-181-1/+1
| | | | | | | | | | | | | | 2008-06-18 Behdad Esfahbod <behdad@gnome.org> Bug 536017 – Remove SF_MPRE_FIXUP from Sinhala script flags Patch by Harshula * modules/indic/indic-ot-class-tables.c: Just freakin' do it. I have no idea if it's right or wrong. Just that I've been pestered enough to do it. Time will tell... svn path=/trunk/; revision=2656
* Bug 515484 -- Uniscribe interface handles surrogate pairs incorrectlyTor Lillqvist2008-02-251-2/+2
| | | | | | | | | | | | | | | 2008-02-25 Tor Lillqvist <tml@novell.com> Bug 515484 -- Uniscribe interface handles surrogate pairs incorrectly * modules/basic/basic-win32.c (itemize_shape_and_place): Pass correctly offset wchar string to set_up_pango_log_clusters() so that when it passes the string on to unichar_index() it notices the surrogate pairs correctly. svn path=/trunk/; revision=2574
* Oops, fix the coding style. My editor ate the space...Kristian Rietveld2008-02-211-1/+1
| | | | svn path=/trunk/; revision=2572
* free the ATSU style and utf16 string at the end.Kristian Rietveld2008-02-211-0/+3
| | | | | | | | | | 2008-02-21 Kristian Rietveld <kris@imendio.com> * modules/basic/basic-atsui.c (basic_engine_shape): free the ATSU style and utf16 string at the end. svn path=/trunk/; revision=2571
* Bug 504810 – Samvruthokaram (combination of U+0D41 and U+0D4D) is notBehdad Esfahbod2008-02-082-1/+7
| | | | | | | | | | | | | | | 2008-02-08 Behdad Esfahbod <behdad@gnome.org> Bug 504810 – Samvruthokaram (combination of U+0D41 and U+0D4D) is not rendered correctly Patch from Praveen A * modules/indic/indic-ot-class-tables.c: * modules/indic/indic-ot.c (indic_ot_reorder): "Fix" it. svn path=/trunk/; revision=2562
* Bug 501938 – Arabic shaping broken with vertical layout withBehdad Esfahbod2007-12-061-1/+3
| | | | | | | | | | | | | 2007-12-05 Behdad Esfahbod <behdad@gnome.org> Bug 501938 – Arabic shaping broken with vertical layout with vertical-hint=line * modules/arabic/arabic-fc.c (arabic_engine_shape): Take gravity into equation when deciding whether to shape visually or logically. svn path=/trunk/; revision=2516
* Fixed my email adress in the comment.Dov Grobgeld2007-10-201-1/+1
| | | | svn path=/trunk/; revision=2452
* Bug 486932 – Apply vkrn GPOS feature in vertical writingBehdad Esfahbod2007-10-151-2/+7
| | | | | | | | | | | | | 2007-10-15 Behdad Esfahbod <behdad@gnome.org> Bug 486932 – Apply vkrn GPOS feature in vertical writing * modules/basic/basic-fc.c (basic_engine_shape): Apply vkrn GPOS feature in vertical writing mode. Previously we had no GPOS feature for vertical mode. svn path=/trunk/; revision=2445
* Bug 451682 – Cursor positioning for Sinhala is broken Based on patchBehdad Esfahbod2007-08-011-1/+1
| | | | | | | | | | | | | 2007-08-01 Behdad Esfahbod <behdad@gnome.org> Bug 451682 – Cursor positioning for Sinhala is broken Based on patch from Harshula * modules/indic/indic-lang.c (indic_engine_break): Fix bug that I introduced in the patch. svn path=/trunk/; revision=2388
* Bug 451682 – Cursor positioning for Sinhala is broken Based on patchBehdad Esfahbod2007-07-312-97/+59
| | | | | | | | | | | | | | 2007-07-31 Behdad Esfahbod <behdad@gnome.org> Bug 451682 – Cursor positioning for Sinhala is broken Based on patch from Harshula * modules/indic/indic-lang.c (not_cursor_position), (indic_engine_break): Clean up cursor position stuff. svn path=/trunk/; revision=2387
* Bug 150883 – Unicode LRO defectBehdad Esfahbod2007-07-243-14/+22
| | | | | | | | | | | | | | | 2007-07-24 Behdad Esfahbod <behdad@gnome.org> Bug 150883 – Unicode LRO defect * modules/arabic/arabic-fc.c (arabic_engine_shape): * modules/arabic/arabic-ot.c (Get_Joining_Class), (Arabic_Assign_Properties): * modules/arabic/arabic-ot.h: Correctly handle Arabic shaping in left-to-right runs. svn path=/trunk/; revision=2378
* Remove unused file!Behdad Esfahbod2007-07-241-361/+0
| | | | svn path=/trunk/; revision=2377
* Update copyright headers.Behdad Esfahbod2007-07-205-19/+26
| | | | | | | | | | | | | | 2007-07-21 Behdad Esfahbod <behdad@gnome.org> * modules/arabic/arabic-fc.c: * modules/basic/basic-fc.c: * modules/hebrew/hebrew-fc.c: * modules/syriac/syriac-fc.c: * modules/thai/thai-fc.c: Update copyright headers. svn path=/trunk/; revision=2372
* Remove list of supported scripts. Supporting all is what we really wantBehdad Esfahbod2007-07-091-27/+0
| | | | | | | | | | 2007-07-10 Behdad Esfahbod <behdad@gnome.org> * modules/basic/basic-atsui.c: Remove list of supported scripts. Supporting all is what we really want and that's already there. svn path=/trunk/; revision=2371
* Remove unused empty header file basic-common.hBehdad Esfahbod2007-07-055-37/+0
| | | | | | | | | | | | | | 2007-07-05 Behdad Esfahbod <behdad@gnome.org> * modules/basic/Makefile.am: * modules/basic/basic-fc.c: * modules/basic/basic-win32.c: * modules/basic/basic-x.c: * modules/basic/basic-common.h: Remove unused empty header file basic-common.h svn path=/trunk/; revision=2370
* Bug 449543 - Ship pangoatsui.hRichard Hult2007-06-241-8/+4
| | | | | | | | | | | | | | | | | | | | | | 2007-06-24 Richard Hult <richard@imendio.com> Bug 449543 - Ship pangoatsui.h * pango/pangoatsui-fontmap.c: * pango/pangoatsui-private.h: * pango/pangoatsui.c: * pango/pangoatsui.h: * pango/pangocairo-atsuifont.c: * pango/pangocairo-atsuifont.h: Move get_atsu_font_id from the cairo atsui font class to the atsui base class. Make the members of the atsui font private and adapt all users of them. * pango/Makefile.am: Ship pangoatsui.h. * modules/basic/basic-atsui.c: (basic_engine_shape): Adapt to the above changes. svn path=/trunk/; revision=2366
* Rename pango_ot_ruleset_get_for() toBehdad Esfahbod2007-06-038-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | 2007-06-03 Behdad Esfahbod <behdad@gnome.org> * docs/pango-sections.txt: * docs/tmpl/opentype.sgml: * modules/arabic/arabic-fc.c (arabic_engine_shape): * modules/basic/basic-fc.c (basic_engine_shape): * modules/hebrew/hebrew-fc.c (hebrew_engine_shape): * modules/indic/indic-fc.c (indic_engine_shape): * modules/khmer/khmer-fc.c (khmer_engine_shape): * modules/syriac/syriac-fc.c (syriac_engine_shape): * modules/thai/thai-fc.c (thai_engine_shape): * modules/tibetan/tibetan-fc.c (tibetan_engine_shape): * pango/pango-ot-ruleset.c (pango_ot_ruleset_get_for_description), (pango_ot_ruleset_new_from_description): * pango/pango-ot.h: * pango/pangoft2.def: Rename pango_ot_ruleset_get_for() to pango_ot_ruleset_get_for_description(). New engine API: pango_ot_ruleset_new_from_description(). svn path=/trunk/; revision=2328
* Bug 357790 – Rendering problem for malayalam consonant RA (U+0D30)Behdad Esfahbod2007-05-242-17/+1
| | | | | | | | | | | | | 2007-05-24 Behdad Esfahbod <behdad@gnome.org> Bug 357790 – Rendering problem for malayalam consonant RA (U+0D30) * modules/indic/indic-ot-class-tables.c: * modules/indic/indic-ot.c (indic_ot_reorder): Commit remaining fix for malayalam. svn path=/trunk/; revision=2320
* Port to new OpenType APIs. Add standard features.Behdad Esfahbod2007-05-161-118/+52
| | | | | | | | | | 2007-05-15 Behdad Esfahbod <behdad@gnome.org> * modules/hebrew/hebrew-fc.c (hebrew_engine_shape): Port to new OpenType APIs. Add standard features. svn path=/trunk/; revision=2310
* Port to new OpenType APIs and cleanup a bit. Add standard features.Behdad Esfahbod2007-05-166-331/+101
| | | | | | | | | | | | | | | | | | | 2007-05-15 Behdad Esfahbod <behdad@gnome.org> * modules/thai/Makefile.am: * modules/thai/thai-fc.c (thai_get_font_info), (thai_engine_shape), (thai_make_unknown_glyph): * modules/thai/thai-shaper.c (get_glyphs_list), (add_cluster), (thai_set_glyphs): * modules/thai/thai-shaper.h: Port to new OpenType APIs and cleanup a bit. Add standard features. * modules/thai/thai-ot.c: * modules/thai/thai-ot.h: Removed. Not needed anymore. svn path=/trunk/; revision=2309
* Port to new OpenType APIs. Add standard features (ccmp, locl, calt, kern,Behdad Esfahbod2007-05-162-196/+83
| | | | | | | | | | | | 2007-05-15 Behdad Esfahbod <behdad@gnome.org> * modules/khmer/khmer-fc.c (khmer_engine_shape): * modules/tibetan/tibetan-fc.c (tibetan_engine_shape): Port to new OpenType APIs. Add standard features (ccmp, locl, calt, kern, mark, mkmk). svn path=/trunk/; revision=2307
* Add ccmp, locl, calt; kern, mark, and mkmk features.Behdad Esfahbod2007-05-161-2/+8
| | | | | | | | | | 2007-05-15 Behdad Esfahbod <behdad@gnome.org> * modules/indic/indic-fc.c: Add ccmp, locl, calt; kern, mark, and mkmk features. svn path=/trunk/; revision=2306
* Move ruleset creation after populating buffer.Behdad Esfahbod2007-05-153-52/+51
| | | | | | | | | | | | 2007-05-15 Behdad Esfahbod <behdad@gnome.org> * modules/arabic/arabic-fc.c (arabic_engine_shape): * modules/basic/basic-fc.c (basic_engine_shape): * modules/syriac/syriac-fc.c (syriac_engine_shape): Move ruleset creation after populating buffer. svn path=/trunk/; revision=2303
* Port to new OpenType APIs.Behdad Esfahbod2007-05-151-146/+48
| | | | | | | | | | 2007-05-15 Behdad Esfahbod <behdad@gnome.org> * modules/indic/indic-fc.c (indic_engine_shape), (create): Port to new OpenType APIs. svn path=/trunk/; revision=2302
* Bug 436699 – N'Ko support Patch by Eugeniy MeshcheryakovBehdad Esfahbod2007-05-152-0/+40
| | | | | | | | | | | | | | 2007-05-15 Behdad Esfahbod <behdad@gnome.org> Bug 436699 – N'Ko support Patch by Eugeniy Meshcheryakov * modules/arabic/arabic-fc.c (create): * modules/arabic/arabic-ot.c (Get_Joining_Class): Add N'Ko support to the Arabic module. svn path=/trunk/; revision=2301
* Part of Bug 325714 – Pango should respect $LANGUAGE Bug 414264 – PangoBehdad Esfahbod2007-05-143-701/+176
| | | | | | | | | | | | | | | | | | | | | | | | | 2007-05-14 Behdad Esfahbod <behdad@gnome.org> Part of Bug 325714 – Pango should respect $LANGUAGE Bug 414264 – Pango vertical writing support is different with real CJK usage. * modules/arabic/arabic-fc.c (arabic_engine_shape): * modules/basic/basic-fc.c (basic_engine_shape): * modules/syriac/syriac-fc.c (syriac_engine_shape): Remove fallback_shape() paths. Remove get_ruleset(). Use pango_ot_ruleset_get_for(), that correctly works for multiple languages. Also makes basic shaper apply the 'vert' feature for vertical text. Removes a net 500 lines. Other OpenType modules need to be ported over time, however some extensions may be needed. For example, the Hebrew shaper uses fallback code if no GPOS tables are available. Currently using pango_ot_ruleset_get_for() one cannot see which features were found. svn path=/trunk/; revision=2292
* Use PANGO_OT_DEFAULT_LANGUAGE and PANGO_OT_ALL_GLYPHS instead of hardcodedBehdad Esfahbod2007-05-108-75/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | 2007-05-10 Behdad Esfahbod <behdad@gnome.org> * modules/arabic/arabic-fc.c (maybe_add_gsub_feature), (maybe_add_gpos_feature), (get_ruleset): * modules/basic/basic-fc.c (get_ruleset): * modules/hebrew/hebrew-fc.c (maybe_add_gsub_feature), (maybe_add_gpos_feature), (get_ruleset): * modules/indic/indic-fc.c (maybe_add_GSUB_feature), (maybe_add_GPOS_feature): * modules/khmer/khmer-fc.c (maybe_add_GSUB_feature), (maybe_add_GPOS_feature): * modules/syriac/syriac-fc.c (maybe_add_gsub_feature), (maybe_add_gpos_feature), (get_ruleset): * modules/thai/thai-ot.c (maybe_add_gsub_feature), (maybe_add_gpos_feature), (thai_ot_get_ruleset), (lao_ot_get_ruleset): * modules/tibetan/tibetan-fc.c (maybe_add_GSUB_feature), (maybe_add_GPOS_feature): Use PANGO_OT_DEFAULT_LANGUAGE and PANGO_OT_ALL_GLYPHS instead of hardcoded 0xFFFF. svn path=/trunk/; revision=2282
* Bug 436154 – Error building the pango.modules file while cross compilingBehdad Esfahbod2007-05-081-6/+9
| | | | | | | | | | | | | 2007-05-07 Behdad Esfahbod <behdad@gnome.org> Bug 436154 – Error building the pango.modules file while cross compiling * modules/Makefile.am: Make local pango.module generation work with cross-compilation. svn path=/trunk/; revision=2265
* Correct the signature by making PangoAnalysis const, fixes build warning.Richard Hult2007-04-271-6/+6
| | | | | | | | | 2007-04-27 Richard Hult <richard@imendio.com> * modules/basic/basic-atsui.c (basic_engine_shape): Correct the signature by making PangoAnalysis const, fixes build warning. svn path=/trunk/; revision=2236
* Add EXEEXT around to make it build on OS/2 Patch from Dave Yeo.Behdad Esfahbod2007-04-011-5/+5
| | | | | | | | | | 2007-04-01 Behdad Esfahbod <behdad@gnome.org> * modules/Makefile.am: Add EXEEXT around to make it build on OS/2 Patch from Dave Yeo. svn path=/trunk/; revision=2220
* An ISO639 code is always in ASCII, no need to call the wide-characterTor Lillqvist2007-03-071-10/+1
| | | | | | | | | | | 2007-03-07 Tor Lillqvist <tml@novell.com> * modules/basic/basic-win32.c: An ISO639 code is always in ASCII, no need to call the wide-character version of GetLocaleInfo(). svn path=/trunk/; revision=2210
* configure.in modules/basic/Makefile.am Make building with Uniscribe (usingTor Lillqvist2007-03-072-254/+33
| | | | | | | | | | | | | | | | | | | | | | | | 2007-03-07 Tor Lillqvist <tml@novell.com> * configure.in * modules/basic/Makefile.am * modules/basic/basic-win32.c: Make building with Uniscribe (using the <usp10.h> header) mandatory. Mingw's w32api headers do include usp10.h now so one doesn't need to copy it from the Platform SDK any longer. At runtime using Uniscribe is still optional, depending on whether usp10.dll is found or not. I think it isn't necessarily present on Windows 2000 machines, for instance. * modules/basic/basic-win32.c (lang_name): Instead of a hardcoded case statement, use GetLocaleInfo() to get the language ISO639 code. (charset_name): Remove, unused. (itemize_shape_and_place, uniscribe_shape, basic_engine_shape): Constify the PangoAnalysis parameter to match the prototype of PangoEngineShapeClass::script_shape(). svn path=/trunk/; revision=2209
* Bug 414297 – Fails to build with --enable-static --with-included-modulesBehdad Esfahbod2007-03-031-0/+1
| | | | | | | | | | | | | | 2007-03-03 Behdad Esfahbod <behdad@gnome.org> Bug 414297 – Fails to build with --enable-static --with-included-modules in thai lang module Patch from Loïc Minier * modules/thai/Makefile.am: Include LIBTHAI_LIBS in static module too. svn path=/trunk/; revision=2207