| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
2007-01-16 Behdad Esfahbod <behdad@gnome.org>
*.c, *.h: Removed spaces followed b tabs.
svn path=/trunk/; revision=2166
|
|
|
|
|
|
|
|
|
| |
2007-01-16 Behdad Esfahbod <behdad@gnome.org>
*.c, *.h: Replace preceding sequences of 8 spaces with tabs.
svn path=/trunk/; revision=2165
|
|
|
|
|
|
|
|
|
| |
2007-01-16 Behdad Esfahbod <behdad@gnome.org>
*.c, *.h: Drop trailing whitespace.
svn path=/trunk/; revision=2163
|
|
|
|
|
|
|
|
|
|
|
|
| |
2006-02-21 Behdad Esfahbod <behdad@gnome.org>
Bug 331723 – shapers should not crash on failures
* modules/*/*-fc.c: Return instead of g_return_if_fail when
face == NULL.
* pango/pango-engine.h (PangoEngineShape): Document that a shaper
should return an empty glyph string on failure.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2006-01-29 Behdad Esfahbod <behdad@gnome.org>
* modules/arabic/arabic-fc.c, modules/basic/basic-fc.c
modules/hebrew/hebrew-fc.c, modules/indic/indic-fc.c
modules/khmer/khmer-fc.c, modules/syriac/syriac-fc.c
modules/thai/thai-ot.c, modules/thai/thai-shaper.c
modules/tibetan/tibetan-fc.c: If locking font face failed,
do not assert, just return zero glyphs with an implicit
warning.
* pango/fonts.c, pango/glyphstring.c pango/modules.c
pango/pango-color.c, pango/pango-context.c
pango/pango-coverage.c, pango/pango-fontmap.c
pango/pango-glyph-item.c, pango/pango-item.c
pango/pango-layout.c, pango/pango-markup.c
pango/pango-ot-buffer.c, pango/pango-script.c
pango/pango-tabs.c, pango/pango-utils.c
pango/pangoatsui-fontmap.c, pango/pangocairo-fcfont.c
pango/pangocairo-fcfontmap.c, pango/pangocairo-fontmap.c
pango/pangocairo-win32font.c, pango/pangofc-font.c
pango/pangofc-fontmap.c, pango/pangoft2-fontmap.c
pango/pangoft2-render.c, pango/pangoft2.c
pango/pangowin32-fontcache.c, pango/pangoxft-font.c
pango/pangoxft-render.c, pango/break.c pango/ellipsize.c:
Use g_slice for allocating all types. Also, change some
g_error's to g_critical's...
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
Sat Oct 2 10:08:13 2004 Manish Singh <yosh@gimp.org>
* modules/thai/thai-ot.c (thai_ot_get_ruleset): Use
g_return_val_if_fail() instead of g_return_if_fail() since this
function returns a value.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-10-02 Theppitak Karoonboonyanan <thep@linux.thai.net>
Make Thai module prefer OpenType tables, if available, to PUA
substitutions. (#153927)
* modules/thai/thai-ot.[ch]:
Merge get_gsub_ruleset() and get_gpos_ruleset() into an exported
function thai_ot_get_ruleset(). Rearrange thai_ot_shape() to call
it properly.
* modules/thai/thai-fc.c:
Try OT ruleset before PUA glyph sets.
|
|
|