summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix reversed test on attr->absolute that was causing pixels sizes to beOwen Taylor2005-01-063-2/+16
| | | | | | | | | Thu Jan 6 12:29:31 2005 Owen Taylor <otaylor@redhat.com> * pango/pango-attributes.c (pango_attr_iterator_get_font): Fix reversed test on attr->absolute that was causing pixels sizes to be used inappropriately. (#163105, Ross Burton)
* Fix trailing comma in enum (#162618)Owen Taylor2005-01-043-1/+9
| | | | | | Tue Jan 4 14:14:28 2005 Owen Taylor <otaylor@redhat.com> * pango/break.c (enum): Fix trailing comma in enum (#162618)
* Fix doc sentences to parse. (#161812, Morten Welinder)Owen Taylor2005-01-043-2/+12
| | | | | | | Tue Jan 4 14:11:43 2005 Owen Taylor <otaylor@redhat.com> * pango/pango-attributes.c (pango_attr_list_splice): Fix doc sentences to parse. (#161812, Morten Welinder)
* Fix 1.7.1 => 1.8.0 versionOwen Taylor2005-01-041-1/+1
|
* Rename y1 parameters to y1_ to avoid conflicts with the math.h BesselOwen Taylor2005-01-044-5/+17
| | | | | | | | Tue Jan 4 14:05:13 2005 Owen Taylor <otaylor@redhat.com> * pango/pango-renderer.c (pango_renderer_draw_trapezoid): Rename y1 parameters to y1_ to avoid conflicts with the math.h Bessel function. (#161969)
* Fix problem where MEDIUM was getting grouped with SEMIBOLD rather thanOwen Taylor2004-12-315-3/+27
| | | | | | | | | | | | | | Fri Dec 31 10:20:55 2004 Owen Taylor <otaylor@redhat.com> * pango/pangofc-fontmap.c (pango_fc_convert_weight_to_pango): Fix problem where MEDIUM was getting grouped with SEMIBOLD rather than NORMAL. (http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=143832) Wed Dec 22 13:21:01 2004 Owen Taylor <otaylor@redhat.com> * pango/pango-script.c pango/pango-types.h: Fix a couple of documentation typos (#161647, Torsten Schoenfeld)
* pango/pangowin32-private.h Cache metrics by language, like the otherTor Lillqvist2004-12-184-47/+106
| | | | | | | | | 2004-12-18 Tor Lillqvist <tml@iki.fi> * pango/pangowin32-private.h * pango/pangowin32.c (pango_win32_font_get_metrics): Cache metrics by language, like the other backends do. Don't try to get the width of the 0..9 digit string if the font doesn't cover digits.
* Make the .la files depend on the corresponding .def files.Tor Lillqvist2004-12-174-3/+19
| | | | | | | | | 2004-12-17 Tor Lillqvist <tml@iki.fi> * pango/Makefile.am: Make the .la files depend on the corresponding .def files. * pango/pango.def: Add a couple of missing functions.
* Use FC_WEIGHT_MEDIUM, not FC_WEIGHT_NORMAL in old-fontconfig case.Owen Taylor2004-12-173-1/+13
| | | | | | | | Fri Dec 17 14:37:49 2004 Owen Taylor <otaylor@redhat.com> * pango/pangofc-fontmap.c (pango_fc_convert_weight_to_fc): Use FC_WEIGHT_MEDIUM, not FC_WEIGHT_NORMAL in old-fontconfig case. (#161568, Vincent Noel)
* Fix a couple of typos in the handling of tibetan forOwen Taylor2004-12-173-2/+12
| | | | | | | Fri Dec 17 12:44:10 2004 Owen Taylor <otaylor@redhat.com> * configure.in: Fix a couple of typos in the handling of tibetan for --with-included-modules. (#161501, Sebastien Bacher)
* Fix bug in computing logical_rect.x when layout->width == -1. (#161510,Owen Taylor2004-12-173-13/+44
| | | | | | | | Fri Dec 17 12:28:56 2004 Owen Taylor <otaylor@redhat.com> * pango/pango-layout.c (pango_layout_get_extents_internal): Fix bug in computing logical_rect.x when layout->width == -1. (#161510, Morten Welinder)
* Move aside ChangeLogOwen Taylor2004-12-163-970/+0
|
* Add short and long descriptions.pango-1-8-branchpointOwen Taylor2004-12-166-24/+155
| | | | | | Thu Dec 16 14:03:32 2004 Owen Taylor <otaylor@redhat.com> * docs/tmpl/pango-renderer.sgml: Add short and long descriptions.
* Add missed fileOwen Taylor2004-12-161-0/+205
|
* === Released 1.8.0 ===PANGO_1_8_0Owen Taylor2004-12-166-12/+56
| | | | | | | | | | | | Wed Dec 15 23:49:14 2004 Owen Taylor <otaylor@redhat.com> * === Released 1.8.0 === * configure.in: Version 1.8.0 * NEWS: Update. * README: Updates.
* Emergency fix for #151068... if uniscribe shaping comes up with no glyphs,Owen Taylor2004-12-164-1/+19
| | | | | | | | Wed Dec 15 23:13:57 2004 Owen Taylor <otaylor@redhat.com> * modules/basic/basic-win32.c (uniscribe_shape): Emergency fix for #151068... if uniscribe shaping comes up with no glyphs, fall back to non-uniscribe shaping.
* Add pixel sizes for fonts (#119081, patch from Chris Lahey)Owen Taylor2004-12-1611-36/+245
| | | | | | | | | | | | | | | | | | | | | Wed Dec 15 22:09:42 2004 Owen Taylor <otaylor@redhat.com> Add pixel sizes for fonts (#119081, patch from Chris Lahey) * pango/fonts.c pango/pango-font.h: Add pango_font_description_set_absolute_size(), pango_font_description_get_size_is_absolute() * pango/pango-attributes.[ch]: Add pango_attr_size_new_absolute(), change PANGO_ATTR_SIZE from PangoAttrInt to PangoAttrSize (preserves compat because first component is identical) * pango/pangowin32-fontmap.c (pango_win32_font_map_load_font): For absolute sizes, convert pixels to points, before calling pango_win32_font_new(). * pango/pangofc-fontmap.c pango/pangoft2.c pango/pangoxft-font.c: Handle absolute sizes.
* Recent additionsOwen Taylor2004-12-164-0/+50
|
* Force zero-width marks to glyph index 0 so they won't be drawn. (#145233,Owen Taylor2004-12-165-4/+46
| | | | | | | | Wed Dec 15 18:50:18 2004 Owen Taylor <otaylor@redhat.com> * modules/indic/indic-fc.c modules/indic/indic-ot.h: Force zero-width marks to glyph index 0 so they won't be drawn. (#145233, Aniruddha Shankar)
* Add simple tibetan module. (#148566, G Karunakar)Owen Taylor2004-12-168-9/+388
| | | | | | | Wed Dec 15 11:15:37 2004 Owen Taylor <otaylor@redhat.com> * configure.in modules/Makefile.am modules/tibetan/*: Add simple tibetan module. (#148566, G Karunakar)
* Split U+DDE as U+DD9, U+DDF. :Owen Taylor2004-12-154-1/+16
| | | | | | | | Wed Dec 15 08:38:52 2004 Owen Taylor <otaylor@redhat.com> * modules/indic/indic-ot-class-tables.c: Split U+DDE as U+DD9, U+DDF. : ----------------------------------------------------------------------
* Sinhala support (#153517, Anuradha Ratnaweera)Owen Taylor2004-12-157-4/+74
| | | | | | | | | | | | Tue Dec 14 20:44:53 2004 Owen Taylor <otaylor@redhat.com> Sinhala support (#153517, Anuradha Ratnaweera) * modules/indic/indic-ot.h modules/indic/indic-fc.c modules/indic/indic-ot-class-tables.c: Add tables for Sinhala. * modules/indic/indic-ot.c (indic_ot_reorder): Add handling of Virama for two-part dependent vowels.
* Copy layout->auto_dir. (#153547, Morten Welinder)Owen Taylor2004-12-144-0/+16
| | | | | | | Tue Dec 14 18:36:57 2004 Owen Taylor <otaylor@redhat.com> * pango/pango-layout.c (pango_layout_copy): Copy layout->auto_dir. (#153547, Morten Welinder)
* Add $(libm), needed for no-undefined platforms like AIX. (#160773, VincentOwen Taylor2004-12-144-1/+19
| | | | | | | | Tue Dec 14 18:32:46 2004 Owen Taylor <otaylor@redhat.com> * pango/Makefile.am (libpangoft2_1_0_la_LIBADD): Add $(libm), needed for no-undefined platforms like AIX. (#160773, Vincent Berger)
* Add PANGO_WEIGHT_SEMIBOLD. (#86957, Lars Clausen)Owen Taylor2004-12-146-7/+85
| | | | | | | | | | | | | | Tue Dec 14 18:08:36 2004 Owen Taylor <otaylor@redhat.com> * pango/pango-font.h: Add PANGO_WEIGHT_SEMIBOLD. (#86957, Lars Clausen) * pango/fonts.c: s/600/PANGO_WEIGHT_SEMIBOLD. * pango/pangofc-fontmap.c (pango_fc_convert_weight_to_fc) * pango/pangofc-fontmap.c (pango_fc_convert_weight_to_pango): Handle PANGO_WEIGHT_SEMIBOLD, use additional weights added in fontconfig-2.2.
* add XFT_CFLAGSDan Winship2004-12-144-0/+13
| | | | * examples/Makefile.am (INCLUDES): add XFT_CFLAGS
* Add the correct char classes for Unicode-4.0 characters U+A01, U+A03.Owen Taylor2004-12-144-1/+19
| | | | | | | | Tue Dec 14 17:27:14 2004 Owen Taylor <otaylor@redhat.com> * modules/indic/indic-ot-class-tables.c (guruCharClasses): Add the correct char classes for Unicode-4.0 characters U+A01, U+A03. (#158943, Sukhjinder Sidhu)
* Require gmodule-no-exportMatthias Clasen2004-12-144-20/+21
| | | | | | | | 2004-12-14 Matthias Clasen <mclasen@redhat.com> * pango.pc.in: Require gmodule-no-export * configure.in: Use gmodule-no-export-2.0.pc, require glib 2.5.7
* Set also underline and strikethrough position and thickness. (#161205)Tor Lillqvist2004-12-144-6/+28
| | | | | | | 2004-12-14 Tor Lillqvist <tml@iki.fi> * pango/pangowin32.c (pango_win32_font_get_metrics): Set also underline and strikethrough position and thickness. (#161205)
* Add. (#153548, Morten Welinder)Owen Taylor2004-12-137-9/+60
| | | | | | | | | | Mon Dec 13 14:44:40 2004 Owen Taylor <otaylor@redhat.com> * pango/pango-layout.[ch] pango/pango.def docs/pango-sections.txt: Add. (#153548, Morten Welinder) * pango/pango-layout.c (pango_layout_set_font_description): Guard against the same description being set back.
* pango/modules.c (read_modules) Use gstdio wrappers. (#16111, RobertTor Lillqvist2004-12-126-11/+33
| | | | | | | | | | | 2004-12-12 Tor Lillqvist <tml@iki.fi> * pango/modules.c (read_modules) * pango/pango-utils.c (read_alias_file,read_config_file): Use gstdio wrappers. (#16111, Robert Ă–gren) * pango/pangoft2-fontmap.c: Remove unneded includes of <dirent.h> and <windows.h>.
* Fix problem where the font would get unset after flushing at MAX_GLYPHS.Owen Taylor2004-12-104-4/+20
| | | | | | | | Fri Dec 10 16:30:40 2004 Owen Taylor <otaylor@redhat.com> * pango/pangoxft-render.c (draw_glyph): Fix problem where the font would get unset after flushing at MAX_GLYPHS. (#160978)
* === Released 1.7.0 ===PANGO_1_7_0Owen Taylor2004-12-024-0/+38
| | | | | | | | Thu Dec 2 15:47:44 2004 Owen Taylor <otaylor@redhat.com> * === Released 1.7.0 === * NEWS: Update.
* Ignore formatting characters when determining word boundaries (Part ofOwen Taylor2004-12-025-0/+25
| | | | | | | | Thu Dec 2 15:31:33 2004 Owen Taylor <otaylor@redhat.com> * pango/break.c (pango_default_break): Ignore formatting characters when determining word boundaries (Part of #97545, Behdad Esfahbod)
* Set the background color instead of setting underline twice.Matthias Clasen2004-11-304-1/+16
| | | | | | | 2004-11-30 Matthias Clasen <mclasen@redhat.com> * pango/pango-renderer.c (pango_renderer_default_prepare_run): Set the background color instead of setting underline twice.
* Add Lao support to Thai module. (#156781)Theppitak Karoonboonyanan2004-11-2810-256/+577
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* rm autom4te.cache, since it might interfere with differing autoconfManish Singh2004-11-254-0/+17
| | | | | | | Thu Nov 25 14:10:53 2004 Manish Singh <yosh@gimp.org> * autogen.sh: rm autom4te.cache, since it might interfere with differing autoconf versions.
* Add underline_color and strikethrough_color attribute types. (#147616,Owen Taylor2004-11-2311-84/+323
| | | | | | | | | | | | | | | | | | | | | | | Tue Nov 23 10:23:43 2004 Owen Taylor <otaylor@redhat.com> * pango/pango-attributes.[ch]: Add underline_color and strikethrough_color attribute types. (#147616, Morten Welinder) * pango/pango-markup.c docs/pango_markup.sgml: Add corresponding 'underline_color' and 'strikethrough_color' attributes for <span>. * pango/pango-renderer.c (pango_renderer_default_prepare_run): Implement underline and strikethrough colors. * pango/pango-renderer.c: Fix some bigs with updating underlines/strikethrough state. * pango/pango-renderer.c (get_total_matrix): Fix a const warning. * docs/pango-sections.txt: Update
* Remove stray 'x' character.Manish Singh2004-11-224-1/+13
| | | | | | Mon Nov 22 15:53:37 2004 Manish Singh <yosh@gimp.org> * modules/thai/Makefile.am: Remove stray 'x' character.
* Add bug referenceOwen Taylor2004-11-223-3/+6
|
* Set G_LOG_DOMAIN.Owen Taylor2004-11-2212-18/+42
| | | | | | | Mon Nov 22 18:30:14 2004 Owen Taylor <otaylor@redhat.com> * pango/opentype/Makefile.am pango/Makefile.am modules/*/Makefile.am: Set G_LOG_DOMAIN.
* Add Syriac module by Emil Soleyman-Zomalan. (#147779)Owen Taylor2004-11-2213-3/+913
| | | | | | | | | | | Mon Nov 22 15:21:11 2004 Owen Taylor <otaylor@redhat.com> * modules/syriac configure.in modules/Makefile.am modules/makefile.msc: Add Syriac module by Emil Soleyman-Zomalan. (#147779) * examples/Makefile.am examples/syriac.utf: Syriac example text.
* updatedHans Breuer2004-11-217-0/+68
| | | | | | | | | | 2004-11-21 Hans Breuer <hans@breuer.org> * pango/makefile.msc : updated * pango/pangowin32.[ch] pango/pangowin32.def : implement pango_win32_render_transformed() by using the transformation capabilities of GDI (not available on win9x)
* Turn off backspace-deletes-character behavior for Kana and Hangul. It'sOwen Taylor2004-11-214-1/+24
| | | | | | | | | Sun Nov 21 11:43:00 2004 Owen Taylor <otaylor@redhat.com> * pango/break.c: Turn off backspace-deletes-character behavior for Kana and Hangul. It's wrong for Kana, and for Hangul it's theoretically right but interacts badly with current input methods. (#155897, Leon Ho)
* Return n+1 logical attributes not n logical attributes (#155912)Owen Taylor2004-11-214-5/+22
| | | | | | | Sun Nov 21 11:40:03 2004 Owen Taylor <otaylor@redhat.com> * pango/pango-layout.c (pango_layout_get_log_attrs): Return n+1 logical attributes not n logical attributes (#155912)
* Don't just call pango_fontset_get_metrics() to implementOwen Taylor2004-11-214-9/+161
| | | | | | | | | Sun Nov 21 10:52:03 2004 Owen Taylor <otaylor@redhat.com> * pango/pango-context.c: Don't just call pango_fontset_get_metrics() to implement pango_context_get_metrics(), since that skips our normal font selection algorithm. Rather itemize the sample string and get the metrics from that. (#149438, Felipe Heidrich)
* Fix UTF8 => UTF-8 in warning and doc comment. (#153551, Morten Welinder)Owen Taylor2004-11-214-2/+17
| | | | | | | Sun Nov 21 10:46:34 2004 Owen Taylor <otaylor@redhat.com> * pango/pango-layout.c (pango_layout_set_text): Fix UTF8 => UTF-8 in warning and doc comment. (#153551, Morten Welinder)
* Fix double multiplication by PANGO_SCALE. (#157419, Matthias Clasen)Owen Taylor2004-11-215-6/+42
| | | | | | | | | | | | | | Sat Nov 20 23:50:40 2004 Owen Taylor <otaylor@redhat.com> * pango/pangoxft-font.c (get_glyph_extents_missing): Fix double multiplication by PANGO_SCALE. (#157419, Matthias Clasen) * pango/pangoxft-render.c (box_in_bounds): Fix sign typo. * pango/pangoxft-render.c (pango_xft_renderer_draw_glyphs): * pango/pangoxft-font.c (get_glyph_extents_missing): Adjust vertical positioning so that we get integral positioning of the box without a transform.
* Fix crash when renderer->matrix is NULL.Owen Taylor2004-11-204-1/+16
| | | | | | | Fri Nov 19 18:45:24 2004 Owen Taylor <otaylor@redhat.com> * pango/pango-renderer.c (pango_renderer_default_draw_error_underline): Fix crash when renderer->matrix is NULL.
* Remove color_set() virtual function ... it's not absolutely necessary forOwen Taylor2004-11-1917-76/+305
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fri Nov 19 17:44:33 2004 Owen Taylor <otaylor@redhat.com> * pango/pango-renderer.[ch]: Remove color_set() virtual function ... it's not absolutely necessary for chaining renderers, and it's not clear that chaining renderers is actually useful, anyways. * pango/pango-renderer.[ch] (pango_renderer_set_color): Constify color argument. * pango/pango-render.c: Fix various bugs. * pango/pango-attributes.[ch] (pango_attr_shape_new_with_data): Add the ability to create a shape attribute with user data. * pango/pango-renderer.[ch] (PangoRendererClass): Add a draw_shape virtual function, to draw content for PangoAttrShape. * pango/pangoxft-fontmap.c (pango_xft_shutdown_display): Add note to docs that XCloseDisplay() will automatically take care of releasing Pango's allocated resources for the display. * docs/Makefile.am (SCAN_OPTIONS): Add the appropriate --deprecated-guards option. * docs/tmpl/xft-fonts.sgml: Add long description. * docs/tmpl/x-fonts.sgml: Document as dead.