summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix typo for FreeType dependencies in the enable_explicit_deps case.pango-1-0Owen Taylor2003-05-276-1/+26
| | | | | | | Tue May 27 12:36:50 2003 Owen Taylor <otaylor@redhat.com> * configure.in: Fix typo for FreeType dependencies in the enable_explicit_deps case. (#113333, James Su)
* Accept libtool-1.5. (#111482)Owen Taylor2003-04-246-1/+21
| | | | | | Thu Apr 24 19:12:05 2003 Owen Taylor <otaylor@redhat.com> * autogen.sh (have_libtool): Accept libtool-1.5. (#111482)
* When loading in Load_Chain{Sub,Pos}ClassRule, the limit we have onlyOwen Taylor2003-04-167-6/+48
| | | | | | | | | | Tue Apr 15 11:49:39 2003 Owen Taylor <otaylor@redhat.com> * pango/opentype/ftxg{sub/pos}.c: When loading in Load_Chain{Sub,Pos}ClassRule, the limit we have only applies to the input ClassDef table. Fixes problem with Arial Unicode. Much help from Noah Levitt in tracing this down.
* Free the right string.Owen Taylor2003-04-166-1/+26
| | | | | | | Tue Apr 15 09:19:21 2003 Owen Taylor <otaylor@redhat.com> * pango/fonts.c (pango_font_description_set_family): Free the right string.
* Fix mispelled constant from last commit.Owen Taylor2003-04-156-1/+26
| | | | | | | Tue Apr 15 06:57:02 2003 Owen Taylor <otaylor@redhat.com> * pango/opentype/ftxgpos.c: Fix mispelled constant from last commit.
* Fix confusion between boolean and FT_Error return. (#108358, Noah Levitt)Owen Taylor2003-04-157-3/+45
| | | | | | | | | | Tue Apr 15 06:03:39 2003 Owen Taylor <otaylor@redhat.com> * pango/opentype/ftxgpos.c: Fix confusion between boolean and FT_Error return. (#108358, Noah Levitt) * pango/opentype/ftxopen.c (Get_Class1): index is allowed to be NULL. (#108358, Noah Levitt)
* Switch around the code so that pango_font_description_set_family (desc,Owen Taylor2003-04-156-4/+51
| | | | | | | | | | | Tue Apr 15 05:34:05 2003 Owen Taylor <otaylor@redhat.com> * pango/fonts.c (pango_font_description_set_family): Switch around the code so that pango_font_description_set_family (desc, pango_font_description_set_family (desc)) in the case where desc->static_family is TRUE. (#106964, Morten Welinder)
* Fix off-by-one error. (#108620, Noah Levitt)Owen Taylor2003-04-156-1/+26
| | | | | | | Tue Apr 15 04:39:48 2003 Owen Taylor <otaylor@redhat.com> * pango/pango-coverage.c (pango_coverage_set): Fix off-by-one error. (#108620, Noah Levitt)
* Fix out-of-bounds read where the value wasn't actually used. (#106744,Owen Taylor2003-04-155-0/+25
| | | | | | | Tue Apr 15 03:54:01 2003 Owen Taylor <otaylor@redhat.com> * modules/hangul/hangul-x.c: Fix out-of-bounds read where the value wasn't actually used. (#106744, Morten Welinder)
* Return FALSE, not -1 in g_return_val_if_fail(). (#107666, MortenOwen Taylor2003-04-156-1/+31
| | | | | | | | Tue Apr 15 03:47:37 2003 Owen Taylor <otaylor@redhat.com> * pango/pango-attributes.c (pango_attr_iterator_next): Return FALSE, not -1 in g_return_val_if_fail(). (#107666, Morten Welinder.)
* Fix missing static. (#108693, Rick Jones)Owen Taylor2003-04-156-1/+26
| | | | | | | 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)
* Remove files from server copyOwen Taylor2003-04-144-1165/+0
|
* Fix bug where language tag changes were not causing the font to be lookedOwen Taylor2003-02-126-4/+35
| | | | | | | | Wed Feb 12 17:09:00 2003 Owen Taylor <otaylor@redhat.com> * pango/pango-context.c: Fix bug where language tag changes were not causing the font to be looked up again. (bugzilla.redhat.com #84034)
* Guard against pango_layout_set_text (pango_layout_get_text (layout));Owen Taylor2003-02-126-4/+42
| | | | | | | | | Wed Feb 12 16:48:46 2003 Owen Taylor <otaylor@redhat.com> * pango/pango-layout.c (pango_layout_set_text): Guard against pango_layout_set_text (pango_layout_get_text (layout)); (#105612, Morten Welinder)
* Remove call to QApplication::setStyle (new QCDEStyle())... didn't makeOwen Taylor2003-02-126-3/+35
| | | | | | | | | Wed Feb 12 16:44:05 2003 Owen Taylor <otaylor@redhat.com> * examples/viewer-qt.cc: Remove call to QApplication::setStyle (new QCDEStyle())... didn't make sense and caused problems if CDEStyle wasn't compiled into Qt. (#105264, Andrey Panov)
* Remove spec.spec.in from EXTRA_DIST, and from dist rules. (#102231)Owen Taylor2003-01-307-5/+35
| | | | | | | | | Thu Jan 30 16:41:46 2003 Owen Taylor <otaylor@redhat.com> * Makefile.am (EXTRA_DIST): Remove spec.spec.in from EXTRA_DIST, and from dist rules. (#102231) * configure.in: Don't generate pango.spec.
* g_return_val_if_fail for index >= 0 was the wrong way.Tor Lillqvist2003-01-296-11/+11
| | | | | | | 2003-01-29 Tor Lillqvist <tml@iki.fi> * pango/pango-coverage.c (pango_coverage_get): g_return_val_if_fail for index >= 0 was the wrong way.
* g_return_if_fail for index >= 0 was the wrong way.Tor Lillqvist2003-01-298-2/+70
| | | | | | | | | | | | | | | 2003-01-29 Tor Lillqvist <tml@iki.fi> * pango/pango-coverage.c (pango_coverage_set): g_return_if_fail for index >= 0 was the wrong way. * pango/pangowin32.c (pango_win32_font_calc_coverage): Break out of loop if char is 0xFFFF. Some fonts have tables terminated like this. Merge from HEAD: * pango/testfonts.c: Convert literal ISO-8859-1 to UTF-8 hex escapes.
* Fix an off-by-one error when checking if are off the end of the coverageOwen Taylor2003-01-286-2/+49
| | | | | | | | | | | Tue Jan 28 18:20:45 2003 Owen Taylor <otaylor@redhat.com> * pango/pango-coverage.c (pango_coverage_set/get): Fix an off-by-one error when checking if are off the end of the coverage array. (#102284, Morten Welinder.) * pango/pango-coverage.c (pango_coverage_get/set): Add g_return_if_fail for index < 0.
* Fix version in complaint message about automake. (#104366, Rich Burridge)Owen Taylor2003-01-286-2/+27
| | | | | | | Tue Jan 28 15:18:24 2003 Owen Taylor <otaylor@redhat.com> * autogen.sh (have_automake): Fix version in complaint message about automake. (#104366, Rich Burridge)
* Avoid crash with string such as " 12" (bug #103674)Padraig O'Briain2003-01-206-1/+26
| | | | | | | 2003-01-20 Padraig O'Briain <padraig.obriain@sun.com> * pango/fonts.c (pango_font_description_from_string): Avoid crash with string such as " 12" (bug #103674)
* Roughly clip glyphs into the X coordinate area to avoid wrap-around.Owen Taylor2002-12-078-21/+81
| | | | | | | | Fri Dec 6 23:07:58 2002 Owen Taylor <otaylor@redhat.com> * pango/pangoxft-font.c (pango_xft_real_render) pango/pangox.c (pango_x_render): Roughly clip glyphs into the X coordinate area to avoid wrap-around. (#73199)
* Add missing thai-xft to thai-modules. (#99883, Tony Graham)Owen Taylor2002-12-067-1/+31
| | | | | | | Fri Dec 6 17:56:32 2002 Owen Taylor <otaylor@redhat.com> * configure.in: Add missing thai-xft to thai-modules. (#99883, Tony Graham)
* Fix off-by-one in check for non-BMP characters. (#91834, He Qiangqiang)Owen Taylor2002-11-267-1/+37
| | | | | | | | Mon Nov 25 19:24:29 2002 Owen Taylor <otaylor@redhat.com> * pango/mini-fribidi/fribidi_get_type.c (_pango_fribidi_get_type): Fix off-by-one in check for non-BMP characters. (#91834, He Qiangqiang)
* Fix missing argument (#99380, Dagfinn I. Mannsåker)Owen Taylor2002-11-257-2/+32
| | | | | | | Mon Nov 25 11:58:30 2002 Owen Taylor <otaylor@redhat.com> * examples/viewer-qt.cc (readFile): Fix missing argument (#99380, Dagfinn I. Mannsåker)
* Tweak lib pattern a bit. (#97584)Owen Taylor2002-11-217-1/+25
| | | | | | Thu Nov 21 18:02:54 2002 Owen Taylor <otaylor@redhat.com> * pango.spec.in: Tweak lib pattern a bit. (#97584)
* Use some shell magic rather than perl to check for the right gtk-docOwen Taylor2002-11-217-9/+61
| | | | | | | | | Thu Nov 21 00:26:40 2002 Owen Taylor <otaylor@redhat.com> * configure.in: Use some shell magic rather than perl to check for the right gtk-doc version to avoid having to worry about finding Perl. Make checks handle 0.10 > 0.9. (#99120, Dan Mills)
* Add more debugging output.Tor Lillqvist2002-11-128-4/+86
| | | | | | | | | | | | | 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.
* Fix #96781: changes for basic X shaper's code range forHidetoshi Tajima2002-11-077-4/+47
| | | | | compatibility Ideographs characters (0xFA0C - 0xFA2D) (by federic.zhang@sun.com)
* No more use of TFILL, the internal trailing consonant filler.Changwoo Ryu2002-11-057-40/+215
| | | | | | | | | | | | | | | | 2002-11-05 Changwoo Ryu <cwryu@debian.org> * 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_ksx1001johab): Renamed from render_syllable_with_ksx1005(). (#95800). (render_syllable_with_ksx1005): Fixed wrong fallback glyphs indices (#95800). (render_syllable_with_ksx1001johab): Checks whether a given L+V+T? jamos are modern ones before rendering as a precomposed syllable (#96179).
* Update the non-Uniscribe ranges to cover some more simple scripts.Tor Lillqvist2002-10-247-49/+210
| | | | | | | | | | | | | | | | | | | 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-2110-1/+896
| | | | | | | | | | | | | | | | | | | | | | 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. * 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): New functions. (dump_glyphs_and_log_clusters, lang_name, charset_name): Debugging functions.
* Change semantics of this flag. If defined, also need to set env varTor Lillqvist2002-10-2111-90/+334
| | | | | | | | | | | | | | | | | | | | | | | | | 2002-10-22 Tor Lillqvist <tml@iki.fi> * 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.
* Fixed leaks when the Hangul jamos length >= 6 (#95730).Changwoo Ryu2002-10-157-6/+37
| | | | | * modules/hangul/hangul-x.c (hangul_engine_shape): Fixed leaks when the Hangul jamos length >= 6 (#95730).
* unref the PangoOTInfo after extracting the ruleset from it (#91541).Sven Neumann2002-10-149-4/+87
| | | | | | | | | | | | | | | 2002-10-14 Sven Neumann <sven@gimp.org> * modules/arabic/arabic-ft2.c (get_ruleset): unref the PangoOTInfo after extracting the ruleset from it (#91541). * pango/pangoft2-fontmap.c (pango_ft2_font_map_finalize) * pango_pangoxft-fontmap.c (pango_xft_font_map_finalize): destroy the fonts hash_table (#91697). * pango/pangoft2-fontmap.c (pango_ft2_font_set_free) * pango_pangoxft-fontmap.c (pango_xft_font_set_free): free the pattern array (#91698).
* === Released 1.0.5 ===PANGO_1_0_5Owen Taylor2002-10-1310-3/+101
| | | | | | | | | | | | | | | Sun Oct 13 12:34:41 2002 Owen Taylor <otaylor@redhat.com> * === Released 1.0.5 === * configure.in: Version 1.0.5. * NEWS: Updates Sun Oct 13 12:46:32 2002 Owen Taylor <otaylor@redhat.com> * pango/pangowin32.c (pango_win32_get_unknown_glyph): Fix the doc comment.
* Recognize a special marker directory name "WINDOWSFONTDIR", and look upTor Lillqvist2002-09-307-0/+85
| | | | | | | | 2002-10-01 Tor Lillqvist <tml@iki.fi> * pango/mini-xft/minixftdir.c (MiniXftDirScan) [Win32]: Recognize a special marker directory name "WINDOWSFONTDIR", and look up the Windows fonts folder.
* Revert change from 2002-09-21: Don't bypass the code that automaticallyTor Lillqvist2002-09-287-2/+70
| | | | | | | | | | | | | 2002-09-28 Tor Lillqvist <tml@iki.fi> * pango/pangowin32-fontmap.c (pango_win32_insert_font): Revert change from 2002-09-21: Don't bypass the code that automatically adds fonts to the families "monospace", "serif" and "sans". I thought it would be unnecessary if you have a pango.aliases that sets up aliases for these family names, but apparently not. Without this code, pango_layout_line_get_empty_extents() thinks empty lines have zero height, as it tries to use a font called "sans" for instance, and no aliases get used.
* (Based on GTK+ patch by J. Ali Harlow in #87774)Owen Taylor2002-09-279-3/+104
| | | | | | | | | | | | | | | 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-277-4/+46
| | | | | | | * 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.)
* INCLUDED_WIN32_MODULES was missing from a couple of places. (#93372)Tor Lillqvist2002-09-257-2/+32
| | | | | | | 2002-09-25 Tor Lillqvist <tml@iki.fi> * pango/Makefile.am: INCLUDED_WIN32_MODULES was missing from a couple of places. (#93372)
* Still a tiny improvement to pango_win32_render: keep tally of last_xTor Lillqvist2002-09-241-1/+2
| | | | using the whole pixel values passed to Windows.
* Use PANGO_PIXELS macro throughout instead of dividing by PANGO_SCALE.Tor Lillqvist2002-09-249-34/+215
| | | | | | | | | | | | | | | | | | | | | | | 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.
* Remove. Not used. (A static library is built here. Exported entries are inTor Lillqvist2002-09-238-52/+44
| | | | | | | | | 2002-09-24 Tor Lillqvist <tml@iki.fi> * pango/opentype/pango-ot.def: Remove. Not used. (A static library is built here. Exported entries are in ../pangoft2.def.) * pango/opentype/Makefile.am (EXTRA_DIST): Remove from here, too.
* pango/mini-fribidi/makefile.mingw Remove. Not maintained.Tor Lillqvist2002-09-2311-99/+49
| | | | | | | | | | | | | | 2002-09-23 Tor Lillqvist <tml@iki.fi> * pango/mini-fribidi/makefile.mingw * pango/opentype/makefile.mingw.in: Remove. Not maintained. * pango/mini-fribidi/Makefile.am (EXTRA_DIST) * pango/opentype/Makefile.am (EXTRA_DIST): Remove makefile.mingw(.in) from here, too. * configure.in (AC_OUTPUT): Don't try to output above removed files.
* Remove. Not maintained.Tor Lillqvist2002-09-229-54/+61
| | | | | | | | | | | 2002-09-23 Tor Lillqvist <tml@iki.fi> * examples/makefile.mingw.in: Remove. Not maintained. * examples/Makefile.am (EXTRA_DIST): Remove here, too. * configure.in (AC_OUTPUT): Don't try to output above removed files.
* Make color parsing more robust and correct. (#93804)Matthias Clasen2002-09-2211-45/+191
| | | | | | | | | | | * pango/pango-color.c (pango_color_parse): Make color parsing more robust and correct. (#93804) * tests/testcolor.c: Tests for pango_color_parse. * tests/Makefile.am: Build testcolor. * tests/runtests.sh: Run testcolor.
* Change according to change below so that build also with the manuallyTor Lillqvist2002-09-221-4/+4
| | | | | | | | 2002-09-23 Tor Lillqvist <tml@iki.fi> * 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.
* Minor spacing fixes, comment the Unicode ranges covered.Tor Lillqvist2002-09-2211-47/+186
| | | | | | | | | | | | | | | | | | | | | | 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. 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)
* Two very minor spacing fixes.Tor Lillqvist2002-09-212-2/+1
|