summaryrefslogtreecommitdiff
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* Fix off-by-one error. (#108620, Noah Levitt)Owen Taylor2003-04-151-0/+5
| | | | | | | 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-151-0/+5
| | | | | | | 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-151-0/+6
| | | | | | | | 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-151-0/+5
| | | | | | | 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.
* Switch over the way that module entry points work, taking advantage of theOwen Taylor2003-04-141-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-031-0/+9
| | | | | | | | | | | 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-021-0/+8
| | | | | | | | | | 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-281-0/+5
| | | | | | | 2003-03-28 Sven Neumann <sven@gimp.org> * pango/pangoft2-fontmap.c * pango/pangoxft-fontmap.c: fixed typos in inline docs.
* make similar changes to the ones on glib head (call gtk-docize, etc).James Henstridge2003-03-111-0/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-171-0/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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-161-0/+5
| | | | | | | 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-121-0/+5
| | | | | | | Wed Feb 12 17:20:15 2003 Owen Taylor <otaylor@redhat.com> * configure.in: Simplify 'test x$have_x != xfalse' to $have_x.
* If --without-x is specified, don't try to build Xft backend either.Owen Taylor2003-02-121-0/+6
| | | | | | | | Wed Feb 12 17:17:12 2003 Owen Taylor <otaylor@redhat.com> * configure.in: If --without-x is specified, don't try to build Xft backend either. (#105210, patch from Akira Tagoh)
* Fix bug where language tag changes were not causing the font to be lookedOwen Taylor2003-02-121-0/+6
| | | | | | | | 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)
* Up the FreeType version requirement to 2.0.9. (2.2.1 had a compilationOwen Taylor2003-02-121-0/+8
| | | | | | | | | | Wed Feb 12 16:59:23 2003 Owen Taylor <otaylor@redhat.com> * configure.in pango/opentype/fterrcompat.h README: Up the FreeType version requirement to 2.0.9. (2.2.1 had a compilation failure with older versions, this catches it more cleanly, and removes some unneeded checks. #105302, problem reported by Will Partain.)
* Guard against pango_layout_set_text (pango_layout_get_text (layout));Owen Taylor2003-02-121-0/+7
| | | | | | | | | 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-121-0/+7
| | | | | | | | | 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)
* Fix typo where xft_sources was used again. (#105219, Chris Ross)Owen Taylor2003-02-121-0/+6
| | | | | | | | 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)
* Remove spec.spec.in from EXTRA_DIST, and from dist rules. (#102231)Owen Taylor2003-01-301-0/+7
| | | | | | | | | 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.
* Fix an off-by-one error when checking if are off the end of the coverageOwen Taylor2003-01-291-0/+9
| | | | | | | | | | | 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.
* Break out of loop if char is 0xFFFF. Some fonts have tables terminatedTor Lillqvist2003-01-291-0/+6
| | | | | | | | 2003-01-29 Tor Lillqvist <tml@iki.fi> * pango/pangowin32.c (pango_win32_font_calc_coverage): Break out of loop if char is 0xFFFF. Some fonts have tables terminated like this.
* Fix version in complaint message about automake. (#104366, Rich Burridge)Owen Taylor2003-01-281-0/+5
| | | | | | | 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)
* fixed configure output which was wrong in case freetype is available butSven Neumann2003-01-201-0/+5
| | | | | | | 2003-01-20 Sven Neumann <sven@gimp.org> * configure.in: fixed configure output which was wrong in case freetype is available but fontconfig isn't (bug #103917).
* Avoid crash with string such as " 12" (bug #103674)Padraig O'Briain2003-01-171-0/+5
| | | | | | | 2003-01-17 Padraig O'Briain <padraig.obriain@sun.com> * pango/fonts.c (pango_font_description_from_string): Avoid crash with string such as " 12" (bug #103674)
* Export TT_New_GDEF_Table to create an empty GDEF table.Owen Taylor2003-01-111-0/+10
| | | | | | | | | | | | | 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)
* Split ChangeLogpango-1-2-branchpointOwen Taylor2002-12-281-1566/+0
|
* === Released 1.2.0 ===PANGO_1_2_0Owen Taylor2002-12-201-0/+8
| | | | | | | | | | Fri Dec 20 12:18:43 2002 Owen Taylor <otaylor@redhat.com> * === Released 1.2.0 === * configure.in: Version 1.2.0, interface age 0. * NEWS: Updated
* Some unit fixups (#96335)Owen Taylor2002-12-201-0/+22
| | | | | | | | | | | | | | | | | | | | Fri Dec 20 11:59:22 2002 Owen Taylor <otaylor@redhat.com> Some unit fixups (#96335) * pango/pango-layout.c pango/pango-mapping.c: Fix occurrences of "in thousandths of a device unit" to say "in #PangoGlyphUnit" which will give a link to the PangoGlyphUnit docs. * docs/tmpl/text-attributes.sgml: Change 1000 to PANGO_SCALE. * docs/tmpl/glyphs.sgml: Fix docs for PangoGlyphUnit, fix mention of value of PANGO_SCALE from 1000 to 1024. * pango/pango-layout.c (pango_layout_line_get_x_ranges): Fix the docs for @ranges so it doesn't sound like the coordinates are in pixels.
* === Released 1.1.6 ===Owen Taylor2002-12-171-0/+10
| | | | | | | | | | | | Mon Dec 16 21:16:31 2002 Owen Taylor <otaylor@redhat.com> * === Released 1.1.6 === * NEWS: Updated. * configure.in: Version 1.1.6, interface age 2. * configure.in: Bump PANGO_MODULE_VERSION to 1.2.0.
* When we get an isolated tone in isolation, do something reasonable ratherOwen Taylor2002-12-171-0/+11
| | | | | | | | | | | | | 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-161-0/+7
| | | | | | | | | 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.
* Require autoconf-2.53.Owen Taylor2002-12-121-0/+4
| | | | | | Thu Dec 12 13:59:43 2002 Owen Taylor <otaylor@redhat.com> * configure.in: Require autoconf-2.53.
* Cosmetic changes to short descriptions.Matthias Clasen2002-12-111-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | * docs/tmpl/text-attributes.sgml: * docs/tmpl/glyphs.sgml: * docs/tmpl/engines.sgml: * docs/tmpl/main.sgml: * docs/tmpl/pango-indic.sgml: * docs/tmpl/coverage-maps.sgml: * docs/tmpl/fonts.sgml: * docs/pango_markup.sgml: Cosmetic changes to short descriptions. * docs/tmpl/tab-stops.sgml: * docs/tmpl/modules.sgml: * docs/tmpl/opentype.sgml: * docs/tmpl/xft-fonts.sgml: * docs/tmpl/freetype-fonts.sgml: * docs/tmpl/win32-fonts.sgml: Add short descriptions. * docs/pango-docs.sgml: Move "OpenType Font Handling" to "Low Level Functionality". * docs/pango-sections.txt: Combine the "X Fonts" and "X Rendering" sections.
* === Released 1.1.5 ===PANGO_1_1_5Owen Taylor2002-12-101-1/+8
| | | | | | | | | | | Tue Dec 10 18:37:19 2002 Owen Taylor <otaylor@redhat.com> * === Released 1.1.5 === * pango/pango-attributes.h pango/pango-font.h pango/pango-fontset.h pango/pango-fontmap.h: Add explicit /*< public >*/ /*< private *>/ guards. (See #95398 for gtk-doc changes making this necessary)
* === Released 1.1.5 ===Owen Taylor2002-12-101-7/+9
| | | | | | | | | | Tue Dec 10 14:51:01 2002 Owen Taylor <otaylor@redhat.com> * === Released 1.1.5 === * configure.in: Version 1.1.5, interface age 1. * NEWS: Update.
* Draw the unknown glyph box with X primitives rather than hoping that someOwen Taylor2002-12-091-0/+11
| | | | | | | | | | | | | Sun Dec 8 22:57:55 2002 Owen Taylor <otaylor@redhat.com> * pango/pangox.c: Draw the unknown glyph box with X primitives rather than hoping that some font has an actualpainting unknown glyph... that code was apparently still working badly. Use "en" not NULL as the language tags for getting the metrics for the return glyph and the unknown character glyph... NULL gives too large results. (#98245, Based on a patch from Morten Welinder.)
* Free the iter. (Fix from Kjartan Maraas, #100672)Owen Taylor2002-12-081-0/+5
| | | | | | | Sun Dec 8 15:22:10 2002 Owen Taylor <otaylor@redhat.com> * pango/pango-glyph-item.c (pango_glyph_item_apply_attrs): Free the iter. (Fix from Kjartan Maraas, #100672)
* Document PangoIndicScript. Document.Matthias Clasen2002-12-071-0/+8
| | | | | * docs/tmpl/pango-indic.sgml: Document PangoIndicScript. * pango/pangowin32.c (pango_win32_get_dc): Document.
* Print out an informative error message and exit(1) if no fonts are found.Owen Taylor2002-12-071-0/+9
| | | | | | | | | | | Sat Dec 7 01:05:25 2002 Owen Taylor <otaylor@redhat.com> * pango/pangofc-fontmap.cI (pango_fc_font_map_get_patterns): Print out an informative error message and exit(1) if no fonts are found. (#98672) * pango/pangoft2.c (pango_ft2_font_get_face): Fix some bugs in the last commit.
* Don't use face->generic.data to hold the size the face is currently setOwen Taylor2002-12-071-0/+8
| | | | | | | | | | Sat Dec 7 00:10:02 2002 Owen Taylor <otaylor@redhat.com> * pango/pangoft2.c (pango_ft2_font_get_face): Don't use face->generic.data to hold the size the face is currently set to; we don't need it currently and it interferes with the use of face->generic.data for OpenType data. (#93822, frequently reported bug)
* Roughly clip glyphs into the X coordinate area to avoid wrap-around.Owen Taylor2002-12-071-0/+12
| | | | | | | | 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)
* Dynamically allocate submap arrays so we aren't constrained to the BMP.Owen Taylor2002-12-071-0/+6
| | | | | | | | Fri Dec 6 19:42:33 2002 Owen Taylor <otaylor@redhat.com> * pango/modules.c (map_get_submap): Dynamically allocate submap arrays so we aren't constrained to the BMP. (#100307, Federic Zhang)
* Use octal escapes rather than hex to avoid the problem over having hexOwen Taylor2002-12-071-0/+6
| | | | | | | | Fri Dec 6 18:58:25 2002 Owen Taylor <otaylor@redhat.com> * pango/pango-utils.lo: Use octal escapes rather than hex to avoid the problem over having hex digits immediately after the hex escape.
* Convert literal UTF-8 to hex escapes. (#92050, Arnaud Carlet)Owen Taylor2002-12-061-0/+9
| | | | | | | | | | | Fri Dec 6 18:30:36 2002 Owen Taylor <otaylor@redhat.com> * pango/pango-utils.c: Convert literal UTF-8 to hex escapes. (#92050, Arnaud Carlet) * pango/testfonts.c: Convert literal ISO-8859-1 to UTF-8 hex escapes. (Don't know how passing ISO-8859-1 to pango_shape() was working...)
* Convert [sf]printf to g_[sf]printf, or, where appropriate g_printerr().Owen Taylor2002-12-061-0/+10
| | | | | | | | | | | | 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.
* Add missing thai-xft to thai-modules. (#99883, Tony Graham)Owen Taylor2002-12-061-0/+5
| | | | | | | Fri Dec 6 17:56:32 2002 Owen Taylor <otaylor@redhat.com> * configure.in: Add missing thai-xft to thai-modules. (#99883, Tony Graham)
* === Released 1.1.4 ===Owen Taylor2002-12-031-0/+15
| | | | | | | | | | | | | | | | | Mon Dec 2 17:22:34 2002 Owen Taylor <otaylor@redhat.com> * === Released 1.1.4 === * configure.in: Up version to 1.1.4, interface age 0. * NEWS: Updated. * pango/pangoxft-fontmap.c (pango_fc_do_finalize) * pango/pangoft2-fontmap.c (pango_fc_do_finalize): Fix leaks of fontmap->substitute_data. (#99850) * pango/Makefile.am (INCLUDES): Fix accidental reference to pango-script-table.h.
* Rename PangoLayoutRun to PangoGlyphItem (with a typedef for compat), addOwen Taylor2002-12-031-11/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sun Nov 17 23:28:26 2002 Owen Taylor <otaylor@redhat.com> * pango/pango-glyph-item.[ch] pango/pango-layout.h: Rename PangoLayoutRun to PangoGlyphItem (with a typedef for compat), add pango_glyph_item_split(), pango_glyph_item_apply_attrs(). * pango/pango-attributes.[ch]: Add pango_attr_list_filter(), pango_attr_iterator_get_attrs(). * pango/pango-layout.c: Remove attributes that don't affect shaping before shaping, shape and then add them back. Fixes the infamous "underscores break arabic shaping" bug (#83058) * pango/pango-item.h: Remove an extraneous include. * pango/pango-layout.c (imposed_shape): Fix bytes/chars problem for glyph->log_clusters. * pango/pango-layout.c (cluster_end_index) * pango/pango-layout.c (pango_layout_iter_next_cluster): Fix confusion between global indices and run-relative indices. * docs/tmpl/glyphs.sgml: Improve docs for log_clusters. * docs/*: Document new API and PangoOTRuleset
* Add docs.Matthias Clasen2002-11-281-0/+10
| | | | | | | | | | * docs/tmpl/xft-fonts.sgml: * docs/tmpl/freetype-fonts.sgml: Add docs. * pango/pangoxft-fontmap.c (pango_xft_substitute_changed): * pango/pangoft2-fontmap.c (pango_ft2_font_map_set_default_substitute): Fix doc typos.
* Mark 1.2 API additions, fix some doc comments.Matthias Clasen2002-11-281-0/+12
| | | | | | | | | | | | * pango/pangoxft-fontmap.c: * pango/pangoxft-font.c: * pango/pangowin32.c: * pango/pangoft2-fontmap.c: Mark 1.2 API additions, fix some doc comments. * pango/pangoft2-fontmap.c (pango_ft2_font_map_set_default_substitute): Implement this function. (#99850)