summaryrefslogtreecommitdiff
path: root/modules
Commit message (Collapse)AuthorAgeFilesLines
* Stop using G_CONST_RETURN in PangoRyan Lortie2011-06-091-1/+1
| | | | | | | G_CONST_RETURN is headed for deprecation (as per bug #644611). Stop using it in Pango. https://bugzilla.gnome.org/show_bug.cgi?id=652202
* Shape engine should return array in LTR order when expectedKristian Rietveld2011-04-141-9/+26
|
* Start implementation of CoreText backendKristian Rietveld2011-04-142-0/+249
| | | | | | | | | | | On Mac OS X systems where CoreText is available (that is, 10.5 or higher), we will build the CoreText backend instead of the ATSUI backend. In this case, the ATSUI backend will not be built and installed. This change is necessary because since Mac OS 10.5 ATSUI has been marked as deprecated. For older systems, we will have to continue to use the ATSUI backend.
* Bug 646213 - Hangul Jamo render as U+00xx boxes and produce valgrind errorsBehdad Esfahbod2011-04-071-2/+3
| | | | Fix the previous fix!
* Bug 646213 - Hangul Jamo render as U+00xx boxes and produce valgrind errorsBehdad Esfahbod2011-04-061-1/+1
|
* Reduce DLL hijack risk and simplify code in basic-win32 moduleTor Lillqvist2010-09-112-106/+33
| | | | | | | Dont load usp10.dll dynamically with LoadLibrary(). Just link to the Uniscribe API directly. MinGW comes with an import library so no problem with that either. The Uniscribe DLL is present on all versions of Windows we care for.
* Improve performance on Windows especially for non-Latin scriptsTor Lillqvist2010-06-261-12/+38
| | | | | | | The use of Uniscribe script caches was decidedly suboptimal. Use one persistent SCRIPT_CACHE per Win32 font and script. Patch by by David E. Hollingsworth and Fredrik Corneliusson, from bug
* Put the PANGO_MODULE_PREFIX defines in the project filesTor Lillqvist2010-03-1611-44/+0
| | | | | Put the PANGO_MODULE_PREFIX defines in the project files instead of having them behind an ifdef in the source files.
* Build fix on Linux after previous commitsTor Lillqvist2010-03-1511-11/+11
|
* Add solution and project files for Visual Studio buildsTor Lillqvist2010-03-1512-0/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | The VS files are kept in build/win32/vs9, the same relative location as in GLib, mostly for historical reasons. Update README.win32 to reflect the VS possibility. Include the VS solution and project files in the tarball when doing a release. To avoid having to list source files in several locations, generate files listing source files at "make dist" time in the corresponding source directories. Use the C preprocessor to preprocess .vcprojin files that include said list files into the actual .vcproj project files. Provide a rc file for the pangocairo DLL, too. Construct and provide in the tarball a pregenerated config.h.win32 which can be used as config.h when building with Visual C without running any configure script. Provide pregenerarated module-defs.h.win32, module-defs-lang.c.win32 files too. Define PANGO_MODULE_PREFIX appropriately in the relevant module source files if not available from the compilation command line. Update module-defs-fc.c.win32 and module-defs-win32.c.win32 to match what the configure script provides.
* Bug 594101 - [Indic] needed character class data updates to support unicode 5.1Behdad Esfahbod2010-03-031-6/+6
| | | | Random character class changes... It's all Chinese to me.
* Bug 345066 - backspace changes independent indic charactersBehdad Esfahbod2010-03-031-0/+73
|
* Bug 608923 - Incorrect/broken ligatures on MacOSKristian Rietveld2010-02-281-6/+9
| | | | | | Fix the basic ATSUI to probably work on 64-bit Snow Leopard. The main culprit was most probably in the usage of CGFontRef, where ATSUFontID was expected.
* 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