summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Make sure the face is unlocked before returning from ↵Keith Packard2003-06-026-2/+33
| | | | pango_xft_font_real_get_kerning
* Don't put statements with side-effects inside g_assert()! (#114137, JeffOwen Taylor2003-06-026-8/+38
| | | | | | | | Mon Jun 2 12:10:11 2003 Owen Taylor <otaylor@redhat.com> * pango/pango-glyph-item.c (pango_glyph_item_apply_attrs): Don't put statements with side-effects inside g_assert()! (#114137, Jeff Waugh)
* Add pango_ft2_font_map_set_default_substitute.Tor Lillqvist2003-05-306-0/+21
| | | | | | 2003-05-30 Tor Lillqvist <tml@iki.fi> * pango/pangoft2.def: Add pango_ft2_font_map_set_default_substitute.
* Fix a stupid bug in the shortcircuit case.Owen Taylor2003-05-306-2/+57
| | | | | | | Thu May 29 20:05:45 2003 Owen Taylor <otaylor@redhat.com> * pango/pango-glyph-item.c: Fix a stupid bug in the shortcircuit case.
* When applying attribute to a glyph item, handle attributes that splitOwen Taylor2003-05-296-29/+266
| | | | | | | | | | Thu May 29 18:37:58 2003 Owen Taylor <otaylor@redhat.com> * pango/pango-glyph-item.c (pango_glyph_item_apply_attrs): When applying attribute to a glyph item, handle attributes that split clusters by giving the cluster all the attributes that apply to it. (Previously caused a crash, #104976 Taneem Ahmed, Sunil Mohan Adapa)
* Add HAVE_X.Tor Lillqvist2003-05-2915-10/+142
| | | | | | | | | | | | | | | | | | | | | | | 2003-05-29 Tor Lillqvist <tml@iki.fi> * acconfig.h: Add HAVE_X. * configure.in: Set HAVE_X. * modules/thai/thai-shaper.h: Don't include pangox.h unless HAVE_X. Also leave out the PangoXSubfont field unless HAVE_X. * modules/hangul/Makefile.am * modules/indic/Makefile.am * modules/thai/Makefile.am: Use -no-undefined on Windows. * modules/thai/thai-shaper.c: Include config.h for HAVE_X. * README.win32: Some minor edits. * pango/pango.def: Add pango_fc_* entries. * pango/pangoft2.def: Add some missing entries.
* (#107630, Federic Zhang)Owen Taylor2003-05-287-57/+101
| | | | | | | | | | | Wed May 28 17:43:16 2003 Owen Taylor <otaylor@redhat.com> (#107630, Federic Zhang) * tools/compress-table.pl (convert): Make read the maps directly. * tools/make-table.pl: Remove.
* added support for rise, strikethru and shape attributes. (#109900).Sven Neumann2003-05-286-70/+122
| | | | | | | 2003-05-28 Sven Neumann <sven@gimp.org> * pango/pangoft2.c (pango_ft2_render): added support for rise, strikethru and shape attributes. (#109900).
* Limit the size of the buffers we alloca(). (#104238Owen Taylor2003-05-276-1/+35
| | | | | | | Tue May 27 18:37:44 2003 Owen Taylor <otaylor@redhat.com> * pango/mini-fribidi/fribidi.c (fribidi_analyse_string): Limit the size of the buffers we alloca(). (#104238
* Clean up so that tests for Xft/FreeType are only run when we findOwen Taylor2003-05-277-41/+98
| | | | | | | | | | | | Tue May 27 16:51:32 2003 Owen Taylor <otaylor@redhat.com> * configure.in: Clean up so that tests for Xft/FreeType are only run when we find fontconfig. (#112027, Tim Mooney) * README: Rewrite the text about fontconfig dependencies to be clearer and not to have stale links to http://keithp.com/fonts/. (#112027, Tim Mooney)
* Patch from Morten Welinder to collect characters into runs of the sameOwen Taylor2003-05-276-14/+82
| | | | | | | | | Tue May 27 16:06:34 2003 Owen Taylor <otaylor@redhat.com> * pango/pangox.c (pango_x_render): Patch from Morten Welinder to collect characters into runs of the same font with natural offsets before drawing them. (#106892, Morten Welinder)
* Get the fontnmap for the right screen (#113452, Morten Welinder)Owen Taylor2003-05-276-2/+33
| | | | | | | | Tue May 27 15:01:24 2003 Owen Taylor <otaylor@redhat.com> * pango/pangoxft-font.c (pango_xft_font_get_metrics): Get the fontnmap for the right screen (#113452, Morten Welinder)
* Fix typo for FreeType dependencies in the enable_explicit_deps case.Owen 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)
* Use g_object_new() rather than g_type_create_instance() (Patch fromOwen Taylor2003-05-2710-5/+55
| | | | | | | | | | | | Tue May 27 12:32:43 2003 Owen Taylor <otaylor@redhat.com> * pango/pango-context.c (pango_context_new) pango/pango-layout.c (pango_context_new) pango/pango-win32.c (pango_win32_font_map_for_display) pango/pangox-fontmap.c (pango_x_font_map_for_display) pango/pangox.c (pango_x_font_new): Use g_object_new() rather than g_type_create_instance() (Patch from Benjamin Otte, #112786)
* Add code to check for "./pangorc" so that it works uninstalled.Owen Taylor2003-05-277-0/+31
| | | | | | | Tue May 27 12:19:53 2003 Owen Taylor <otaylor@redhat.com> * examples/pangoft2topgm.c (main): Add code to check for "./pangorc" so that it works uninstalled.
* Fix some incorrect edge cases for RTL text. (#102952, Padraig O'Briain)Owen Taylor2003-05-026-14/+74
| | | | | | | | Fri May 2 17:20:23 2003 Owen Taylor <otaylor@redhat.com> * pango/mapping.c (pango_glyph_string_x_to_index): Fix some incorrect edge cases for RTL text. (#102952, Padraig O'Briain)
* Fix a harmless uninitialized memory read. (#109625, Rich Burridge)Owen Taylor2003-05-026-1/+25
| | | | | | | Fri May 2 14:21:20 2003 Owen Taylor <otaylor@redhat.com> * pango/pango-layout.c (update_run): Fix a harmless uninitialized memory read. (#109625, Rich Burridge)
* Fix a harmless uninitialized memory read. (#109625, Rich Burridge)Owen Taylor2003-05-021-5/+3
| | | | | | | Fri May 2 14:21:20 2003 Owen Taylor <otaylor@redhat.com> * pango/pango-layout.c (update_run): Fix a harmless uninitialized memory read. (#109625, Rich Burridge)
* file thai-ft2.c was initially added on branch pango-1-2.Owen Taylor2003-04-300-0/+0
|
* Hash case insensitively (#106942, Morten Welinder)Owen Taylor2003-04-306-1/+44
| | | | | | | Wed Apr 30 16:46:52 2003 Owen Taylor <otaylor@redhat.com> * pango/fonts.c (pango_font_description_hash): Hash case insensitively (#106942, Morten Welinder)
* Add the fonconfig cflags/libs to FREETYPE_CFLAGS/LIBS. (#111326, NoahOwen Taylor2003-04-299-9/+46
| | | | | | | | | | Tue Apr 29 18:02:31 2003 Owen Taylor <otaylor@redhat.com> * configure.in: Add the fonconfig cflags/libs to FREETYPE_CFLAGS/LIBS. (#111326, Noah Levitt) * {pango,tests,examples}/Makefile.am: Remove now unnecessary references to FONTCONFIG_CFLAGS/LIBS.
* 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)
* Documentation fix.Matthias Clasen2003-04-236-19/+21
|
* More careful handling of face->charmap; if is NULL, try to set a unicodeOwen Taylor2003-04-166-2/+59
| | | | | | | | | Wed Apr 16 03:46:42 2003 Owen Taylor <otaylor@redhat.com> * pango/opentype/pango-ot-info.c (synthesize_class_def): More careful handling of face->charmap; if is NULL, try to set a unicode charmap, if that doesn't succeed, return. (Hopefully fixes #106550)
* 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.
* Always include freetype.h even when not ENABLE_ENGINE | ENABLE_BACKEND.Owen Taylor2003-04-156-2/+27
| | | | | | | Tue Apr 15 07:03:19 2003 Owen Taylor <otaylor@redhat.com> * pango/pangofc-font.h: Always include freetype.h even when not ENABLE_ENGINE | ENABLE_BACKEND.
* 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)
* Don't look for Xft unless we found FreeType. (#109753)Owen Taylor2003-04-156-1/+26
| | | | | | | Tue Apr 15 05:47:35 2003 Owen Taylor <otaylor@redhat.com> * configure.in: Don't look for Xft unless we found FreeType. (#109753)
* 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)
* Avoid complex quoting mess that didn't work with all shells. (#108001)Owen Taylor2003-04-156-4/+32
| | | | | | | Tue Apr 15 05:13:56 2003 Owen Taylor <otaylor@redhat.com> * configure.in: Avoid complex quoting mess that didn't work with all shells. (#108001)
* Fix infinite loop in the case where the charmap contains a character >Owen Taylor2003-04-156-7/+37
| | | | | | | | Tue Apr 15 05:00:39 2003 Owen Taylor <otaylor@redhat.com> * pango/opentype/pango-ot-info.c (synthesize_class_def): Fix infinite loop in the case where the charmap contains a character > 65535. (#106550, Morten Welinder.)
* Cast some enumeration members that are bigger than signed integers toOwen Taylor2003-04-156-2/+32
| | | | | | | | 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 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-157-25/+54
| | | | | | | Tue Apr 15 03:54:01 2003 Owen Taylor <otaylor@redhat.com> * modules/hangul/hangul-{x,fc}.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 some stupid type registration/ class size problems from last commit.Owen Taylor2003-04-157-4/+29
| | | | | | | Tue Apr 15 00:07:21 2003 Owen Taylor <otaylor@redhat.com> * pango/pangoft2.[ch]: Fix some stupid type registration/ class size problems from last commit.
* file indic-ft2.c was initially added on branch pango-1-2.Owen Taylor2003-04-140-0/+0
|
* Switch over the way that module entry points work, taking advantage of theOwen Taylor2003-04-1451-3423/+1006
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Mon Apr 14 06:02:34 2003 Owen Taylor <otaylor@redhat.com> * modules/thai/{thai-fc.c,thai-shaper.c,thai-x.c}: * modules/*/*-{xft,x,win32.c} pango/pango-engine.h modules/*/Makefile.am: Switch over the way that module entry points work, taking advantage of the new automake capability for per-target CFLAGS for shared sources. * pango/pangofc-font.[ch] pango/pangoxft-font.c pango/pangoft2.c: Add a base class for PangoXft and PangoFT2 font classes so code can be shared between FT2 and Xft backends. * configure.in modules/*/Makefile.am modules/{arabic,basic,hangul,hebrew,indic,thai}: Move *-xft.c to *-fc.c and share between Xft and FT2 backends; adds FT2 backend capabilities for hangul/indic/thai. * pango/pangoxft.h pango/pangoft2.h: Deprecate APIs that moved into PangoFcFont * modules/basic/basic-fc.c (set_glyph): Add kerning handling from FT2 backend.
* disable antialiasing if requested. Fixes bug #109370.Sven Neumann2003-04-036-13/+75
| | | | | | | | | | | 2003-04-03 Sven Neumann <sven@gimp.org> * pango/pangoft2.c (pango_ft2_font_get_face) (pango_ft2_font_render_glyph): disable antialiasing if requested. Fixes bug #109370. * pango/pangoft2.c (pango_ft2_render): fixed rendering of monochrome bitmaps.
* pango/pangoft2.c (pango_ft2_render_layout) pango/pangowin32.cSven Neumann2003-04-028-185/+98
| | | | | | | | | | 2003-04-02 Sven Neumann <sven@gimp.org> * pango/pangoft2.c (pango_ft2_render_layout) * pango/pangowin32.c (pango_win32_render_layout) * pango/pangox.c (pango_x_render_layout): use a PangoLayoutIter to iterate over the lines and let render_layout_line() do the actual rendering. Fixes bug #105292.
* pango/pangoft2-fontmap.c fixed typos in inline docs.Sven Neumann2003-03-287-2/+27
| | | | | | | 2003-03-28 Sven Neumann <sven@gimp.org> * pango/pangoft2-fontmap.c * pango/pangoxft-fontmap.c: fixed typos in inline docs.
* shut up CVSSven Neumann2003-03-211-7/+9
|
* Quick and dirty fix for seg-fault in Hebrew shaper.Dov Grobgeld2003-03-121-2/+11
| | | | * Quick and dirty fix for seg-fault in Hebrew shaper.
* make similar changes to the ones on glib head (call gtk-docize, etc).James Henstridge2003-03-1121-1018/+870
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-03-11 James Henstridge <james@daa.com.au> * autogen.sh: make similar changes to the ones on glib head (call gtk-docize, etc). * configure.in: move some calculations into M4 macros, rather than calculating them when configure runs. Use AC_HELP_STRING where appropriate. Replace gtk-doc checks with a call to GTK_DOC_CHECK. Replace AC_OUTPUT_COMMANDS() call with a number of calls to AC_CONFIG_COMMANDS (once per created file). Get rid of the "chmod +x pango-config" bit, because there is no pango-config anymore. * Makefile.am: get rid of custom distcheck rule, and set DISTCHECK_CONFIGURE_FLAGS, which is equivalent. Use += to select which .pc files to install. * pango/Makefile.am: Add rules to rebuild module-defs* files, and remove them on clean. Reorder so that rules related to each individual library are next to each other. Use BUILT_SOURCES for built sources. * pango/opentype/Makefile.am: don't use STRIP_BEGIN/STRIP_END. * modules/*/Makefile.am: simplify module makefiles through use of +=, and regularise them a bit (fixed a few bugs in the process). * docs/Makefile.am: remove common rules, and instead include gtk-doc.make. * examples/Makefile.am: add pango.modules to CLEANFILES. * tests/Makefile.am: remove temporary files on clean.
* Add an --enable-debug configure argument defaulting to 'yes' for unstableOwen Taylor2003-02-1713-207/+210
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Add an --enable-debug configure argument defaulting to 'yes' for unstableOwen Taylor2003-02-1713-3/+164
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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 a typo in the @bitmap argument description. s/line/layoutChema Celorio2003-02-166-1/+26
| | | | | | | Sun Feb 16 09:10:12 2003 Chema Celorio <chema@celorio.com> * pango/pangoft2.c (pango_ft2_render_layout): fix a typo in the @bitmap argument description. s/line/layout
* Simplify 'test x$have_x != xfalse' to $have_x.Owen Taylor2003-02-126-1/+26
| | | | | | | Wed Feb 12 17:20:15 2003 Owen Taylor <otaylor@redhat.com> * configure.in: Simplify 'test x$have_x != xfalse' to $have_x.