summaryrefslogtreecommitdiff
path: root/modules
Commit message (Collapse)AuthorAgeFilesLines
* const correctness fixesMatthias Clasen2005-11-171-1/+1
|
* Fixed bug in khmer module state table. (#320569, Jens Herden)Behdad Esfahbod2005-11-151-2/+2
| | | | | | | 2005-11-14 Behdad Esfahbod <behdad@gnome.org> * modules/khmer/khmer/khmer-fc.c: Fixed bug in khmer module state table. (#320569, Jens Herden)
* Updated Tibetan shaper from Pema Geyleg. (#313513)Behdad Esfahbod2005-11-151-181/+491
| | | | | | | | | | | | | | 2005-11-14 Behdad Esfahbod <behdad@gnome.org> Updated Tibetan shaper from Pema Geyleg. (#313513) * examples/tibetan.utf: Added. * examples/Makefile.am (EXTRA_DIST): tibetan.utf added. * modules/tibetan/tibetan-fc.c: Updated Tibetan shaper that is rewritten from scratch. Supports the number pre-combining mark, illegal sequence detection, etc.
* Minor clean up and adjustment.Behdad Esfahbod2005-11-093-2/+4
| | | | | | | 2005-11-09 Behdad Esfahbod <behdad@gnome.org> * modules/hebrew/.cvsignore, modules/khmer/.cvsignore, modules/tibetan/.cvsignore: Minor clean up and adjustment.
* Turn various gcc warnings off. Adding const, adding static, fullyBehdad Esfahbod2005-11-047-17/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-11-04 Behdad Esfahbod <behdad@gnome.org> * configure.in, examples/argcontext.c examples/cairoview.c, examples/renderdemo.c, examples/renderdemo.h examples/xftview.c, modules/basic/basic-x.c, modules/hangul/hangul-fc.c, modules/hebrew/hebrew-shaper.c, modules/hebrew/hebrew-shaper.h, modules/indic/indic-fc.c, modules/indic/mprefixups.c, modules/syriac/syriac-fc.c, pango/break.c pango/fonts.c, pango/modules.c, pango/pango-coverage.c pango/pango-engine.c, pango/pango-engine.h, pango/pango-fontmap.c, pango/pango-fontset.c, pango/pango-impl-utils.h, pango/pango-layout.c, pango/pango-layout.h, pango/pango-renderer.c, pango/pango-script.c, pango/pango-utils.c, pango/pangocairo-fc.h, pango/pangocairo-font.c, pango/pangocairo-fontmap.c, pango/pangocairo-private.h, pango/pangofc-decoder.c, pango/pangofc-font.c, pango/pangofc-fontmap.c pango/pangoft2.c, pango/pangox-fontcache.c, pango/pangox-fontmap.c pango/pangox.c, pango/pangoxft-font.c, pango/querymodules.c, pango/opentype/ftglue.c, pango/opentype/ftxgpos.c, pango/opentype/ftxopen.c, pango/opentype/pango-ot-buffer.c, pango/opentype/pango-ot-info.c, pango/opentype/pango-ot-ruleset.c, tests/dump-boundaries.c, tests/testboundaries.c, tests/testcolor.c tests/testiter.c, tests/testscript.c: Turn various gcc warnings off. Adding const, adding static, fully initializing structs, match signedness in comparisons. (#317804) * tests/testscript.c, tools/gen-script-for-lang.c: (scripts_for_file): Pass error->message instead of error to fail(), which was wrong. (compare_lang): Fix typo comparing a and a instead of a and b.
* Drop unused font_cache variable and the call toTor Lillqvist2005-09-131-5/+0
| | | | | | | | | | 2005-09-13 Tor Lillqvist <tml@novell.com> * modules/basic/basic-win32.c: Drop unused font_cache variable and the call to pango_win32_font_map_for_display() used in its initialization, which caused an extra instance of PangoWin32FontMap to be created, and fonts enumerated an extra time.
* Updated to Unicode 4.1, adding new scripts and Arabic joining data.Roozbeh Pournader2005-08-091-14/+35
| | | | | | | | | | 2005-08-08 Roozbeh Pournader <roozbeh@farsiweb.info> * docs/tmpl/scripts.sgml, modules/arabic/arabic-ot.c, pango/pango-script.c, pango/pango-script.h, pango/pango-script-table.h, tools/gen-script-table.pl: Updated to Unicode 4.1, adding new scripts and Arabic joining data. (#312884) `
* Change U+0B30 from _rv to _rb. Oriya doesn't have a vattu form of ra.Owen Taylor2005-07-261-3/+3
| | | | | | | | | | | | | | | | | 2005-07-26 Owen Taylor <otaylor@redhat.com> * modules/indic/indic-ot-class-tables.c (oryaCharClasses): Change U+0B30 from _rv to _rb. Oriya doesn't have a vattu form of ra. (#151393, Gautam Sengupta, fix from Gora Mohanty) * modules/indic/indic-ot-class-tables.c (oryaCharClasses): Change U+B02 from _ma to _mp. Anusvara appears after not above in Oriya. (#311575, Gora Mohanty) * modules/indic/indic-ot-class-tables.c (oryaCharClasses): Classify unicode standard additions U+0B35 (va), U+0B71 (wa) as _ct. (Also #311575)
* New function added.Behdad Esfahbod2005-07-239-49/+7
| | | | | | | | | | | | | | 2005-07-23 Behdad Esfahbod <pango@behdad.org> * pango/pango-utils.c, pango/pango-utils.h (pango_is_zerowidth): New function added. * modules/basic/basic-common.h, modules/basic/basic-fc.c, modules/basic/basic-win32.c, modules/basic/basic-x.c, modules/hangul/hangul-fc.c, modules/arabic/arabic-fc.c, modules/indic/indic-fc.c, modules/indic/indic-ot.h, modules/syriac/syriac-fc.c: Use the new pango_is_zerowidth function. (#306639, Behnam Esfahbod)
* Use -export-symbols-regex to control symbol exports, including notOwen Taylor2005-07-229-48/+11
| | | | | | | | | | | | | | | | | 2005-07-22 Owen Taylor <otaylor@redhat.com> * pango/Makefile.a configure.in: Use -export-symbols-regex to control symbol exports, including not exporting the symbols from opentype/. * modules/*/Makefile.am: Control symbol exports here as well, simplify using AC_SUBST() of MODULE_LIBTOOL_OPTIONS from configure.in. * pango/pangox-fontmap.c (engine_shape_covers): Cut-and-paste engine_shape_covers to avoid using a symbol from libpango. * pango/pango-utils.c: Make accidentally exported pango_aliases_ht static.
* Minor formatting tweak to license header.Owen Taylor2005-07-211-14/+17
| | | | | | | 2005-07-21 Owen Taylor <otaylor@redhat.com> * modules/indic/indic-ot.c: Minor formatting tweak to license header.
* license on these ICU-derived files is X license, not LGPL.Owen Taylor2005-07-214-41/+103
| | | | | | | | | | 2005-07-21 Owen Taylor <otaylor@redhat.com> * modules/indic/indic-ot-class-tables.c modules/indic/indic-ot.[ch]: license on these ICU-derived files is X license, not LGPL. * modules/khmer/khmer-fc.c: Add the X license text here in addition to the LGPL.
* Change the char class for U+0A5C from _cn (consonant with nukta) to _ct.Owen Taylor2005-07-211-1/+1
| | | | | | | | 2005-07-21 Owen Taylor <otaylor@redhat.com> * modules/indic/indic-ot-class-tables.c: Change the char class for U+0A5C from _cn (consonant with nukta) to _ct. (#309459, Sukhjinder Sidhu)
* Enable touching for Sinhala with the ZWJ + al-lakuna combination.Owen Taylor2005-07-211-2/+3
| | | | | | | | 2005-07-21 Owen Taylor <otaylor@redhat.com> * modules/indic/indic-ot-class-tables.c: Enable touching for Sinhala with the ZWJ + al-lakuna combination. (#302577, Harshula)
* Merges of fixes from Arabic module (#308813, Emil Soleyman-Zomalan)Owen Taylor2005-07-211-1/+2
| | | | | | | | | | | | | | | | 2005-07-21 Owen Taylor <otaylor@redhat.com> Merges of fixes from Arabic module (#308813, Emil Soleyman-Zomalan) * modules/syriac/syriac-fc.c (syriac_engine_shape): Fix bug where cluster was getting set to 0 for non-spacing marks rather than to the cluster of the base character. (#149126, Behdad Esfahbod) * modules/syriac/syriac-fc.c (syriac_engine_shape): Turn on zero-width-marks setting. [Not clear that this is needed here, since it is mostly set in the Arabic engine to handle legacy fonts, but it shouldn't hurt]
* Fix up places where there is missing or incomplete Copyright and LicenseOwen Taylor2005-07-2113-7/+194
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-07-21 Owen Taylor <otaylor@redhat.com> Fix up places where there is missing or incomplete Copyright and License information (Reported by William N. Ray) * pango/opentype/fterrcompat.h: Mark as FreeType/GPL licensed. * pango/opentype/FT-license.txt: Make this the dual-licensing description that covers the FreeType code (FreeType's LICENSE.TXT) rather than the FTL. * pango/opentype/FTL.TXT: Move the FTL (referenced from FT-license.txt) to here. * modules/basic/basic-common.h modules/hebrew/hebrew-shaper.h modules/thai/thai-charprop.c modules/thai/thai-shaper.h tools/gen-script-for-lang.c tests/testcolor.c: Add LGPL header and copyright information. * modules/indic/indic-ot.[ch] modules/indic/indic-ot-class-tables.c modules/thai/thai-ot.[ch]: Add LGPL header. * modules/thai/thai-shaper.c modules/thai/thai-charprop.h: Minor fixes to copyright information. * modules/arabic/arabic-ot.c: Add Freetype license boilerplate.
* Drop superfluous trailing slash in -I path.Tor Lillqvist2005-06-261-1/+1
| | | | | | | 2005-06-27 Tor Lillqvist <tml@novell.com> * modules/khmer/Makefile.am (INCLUDES): Drop superfluous trailing slash in -I path.
* Add back accidentally dropped line (Pointed out by Behdad Esfahbod)Owen Taylor2005-06-221-0/+2
| | | | | | | 2005-06-22 Owen Taylor <otaylor@redhat.com> * modules/khmer/khmer-fc.c (khmer_engine_shape): Add back accidentally dropped line (Pointed out by Behdad Esfahbod)
* Fix C89 var after code issues.Behdad Esfahbod2005-06-212-3/+12
| | | | | | | | 2005-06-21 Behdad Esfahbod <pango@behdad.org> * modules/khmer/khmer-fc.c: Fix C89 var after code issues. * modules/khmer/.cvsignore: Copied from other modules.
* Add a Khmer module by Jens Herden and Javier Sola. (#125605)Owen Taylor2005-06-214-1/+787
| | | | | | | | 2005-06-21 Owen Taylor <otaylor@redhat.com> * modules/khmer configure.in modules/Makefile.am modules/makefile.msc: Add a Khmer module by Jens Herden and Javier Sola. (#125605)
* Mark U+A33, U+A36 as _cn, not _ct, since they are combinations of otherOwen Taylor2005-06-141-1/+1
| | | | | | | | 2005-06-14 Owen Taylor <otaylor@redhat.com> * modules/indic/indic-ot-class-tables.c (guruCharClasses): Mark U+A33, U+A36 as _cn, not _ct, since they are combinations of other characters with nutka. (#304174, Sukhjinder Sidhu)
* pango/pangocairo-render.c (pango_cairo_renderer_draw_glyphs): Handle glyphOwen Taylor2005-05-162-2/+4
| | | | | | | | | | | 2005-05-16 Owen Taylor <otaylor@redhat.com> * pango/pangocairo-fcfont.c (pango_cairo_fc_font_get_glyph_extents): pango/pangocairo-render.c (pango_cairo_renderer_draw_glyphs): Handle glyph == 0. * modules/indic/indic-ot.h modules/basic/basic-common.h: Treat LINE SEPARATOR as a zero-width character.
* Correct parameters passed to MultiByteToWideChar(). Pass -1 as sourceTor Lillqvist2005-04-281-12/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-04-28 Tor Lillqvist <tml@novell.com> * pango/pangocairo-win32font.c (pango_cairo_win32_font_get_font_face): Correct parameters passed to MultiByteToWideChar(). Pass -1 as source string length so that the target string gets zero-terminated. Size of target array is in number of WCHARs, not number of bytes. Add support to pangowin32 for TrueType fonts with coverage outside the BMP. Fix handling of surrogate pairs in the Uniscribe shaper. (#302238) * pango/pangowin32-private.h (PangoWin32Face): Rename the unicode_table field to cmap. Keep track of its format (4 or 12). (format_12_cmap): Add struct for a format 12 cmap. * pango/pangowin32.c: Corresponding changes. Rename internal functions a bit. (get_format_12_cmap): New function, reads a format 12 cmap. (font_get_cmap): Look for both format 12 (which is preferred) and format 4 cmaps. (pango_win32_font_get_glyph_index, pango_win32_font_calc_coverage): Handle also format 12 cmaps. * modules/basic/basic-win32.c: Handle surrogate pairs in wchar_t strings properly. (unichar_index): New function. Given a wchar_t string and an index into it, calculate the index of the corresponding Unicode character. Each surrogate pair in the wchar_t is just one Unicode character. (set_up_pango_log_clusters, itemize_shape_and_place): Use unichar_index() instead of direct index into wchar_t string.
* Cleanups.Changwoo Ryu2005-04-271-23/+32
| | | | | | 2005-04-28 Changwoo Ryu <cwryu@debian.org> * modules/hangul/hangul-defs.h: Cleanups.
* handles zero width chars, patch by Young-Ho Cha. (#157565)Changwoo Ryu2005-04-241-3/+12
| | | | | | | 2005-04-25 Changwoo Ryu <cwryu@debian.org> * modules/hangul/hangul-fc.c (render_basic): handles zero width chars, patch by Young-Ho Cha. (#157565)
* Update to new Cairo font API.Owen Taylor2005-04-071-1/+1
| | | | | | | | | | | 2005-04-07 Owen Taylor <otaylor@redhat.com> * pango/pangocairo-fcfont.c pango/pangocairo-win32font.c pango/pangocairo-render.c: Update to new Cairo font API. * pangpopangowin32.h pango/pangowin32-private.h pango/pangowin32.c pango/pangocairo-win32font.c modules/basic/basic-win32.c: Rename get_scale_factor() to get_metrics_factor() to match Cairo
* Added more MacThai PUA glyphs that are not defined in vendor data atTheppitak Karoonboonyanan2005-03-242-5/+5
| | | | | | | | 2005-03-24 Theppitak Karoonboonyanan <thep@linux.thai.net> * modules/thai/thai-fc.c (tis620_1), modules/thai/thai-shaper.c (Mac_shape_table): Added more MacThai PUA glyphs that are not defined in vendor data at Unicode.org, but just available in actual fonts.
* Leave out some languages that don't have any own digits.Tor Lillqvist2005-03-201-25/+18
| | | | | | | | | | | | | 2005-03-20 Tor Lillqvist <tml@novell.com> * modules/basic/basic-win32.c (make_langid): Leave out some languages that don't have any own digits. (itemize_shape_and_place): Force fRTL for each item returned from ScriptItemize() to the bidi embedding parity for the whole run. Pango passes us a run that it correctly has analyzed should be of a certain direction, but ScriptItemize() still might split it into items, some of which have neutral direction. (#170931) (text_is_simple): Use g_utf8_to_utf16().
* Reduce non-shared data (#168899, inspired by patches from Tommi KomulainenOwen Taylor2005-03-057-47/+47
| | | | | | | | | | | | | | | | | | | | | | | | 2005-03-04 Owen Taylor <otaylor@redhat.com> Reduce non-shared data (#168899, inspired by patches from Tommi Komulainen and Ross Burton) * pango/pango-color.c pango/pango-color-table.h tools/gen-color-table.pl: Redo storage of colors to use offsets into a static string rather than embedded strings. (Inspired by a patch from Tommi Komulainen, #168899) * pango/break.c pango/fonts.c pango/pango-color.c pango/pango-layout.c pango/pango-markup.c pango/pango-script-lang-table.h pango/mini-fribidi/fribidi_types.c tools/gen-script-for-lang.c: Add const in various places * modules/arabic/arabic-fc.c modules/hebrew/hebrew-fc.c: modules/indic/{indic-fc.c,indic-ot-class-tables.c, indic-ot.h} modules/syriac/syriac-ot.c (syriac): Further addition of const.
* Split out handling of sinhala al-lakuna character from handling of ViramaOwen Taylor2005-03-034-27/+45
| | | | | | | | | | | | | | | | | | 2005-03-03 Owen Taylor <otaylor@redhat.com> * modules/indic/indic-ot.[ch] modules/indic-ot-class-tables.c: Split out handling of sinhala al-lakuna character from handling of Virama in the state table to avoid implicit formation of conjucts for Sinhala. (Patch from Harshula, ##161981) * modules/indic/indic-fc.c modules/indic/indic-ot.h: Add a new script flag SF_PROCESS_ZWJ indicating whether zero width characters should be passed to gsub/gpos. * modules/indic/indic-ot-class-tables.c: Set SF_PROCESS_ZWJ for Sinhala. (#161981, Harshula)
* PangoCairoFontMap for win32 fonts.Owen Taylor2005-02-241-34/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-02-24 Owen Taylor <otaylor@redhat.com> * pango/pangocairo-win32.h pango/pangocairo-win32font.c pango/pangocairo-win32fontmap.c pango/Makefile.am: PangoCairoFontMap for win32 fonts. * pango/pangocairo-fontmap.c: Use PangoCairoWin32FontMap when available. * pango/pangowin32.h pango/pangowin32-fontmap.h pango/pangowin32.c: Add virtual pango_win32_font_select_font() to prepare a DC for use with a PangoWin32Font, and to release, pango_win32_font_scale_font() to get logical unit => Pango units scale, pango_win32_font_done_font() to release resources. * pango/pangowin32-fontmap.[ch]: Add a find_font() virtual method to allow subclasses that change how PangoFont lookup and creation happens. * pango/pangowin32-fontmap.c: Move initialization into pango_win32_font_map_init() to facilitate derivation. * pango/pangowin2.c pango/pangowin32-fontmap.c pango/pangowin32-private.h: Move PangoWin32Font/PangoWin32FontMap definitions into pangowin32-private.h to allow derivation for PangoCairoWin32Font. * modules/basic/basic-win32.c: Use pango_win32_font_select_font() and friends. * modules/basic/basic-win32.c: Use g_utf8_to_utf16 instead of g_convert for simplicity and speed. * pango/fonts.c (pango_font_get_font_map) pango/pango-font.h pango/pangofc-font.c pango/pangowin32.c pango/pango.c pango/pango.def docs/pango-sections.txt: Add a virtual function to get the fontmap for a font. * pango/pangocairo-render.c: Use pango_font_get_font_map() rather than PangoFcFontMap hack. * pango/pango-types.h: Move the declaration of PangoFontMap here to avoid interactions between pango-font.h and pango-fontmap.h. * pango/pangocairo.h: Remove accidental include of pangofc-fontmap.h.
* Remove inadvertent references to "khmer" moduleManish Singh2005-02-072-7/+2
|
* Rename pango_cairo_show_glyphs() to pango_cairo_show_glyph_string(). AddOwen Taylor2005-02-072-1/+6
| | | | | | | | | | 2005-02-06 Owen Taylor <otaylor@redhat.com> * pango/pangocairo.h pango/pangocairo-render.c docs/pango-sections.txt: Rename pango_cairo_show_glyphs() to pango_cairo_show_glyph_string(). Add pango_cairo_{glyph_string,layout_line,layout}_path() * docs/Makefile.am (INCLUDES): Add CAIRO_CFLAGS.
* Show unknown glyphs; this may lead to overlapping boxes when accents areMatthias Clasen2005-01-311-0/+3
| | | | | | | | | 2005-01-31 Matthias Clasen <mclasen@redhat.com> * modules/hebrew/hebrew-fc.c (get_cluster_glyphs): Show unknown glyphs; this may lead to overlapping boxes when accents are involved, but it is better than text vanishing without any traces.
* Don't use -p option to cp, can cause "failed to preserve ownership"Tor Lillqvist2005-01-258-8/+8
| | | | | | | | | | 2005-01-25 Tor Lillqvist <tml@novell.com> * modules/basic/Makefile.am (usp10.h): Don't use -p option to cp, can cause "failed to preserve ownership" errors. * modules/*/Makefile.am (INCLUDES): Remove extraneous slash that confuse gcc on Win32.
* Remove an extraneous / that was confusing gcc on Win32.Owen Taylor2005-01-111-1/+1
| | | | | | | 2005-01-11 Owen Taylor <otaylor@redhat.com> * modules/basic/Makefile.am (INCLUDES): Remove an extraneous / that was confusing gcc on Win32.
* Emergency fix for #151068... if uniscribe shaping comes up with no glyphs,Owen Taylor2004-12-161-1/+1
| | | | | | | | Wed Dec 15 23:13:57 2004 Owen Taylor <otaylor@redhat.com> * modules/basic/basic-win32.c (uniscribe_shape): Emergency fix for #151068... if uniscribe shaping comes up with no glyphs, fall back to non-uniscribe shaping.
* Force zero-width marks to glyph index 0 so they won't be drawn. (#145233,Owen Taylor2004-12-162-4/+28
| | | | | | | | Wed Dec 15 18:50:18 2004 Owen Taylor <otaylor@redhat.com> * modules/indic/indic-fc.c modules/indic/indic-ot.h: Force zero-width marks to glyph index 0 so they won't be drawn. (#145233, Aniruddha Shankar)
* Add simple tibetan module. (#148566, G Karunakar)Owen Taylor2004-12-164-2/+362
| | | | | | | Wed Dec 15 11:15:37 2004 Owen Taylor <otaylor@redhat.com> * configure.in modules/Makefile.am modules/tibetan/*: Add simple tibetan module. (#148566, G Karunakar)
* Split U+DDE as U+DD9, U+DDF. :Owen Taylor2004-12-151-1/+1
| | | | | | | | Wed Dec 15 08:38:52 2004 Owen Taylor <otaylor@redhat.com> * modules/indic/indic-ot-class-tables.c: Split U+DDE as U+DD9, U+DDF. : ----------------------------------------------------------------------
* Sinhala support (#153517, Anuradha Ratnaweera)Owen Taylor2004-12-154-4/+44
| | | | | | | | | | | | Tue Dec 14 20:44:53 2004 Owen Taylor <otaylor@redhat.com> Sinhala support (#153517, Anuradha Ratnaweera) * modules/indic/indic-ot.h modules/indic/indic-fc.c modules/indic/indic-ot-class-tables.c: Add tables for Sinhala. * modules/indic/indic-ot.c (indic_ot_reorder): Add handling of Virama for two-part dependent vowels.
* Add the correct char classes for Unicode-4.0 characters U+A01, U+A03.Owen Taylor2004-12-141-1/+1
| | | | | | | | Tue Dec 14 17:27:14 2004 Owen Taylor <otaylor@redhat.com> * modules/indic/indic-ot-class-tables.c (guruCharClasses): Add the correct char classes for Unicode-4.0 characters U+A01, U+A03. (#158943, Sukhjinder Sidhu)
* Add Lao support to Thai module. (#156781)Theppitak Karoonboonyanan2004-11-287-256/+472
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-11-28 Theppitak Karoonboonyanan <thep@linux.thai.net> Add Lao support to Thai module. (#156781) * modules/thai/Makefile.am modules/thai/thai-shaper.[ch] +modules/thai/thai-charprop.[ch]: Split WTT tables into a separate source. Extend the tables for Lao. 3 new classes are added (AM for SaraAm, AD4 for Nikkhahit, BCON for Lao semivowels). Now the range 0x00-0x7f in TIS is used to store Lao characters. Rewrite ucs2tis() et al macros accordingly. * modules/thai/thai-shaper.c (get_next_cluster): Rewrite the clusterization code, so it's not specific to Thai-English texts. (Note that the special case of SaraAm is now handled by the new WTT character class. So, the extra checks are now eliminated.) * modules/thai/thai-shaper.c (get_glyphs_list, add_cluster): Add glyph calculation for Lao clusters. * modules/thai/thai-shaper.c (ThaiShapeTable structs, get_adjusted_glyphs_list): Generalize the shaping maps according to the new 8-bit internal encoding scheme. Now the character ranges are relocatable rather than hard-coded. Add Lao shaping table. * modules/thai/thai-shaper.c (get_adjusted_glyphs_list): Add special case for Lao, where clusters can be longer than those of Thai. * modules/thai/thai-fc.c (get_glyph_index_tis): Add Lao glyphs lookup. * modules/thai/thai-ot.c (thai_ot_shape, +lao_ot_get_ruleset): Add Lao OT rulesets retrieval. * modules/thai/thai-fc.c (PangoEngineScriptInfo thai_scripts[]): Add Lao script entry.
* Remove stray 'x' character.Manish Singh2004-11-221-1/+1
| | | | | | Mon Nov 22 15:53:37 2004 Manish Singh <yosh@gimp.org> * modules/thai/Makefile.am: Remove stray 'x' character.
* Set G_LOG_DOMAIN.Owen Taylor2004-11-227-18/+25
| | | | | | | Mon Nov 22 18:30:14 2004 Owen Taylor <otaylor@redhat.com> * pango/opentype/Makefile.am pango/Makefile.am modules/*/Makefile.am: Set G_LOG_DOMAIN.
* Add Syriac module by Emil Soleyman-Zomalan. (#147779)Owen Taylor2004-11-227-2/+862
| | | | | | | | | | | Mon Nov 22 15:21:11 2004 Owen Taylor <otaylor@redhat.com> * modules/syriac configure.in modules/Makefile.am modules/makefile.msc: Add Syriac module by Emil Soleyman-Zomalan. (#147779) * examples/Makefile.am examples/syriac.utf: Syriac example text.
* Use guchar instead of gchar as argument type.Theppitak Karoonboonyanan2004-10-122-18/+8
| | | | | | | | | | 2004-10-12 Theppitak Karoonboonyanan <thep@linux.thai.net> * modules/thai/thai-shaper.h (thai_get_glyph_tis, thai_make_glyph_tis): Use guchar instead of gchar as argument type. * modules/thai/thai-fc.c (thai_get_glyph_tis, thai_make_glyph_tis): Make *_tis functions wrappers to *_uni functions.
* Explicitly handle dangling upper/lower marks by optionally usingTheppitak Karoonboonyanan2004-10-093-78/+122
| | | | | | | | | | | | | | | | | | 2004-10-09 Theppitak Karoonboonyanan <thep@linux.thai.net> Explicitly handle dangling upper/lower marks by optionally using dottedcircle as base, rather than requiring it. * modules/thai/thai-shaper.h: Explicitly declare make_glyph and get_glyph functions for 8-bit and Unicode chars as separate functions. * modules/thai/thai-shaper.c (get_adjusted_glyphs_list): Rename function calls to the new ones. Conditionally use dottedcircle glyph as base for dangling upper/lower marks if available; simply expand width to that of inkrect otherwise. * modules/thai/thai-fc.c: Implement those new functions declared in thai-shaper.h. Remove 0x25cc from tis620_2 glyph set.
* Return NULL if ruleset is empty, to indicate the lack of OT features.Theppitak Karoonboonyanan2004-10-082-22/+38
| | | | | | | | | | | 2004-10-08 Theppitak Karoonboonyanan <thep@linux.thai.net> * modules/thai/thai-ot.c (thai_ot_get_ruleset): Return NULL if ruleset is empty, to indicate the lack of OT features. * modules/thai/thai-fc.c (tis620_1): Fix the PUA glyph table, after actually checked with sample OSX (Jaguar) fonts. This actually turns on PUA-based shaping with Thai OSX fonts in Pango.
* Remove unused data for XTIS.Theppitak Karoonboonyanan2004-10-073-46/+2
| | | | | | | | | | | | 2004-10-07 Theppitak Karoonboonyanan <thep@linux.thai.net> * modules/thai/thai-shaper.c (groups, group1_map, group2_map): Remove unused data for XTIS. * modules/thai/thai-shaper.[ch] (enum ThaiFontSet, get_glyphs_list), modules/thai/thai-fc.c (thai_get_font_info, thai_make_glyph): Remove THAI_FONT_ISO10646 font set, as it's already covered by THAI_FONT_TIS.