summaryrefslogtreecommitdiff
path: root/modules/thai/thai-charprop.c
Commit message (Collapse)AuthorAgeFilesLines
* *.c, *.h: Replace preceding sequences of 8 spaces with tabs.Behdad Esfahbod2007-01-161-62/+62
| | | | | | | | | 2007-01-16 Behdad Esfahbod <behdad@gnome.org> *.c, *.h: Replace preceding sequences of 8 spaces with tabs. svn path=/trunk/; revision=2165
* Make sure #include <config.h> is the first include in the file. (bugBehdad Esfahbod2006-01-141-1/+1
| | | | | | | 2006-01-14 Behdad Esfahbod <behdad@gnome.org> * */*.c, */*/*.c: Make sure #include <config.h> is the first include in the file. (bug #158870, based on patch by Luis Menina)
* Fix up places where there is missing or incomplete Copyright and LicenseOwen Taylor2005-07-211-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Add Lao support to Thai module. (#156781)Theppitak Karoonboonyanan2004-11-281-0/+138
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.