summaryrefslogtreecommitdiff
path: root/modules
Commit message (Collapse)AuthorAgeFilesLines
* Use the correct tags at the GPOS stage, taking into account changes duringOwen Taylor2003-05-292-12/+32
| | | | | | | | Thu May 29 18:49:00 2003 Owen Taylor <otaylor@redhat.com> * modules/indic/indic-{xft,ft2}.c: Use the correct tags at the GPOS stage, taking into account changes during the GSUB stage. (#112433)
* Claim to handle everything as a fallback (#106354, Simon Budig)Owen Taylor2003-05-271-1/+4
| | | | | | | | | | Tue May 27 12:19:53 2003 Owen Taylor <otaylor@redhat.com> * modules/basic/basic-ft2.c: Claim to handle everything as a fallback (#106354, Simon Budig) * examples/pangoft2topgm.c (main): Add code to check for "./pangorc" so that it works uninstalled.
* Patch from Theppitak Karoonboonyanan to add FT2 shaper for Thai. (#108582)Owen Taylor2003-04-306-120/+442
| | | | | | | | | | Wed Apr 30 18:43:59 2003 Owen Taylor <otaylor@redhat.com> * configure.in modules/thai/Makefile.am modules modules/thai/thai-ft2.c modules/thai/thai-shaper.[ch] modules/thai/thai-x.c modules/thai/thai-xft.c: Patch from Theppitak Karoonboonyanan to add FT2 shaper for Thai. (#108582)
* handle the new indic-ft2 module like all the others instead of doing inSven Neumann2003-04-211-18/+22
| | | | | | | | 2003-04-21 Sven Neumann <sven@gimp.org> * modules/indic/Makefile.am: handle the new indic-ft2 module like all the others instead of doing in the new spiffy automake-1.7 style of Pango-HEAD (#111132).
* Cast some enumeration members that are bigger than signed integers toOwen Taylor2003-04-151-2/+2
| | | | | | | | Tue Apr 15 04:53:56 2003 Owen Taylor <otaylor@redhat.com> * modules/indic/indic-ot.h (enum): Cast some enumeration members that are bigger than signed integers to (int) to fix warning on AIX. (#107924)
* Fix out-of-bounds read where the value wasn't actually used. (#106744,Owen Taylor2003-04-152-25/+29
| | | | | | | Tue Apr 15 03:54:01 2003 Owen Taylor <otaylor@redhat.com> * modules/hangul/hangul-{x,xft}.c: Fix out-of-bounds read where the value wasn't actually used. (#106744, Morten Welinder)
* Fix missing static. (#108693, Rick Jones)Owen Taylor2003-04-151-1/+1
| | | | | | | Tue Apr 15 03:43:54 2003 Owen Taylor <otaylor@redhat.com> * modules/indic/bengali-x.c (vowel_split): Fix missing static. (#108693, Rick Jones)
* Add indic-ft2 module from Kapil Chowskey.Owen Taylor2003-04-142-0/+466
| | | | | | | Mon Apr 14 07:52:25 2003 Owen Taylor <otaylor@redhat.com> * configure.in. modules/indic/Makefile.am modules/indic-ft2.c: Add indic-ft2 module from Kapil Chowskey.
* Remove files from server copyOwen Taylor2003-04-146-1991/+0
|
* Quick and dirty fix for crash in the Hebrew shaper. (Bug #103634)Dov Grobgeld2003-03-121-2/+11
|
* Add an --enable-debug configure argument defaulting to 'yes' for unstableOwen Taylor2003-02-177-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | Mon Feb 17 13:06:39 2003 Owen Taylor <otaylor@redhat.com> * configure.in **/Makefile.am: Add an --enable-debug configure argument defaulting to 'yes' for unstable releases and 'minimum' for stable releases. For minimum, -DG_DISABLE_CAST_CHECKS. * pango/pangofc-fontmap.cI pango/pangoft2-fontmap.c pango/pangoxft-fontmap.c: Add caching of fontsets (#104495, initial patch and review by Soeren Sandmann) * pango/pangofc-fontmap.cI pango/pangoft2-fontmap.c pango/pangoxft-fontmap.c pango/pangoft2-private.h pango/pangoxft-private.h: Remove cache of recently freed fonts; not necessary now that we cache fontsets. * pango/pangofc-fontmap.cI (pango_fc_pattern_set_free): Rename from pango_fc_font_set_free to reflect what it actually does. * pango/pangofc-fontmap.cI pango/pangoft-fontmap.c pango/pangoxft-fontmap.c: Combine clear-the-cache functions; we didn't need separate clear-the-font-cache and clear-the-pattern-cache functions.
* Fix typo where xft_sources was used again. (#105219, Chris Ross)Owen Taylor2003-02-121-1/+1
| | | | | | | | Wed Feb 12 16:41:03 2003 Owen Taylor <otaylor@redhat.com> * modules/hangul/Makefile.am (libpango_hangul_x_la_SOURCES): Fix typo where xft_sources was used again. (#105219, Chris Ross)
* Export TT_New_GDEF_Table to create an empty GDEF table.Owen Taylor2003-01-141-361/+0
| | | | | | | | | | | | | Fri Jan 10 18:56:36 2003 Owen Taylor <otaylor@redhat.com> * pango/opentype/ftxgdef.c: Export TT_New_GDEF_Table to create an empty GDEF table. * pango/opentype/pango-ot-info.c: If the font doesn't have a class definition table, synthesize one using the charmap and the unicode properties of characters in the charmap. (Needed to make things work with various old Arabic fonts, such as the KACST fonts)
* When we get an isolated tone in isolation, do something reasonable ratherOwen Taylor2002-12-172-4/+66
| | | | | | | | | | | | | Mon Dec 16 19:28:18 2002 Owen Taylor <otaylor@redhat.com> * modules/hangul/hangul-xft.c (render_isolated_tone): When we get an isolated tone in isolation, do something reasonable rather than just return no glyphs and causing an assertion failure. (#100625) * pango/pangofc-fontmap.cI (_pango_fc_font_map_get_coverage): Add a hack to force Hangul marks to be be rendered in the same font as base Hangul glyphs.
* Add some extra ranges as "*" to match basic-x.c. (#101083, Jungshik Shin)Owen Taylor2002-12-162-8/+8
| | | | | | | | | Mon Dec 16 18:10:46 2002 Owen Taylor <otaylor@redhat.com> * modules/basic/basic-xft.c: Add some extra ranges as "*" to match basic-x.c. (#101083, Jungshik Shin) Remove some extraneous "" ranges since we have { 0x0000, 0xffff, "" } anyways.
* Convert [sf]printf to g_[sf]printf, or, where appropriate g_printerr().Owen Taylor2002-12-063-4/+5
| | | | | | | | | | | | Fri Dec 6 18:07:48 2002 Owen Taylor <otaylor@redhat.com> * modules/indic/devanagari-x.c, pango/modules.c pango/pango-utils.c pango/pangoft2.c pango/querymodules.c: Convert [sf]printf to g_[sf]printf, or, where appropriate g_printerr(). (Based on patch from Matthias Clasen, #99321) * configure.in: Require glib-2.1.3.
* Do not add GLIB_CFLAGS to CFLAGS.Sebastian Wilhelmi2002-11-267-12/+50
| | | | | | | | | | | | | | | | 2002-11-26 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * configure.in: Do not add GLIB_CFLAGS to CFLAGS. * docs/Makefile.am, examples/Makefile.am, modules/arabic/Makefile.am, modules/basic/Makefile.am, modules/hangul/Makefile.am, modules/hebrew/Makefile.am, modules/indic/Makefile.am, modules/tamil/Makefile.am, modules/thai/Makefile.am, pango/Makefile.am, pango/mini-fribidi/Makefile.am, pango/opentype/Makefile.am: Instead add $(GLIB_CFLAGS) directly to INCLUDES (GTKDOC_CFLAGS for docs/Makefile.am). Also some cosmetic line wrapping and reindentation.
* Remove duplicate include of basic-common.h (#97667, Tony Graham)Owen Taylor2002-11-211-2/+0
| | | | | | | Thu Nov 21 17:35:08 2002 Owen Taylor <otaylor@redhat.com> * modules/basic/basic-ft2.c: Remove duplicate include of basic-common.h (#97667, Tony Graham)
* Add more debugging output.Tor Lillqvist2002-11-121-2/+14
| | | | | | | | | | | | | 2002-11-12 Tor Lillqvist <tml@iki.fi> * pango/pangowin32-fontcache.c (free_cache_entry, cache_entry_unref, pango_win32_font_cache_load): Add more debugging output. * modules/basic/basic-win32.c (uniscribe_shape): Plug memory leak: Free return value from pango_win32_font_logfont(). Call pango_win32_font_cache_unload() for the hfont returned from pango_win32_font_cache_load() after using it.
* Renamed from render_syllable_with_ksx1005 (#95800).Changwoo Ryu2002-11-081-6/+6
| | | | | | | 2002-11-09 Changwoo Ryu <cwryu@debian.org> * modules/hangul/hangul-x.c (render_syllable_with_ksx1001johab): Renamed from render_syllable_with_ksx1005 (#95800).
* Fix #96781: changes for basic X shaper's code range for compatibilityHidetoshi Tajima2002-11-071-4/+5
| | | | | | | * modules/basic/basic-x.c: Fix #96781: changes for basic X shaper's code range for compatibility Ideographs characters (0xFA0C - 0xFA2D) (by federic.zhang@sun.com)
* Applied some of the hangul-xft changes into hangul-x; it takes precomposedChangwoo Ryu2002-11-051-90/+56
| | | | | | | | 2002-11-06 Changwoo Ryu <cwryu@debian.org> * modules/hangul/hangul-x.c (hangul_engine_shape): Applied some of the hangul-xft changes into hangul-x; it takes precomposed syllables as same as L+V or L+V+S jamo sequences.
* Fixed wrong syllable check.Changwoo Ryu2002-11-034-41/+109
| | | | | | | | | | | | | | | 2002-11-04 Changwoo Ryu <cwryu@debian.org> * modules/hangul/hangul-defs.h (IS_S): Fixed wrong syllable check. * modules/hangul/hangul-defs.h: * modules/hangul/hangul-x.c: No more use of TFILL, the internal trailing consonant filler. (render_syllable_with_*): Appended empty syllable (ex. LFILL+VFILL) rendering case (#96175). (render_syllable_with_ksx1005): Fixed wrong fallback glyphs indices (from #95800 by Jungshik Shin).
* Removed hangul syllables and hangul tonemarks ranges. Now hangul-xft isChangwoo Ryu2002-11-022-4/+4
| | | | | | | 2002-11-03 Changwoo Ryu <cwryu@debian.org> * modules/basic/basic-xft.c: Removed hangul syllables and hangul tonemarks ranges. Now hangul-xft is responsible for these ranges.
* Added Hangul Tone Marks rendering by Jungshik Shin (#96299).Changwoo Ryu2002-11-013-8/+224
| | | | | | | 2002-11-01 Changwoo Ryu <cwryu@debian.org> * modules/hangul/hangul-defs.h modules/hangul/hangul-xft.c: Added Hangul Tone Marks rendering by Jungshik Shin (#96299).
* Added U+AC00- coverage (hangul_engine_shape): Renders U+AC00 HangulChangwoo Ryu2002-10-303-18/+47
| | | | | | | | 2002-10-31 Changwoo Ryu <cwryu@debian.org> * modules/hangul/hangul-xft.c (hangul_engine_get_coverage): Added U+AC00- coverage (hangul_engine_shape): Renders U+AC00 Hangul Syllables.
* Update the non-Uniscribe ranges to cover some more simple scripts.Tor Lillqvist2002-10-241-43/+102
| | | | | | | | | | | | | | | | | | | 2002-10-24 Tor Lillqvist <tml@iki.fi> * modules/basic/basic-win32.c: Update the non-Uniscribe ranges to cover some more simple scripts. (itemize_shape_and_place): Handle unknown glyphs. (script_engine_list): Only return the "everything" range if Uniscribe is available. It would be nice to build up a more specific range list based on the information ScriptGetProperties() returns. That function lists information about each script the Uniscribe version used can handle. Unfortunately, though, the information is severely limited. It doesn't tell what Unicode blocks a script covers. It only gives one language that uses that script, and sometimes an charset number, but for most scripts just the totally useless DEFAULT_CHARSET.
* Add --with-usp10 flag to indicate where to find the usp10.h header, forTor Lillqvist2002-10-212-1/+758
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-10-22 Tor Lillqvist <tml@iki.fi> * configure.in: Add --with-usp10 flag to indicate where to find the usp10.h header, for using Uniscribe on Win32. Set USP10_H autoconf variable, HAVE_USP10_H config.h macro and HAVE_USP10_H automake conditional. * acconfig.h: Add HAVE_USP10_H. * pango/pangowin32-private.h (PANGO_WIN32_DEBUGGING): Change semantics of this flag. If defined, also need to set env var PANGO_WIN32_DEBUG to get the copious debugging output. Change PING() macro accordingly. Add variable pango_win32_debug. * pango/pangowin32.c (pango_win32_get_dc): New function. Code factored out from pango_win32_font_class_init() and pango_win32_font_map_class_init(). (pango_win32_get_debug_flag): New function. (pango_win32_render): Handle y offsets, too. Potentially need to call ExtTextOutW several times, one for each run of sequential glyphs with the same y offset. * pango/pangowin32.h: Declare above new functions, in the part only for shaper engine use. * pango/pangowin32.def: Export above new functions. * pango/pangowin32-fontmap.c (pango_win32_font_map_class_init): Call pango_win32_get_dc() as mentioned above. * modules/basic/Makefile.am: If HAVE_USP10_H, let basic-win32.lo depend on usp10.h. * modules/basic/basic-win32.c: If HAVE_USP10_H, and the Uniscribe DLL usp10.dll is present, use Uniscribe. (uniscribe_shape, itemize_shape_and_place, set_up_pango_log_clusters, convert_log_clusters_to_byte_offsets, make_langid, init_uniscribe): New functions. (dump_glyphs_and_log_clusters, lang_name, charset_name): Debugging functions.
* fixed a typoChangwoo Ryu2002-10-152-2/+2
|
* Added missing memcpy() from the static jamo buffer to allocated jamoChangwoo Ryu2002-10-153-3/+12
| | | | | | | | | 2002-10-15 Changwoo Ryu <cwryu@debian.org> * modules/hangul/hangul-xft.c (hangul_engine_shape): * modules/hangul/hangul-x.c (hangul_engine_shape): Added missing memcpy() from the static jamo buffer to allocated jamo buffer (#95569). Thanks to Jungshik Shin.
* (Based on GTK+ patch by J. Ali Harlow in #87774)Owen Taylor2002-09-271-3/+21
| | | | | | | | | | | | | | Fri Sep 27 17:50:51 2002 Owen Taylor <otaylor@redhat.com> (Based on GTK+ patch by J. Ali Harlow in #87774) * configure.in: Add CROSS_COMPILING conditional. * modules/Makefile.am (install-data-local): Don't generate pango.modules when installing into a DESTDIR or cross-compiling. * examples/Makefile.am (all-local): Don't generate pango.modules when cross-compiling.
* make charset ordering of chinese character sets differently for chineseHidetoshi Tajima2002-09-271-4/+4
| | | | | | | * modules/basic/tables-big.i: make charset ordering of chinese character sets differently for chinese locales - e.g., GB18030 is used first in zh-cn locales. (#89937 James Su, Brian Yuan.)
* Merge from pango-1-0:Tor Lillqvist2002-09-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | 2002-09-24 Tor Lillqvist <tml@iki.fi> * pango/pangowin32.c: Use PANGO_PIXELS macro throughout instead of dividing by PANGO_SCALE. (pango_win32_render): New try. This time handle both glyphs at code point 0, specifically put there by PangoLayout to indicate spacing (for tab handling), and actual invalid glyphs noticed by the shaper. Invalid glyphs are indicated by the flag PANGO_WIN32_UNKNOWN_FLAG. (Idea taken frompangoxft-font.c) (pango_win32_get_unknown_glyph): Take also the char as parameter, return the same char with the above flag ORed in. (pango_win32_font_get_glyph_extents): If the glyph is flagged as invalid, look for glyph 0 instead. Use g_win32_error_message() in warning message instead of numeric error code. * pango/pangowin32.h: Add the new parameter to the pango_win32_get_unknown_glyph() declaration. Surround the API used by shape engines with #ifdef PANGO_ENABLE_ENGINE. * modules/basic/basic-win32.c: Change call accordingly.
* Minor spacing fixes, comment the Unicode ranges covered.Tor Lillqvist2002-09-223-45/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | 2002-09-23 Tor Lillqvist <tml@iki.fi> * modules/basic/basic-win32.c: Minor spacing fixes, comment the Unicode ranges covered. * modules/basic/makefile.mingw.in: Remove. Not maintained. * modules/basic/Makefile.am: Remove from here, too. * pango/makefile.msc * pango/module-defs-win32.c.win32: Change according to change below so that build also with the manually written makefile for MSVC, which always uses included modules, still works. * pango-zip.sh.in: Distribute specifically pango.aliases and pango.modules, not the whole etc/pango which might contain editor backup files. Mon Sep 16 12:03:54 2002 Arnaud Charlet <charlet@gnat.com> * modules/basic/basic-win32.c: Check for correct macro, use correct module entry name, so that --with-included-modules works with autoconfiscated build for Windows. (#93372)
* Change Punjabi script ('punj') to Gurmukhi ('guru')Eric Mader2002-08-284-25/+27
|
* modules/indic/indic-xft.c (maybe_add_GPOS_feature):Owen Taylor2002-08-2015-95/+96
| | | | | | | | | | | | | | | | | | Tue Aug 20 15:42:33 2002 Owen Taylor <otaylor@redhat.com> * modules/indic/indic-xft.c (maybe_add_SUB_feature): modules/indic/indic-xft.c (maybe_add_GPOS_feature): modules/indic/indic-ot.c (getOutputIndex) modules/hebrew/hebrew-x.c (get_glyph_num) modules/basic/basic-x.c (find_char): Fix missing statics. * modules/thai/{thai-shaper.[ch] thai-xft.c thai-x.c}: Namespace the "abstract functions" that thai-xft/thai-x.c export to thai-shaper.c. * modules/arabic/arabic-{ot.[ch],ft2.c,xft.c}: Rename Assign_Arabic_Properties to Arabic_Assign_Properties.
* Patch from Nils Nordman to add various missing 'static' (#90353)Owen Taylor2002-08-206-11/+12
| | | | | | | | | | Tue Aug 20 15:06:50 2002 Owen Taylor <otaylor@redhat.com> * modules/arabic/arabic-xft.c modules/arabic/arabic-ft2.c modules/basic/tables-big.i modules/basic/tables-small.i modules/hebrew/hebrew-ft2.c modules/hebrew/hebrew-xft.c: Patch from Nils Nordman to add various missing 'static' (#90353)
* add tables-jamos.ijacob berkman2002-08-081-1/+2
| | | | | | 2002-08-08 jacob berkman <jacob@ximian.com> * modules/hangul/Makefile.am (EXTRA_DIST): add tables-jamos.i
* add hangul-defs.h so it gets distedjacob berkman2002-08-081-2/+2
| | | | | | | 2002-08-08 jacob berkman <jacob@ximian.com> * modules/hangul/Makefile.am (xft_sources): add hangul-defs.h so it gets disted
* Get rid of direct access to FT_Face.Owen Taylor2002-08-072-40/+14
| | | | | | | Wed Aug 7 11:07:10 2002 Owen Taylor <otaylor@redhat.com> * modules/hangul/hangul-xft.c (hangul_engine_shape): Get rid of direct access to FT_Face.
* Add missing XFT_CFLAGS to INCLUDES. (Joe Yandle)Owen Taylor2002-08-072-2/+2
| | | | | | | Wed Aug 7 10:57:49 2002 Owen Taylor <otaylor@redhat.com> * modules/hangul/Makefile.am modules/thai/Makefile.am: Add missing XFT_CFLAGS to INCLUDES. (Joe Yandle)
* Made Hebrew shape engines handle presentation forms as well.Dov Grobgeld2002-08-054-0/+4
| | | | * Made Hebrew shape engines handle presentation forms as well.
* Renders the prefix of uncomposable Hangul syllable in the way of otherChangwoo Ryu2002-08-011-26/+15
| | | | | | * modules/hangul/hangul-x.c (render_syllable_with_ksx1005): Renders the prefix of uncomposable Hangul syllable in the way of other font encoding code.
* Minor tweak to last patch to clarify index passed to unknown_glyph().Owen Taylor2002-07-312-2/+2
| | | | | | | Wed Jul 31 16:00:20 2002 Owen Taylor <otaylor@redhat.com> * modules/thai/thai-xft.c (make_glyph): Minor tweak to last patch to clarify index passed to unknown_glyph().
* Argument to make_glyph() shouldn't have been unsigned char, since we passOwen Taylor2002-07-314-14/+24
| | | | | | | | | | | | Wed Jul 31 15:43:39 2002 Owen Taylor <otaylor@redhat.com> * modules/thai/{thai-shaper.h,thai-x.c,thai-xft.c}: Argument to make_glyph() shouldn't have been unsigned char, since we pass unicode through it. * modules/thai/thai-xft.c (make_glyph): Handle THAI_FONT_ISO10646 correctly. If a character isn't found, return the correct unknown glyph.
* Patch from Changwoo Ryu <cwryu@debian.org> (#86591)Owen Taylor2002-07-318-579/+1230
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sat Jul 27 18:18:20 2002 Owen Taylor <otaylor@redhat.com> Patch from Changwoo Ryu <cwryu@debian.org> (#86591) * configure.in, modules/hangul/Makefile.am: : Added hangul-xft module. * modules/hangul/hangul-xft.c: New file, shaping Hangul Jamos (U+1100-U+11FF) with Xft. * modules/hangul/hangul-x.c (JOHAB_COMMON): Render any prefix of uncommposable Hangul syllable as a syllable, and render remains as uncomposed form. This looks better than completely uncomposed jamo glyphs. (render_syllable_with_iso10646): Likewise. (render_syllable_with_ksc5601): Likewise. (hangul_engine_shape): Fixed memory leak on shaping a syllable with >= 6 jamos. * modules/hangul/tables-jamos.i, modules/hangul/tables-ksc5601.i: Separated Hangul Jamo mapping table from ksx1001 <=> unicode table. * modules/hangul/hangul-defs.h: New file with some common defines and macros. * modules/hangul/hangul-x.c (render_syllable_with_johabs): Fixed wrong font index around fallback display with johabs. (find_subfont): Uses "johabsh-1" (johabs-1 font with Hanja) in the same way with "johabs-1".
* Fix problem where pango_xft_get_unknown_glyph() was being used for XOwen Taylor2002-07-275-3/+24
| | | | | | | | | Sat Jul 27 09:46:51 2002 Owen Taylor <otaylor@redhat.com> * modules/thai/{thai-shaper.[ch],thai-x.c,thai-xft.c} (make_unknown_glyph): Fix problem where pango_xft_get_unknown_glyph() was being used for X fonts. (reported by Jacob Berkman)
* ri Jul 26 19:46:45 2002 Owen Taylor <otaylor@redhat.com>Owen Taylor2002-07-262-3147/+3349
| | | | | | | | * modules/basic/basic-x.c modules/basic/tables-big.i: Patch fromm Qingjiang (Brian) Yuan adding support for GB-18030, BIG5-HKSCS, CNS-11643 and GBK encodings. Also fix wrong encoding for Big5 fonts and look for big5-1 as well as big5-0 for the encoding name.
* Patch from Qingjiang (Brian) Yuan and Changwoo Ryu to add support forOwen Taylor2002-07-262-0/+141
| | | | | | | | Fri Jul 26 19:23:58 2002 Owen Taylor <otaylor@redhat.com> * modules/hangul/hangul-x.c modules/hangul/tables-ksc5601.1: Patch from Qingjiang (Brian) Yuan and Changwoo Ryu to add support for ksc5601.1992-3 fonts.
* ri Jul 26 18:48:49 2002 Owen Taylor <otaylor@redhat.com>Owen Taylor2002-07-264-0/+1253
| | | | | | | | | * configure.in modules/thai/Makefile.am modules/thai/thai-shaper.[ch] modules/thai/thai-xft.c modules/thai/thai-x.c: Patch from Theppitak Karoonboonyanan that factors out common code from thai-x.c and adds a new Xft shaper for Thai. (#78346)