summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Document PANGO_UNDERLINE_ERROR as a 1.4 addition. (#156533, MortenMatthias Clasen2004-10-274-4/+20
| | | | | | | 2004-10-26 Matthias Clasen <mclasen@redhat.com> * docs/tmpl/text-attributes.sgml: Document PANGO_UNDERLINE_ERROR as a 1.4 addition. (#156533, Morten Welinder)
* Use guchar instead of gchar as argument type.Theppitak Karoonboonyanan2004-10-125-18/+32
| | | | | | | | | | 2004-10-12 Theppitak Karoonboonyanan <thep@linux.thai.net> * modules/thai/thai-shaper.h (thai_get_glyph_tis, thai_make_glyph_tis): Use guchar instead of gchar as argument type. * modules/thai/thai-fc.c (thai_get_glyph_tis, thai_make_glyph_tis): Make *_tis functions wrappers to *_uni functions.
* Explicitly handle dangling upper/lower marks by optionally usingTheppitak Karoonboonyanan2004-10-096-78/+170
| | | | | | | | | | | | | | | | | | 2004-10-09 Theppitak Karoonboonyanan <thep@linux.thai.net> Explicitly handle dangling upper/lower marks by optionally using dottedcircle as base, rather than requiring it. * modules/thai/thai-shaper.h: Explicitly declare make_glyph and get_glyph functions for 8-bit and Unicode chars as separate functions. * modules/thai/thai-shaper.c (get_adjusted_glyphs_list): Rename function calls to the new ones. Conditionally use dottedcircle glyph as base for dangling upper/lower marks if available; simply expand width to that of inkrect otherwise. * modules/thai/thai-fc.c: Implement those new functions declared in thai-shaper.h. Remove 0x25cc from tis620_2 glyph set.
* Return NULL if ruleset is empty, to indicate the lack of OT features.Theppitak Karoonboonyanan2004-10-085-22/+65
| | | | | | | | | | | 2004-10-08 Theppitak Karoonboonyanan <thep@linux.thai.net> * modules/thai/thai-ot.c (thai_ot_get_ruleset): Return NULL if ruleset is empty, to indicate the lack of OT features. * modules/thai/thai-fc.c (tis620_1): Fix the PUA glyph table, after actually checked with sample OSX (Jaguar) fonts. This actually turns on PUA-based shaping with Thai OSX fonts in Pango.
* Remove unused data for XTIS.Theppitak Karoonboonyanan2004-10-076-46/+32
| | | | | | | | | | | | 2004-10-07 Theppitak Karoonboonyanan <thep@linux.thai.net> * modules/thai/thai-shaper.c (groups, group1_map, group2_map): Remove unused data for XTIS. * modules/thai/thai-shaper.[ch] (enum ThaiFontSet, get_glyphs_list), modules/thai/thai-fc.c (thai_get_font_info, thai_make_glyph): Remove THAI_FONT_ISO10646 font set, as it's already covered by THAI_FONT_TIS.
* Use g_return_val_if_fail() instead of g_return_if_fail() since thisManish Singh2004-10-024-1/+19
| | | | | | | | Sat Oct 2 10:08:13 2004 Manish Singh <yosh@gimp.org> * modules/thai/thai-ot.c (thai_ot_get_ruleset): Use g_return_val_if_fail() instead of g_return_if_fail() since this function returns a value.
* Shut up cvsManish Singh2004-10-021-0/+1
|
* Make Thai module prefer OpenType tables, if available, to PUATheppitak Karoonboonyanan2004-10-026-77/+100
| | | | | | | | | | | | | | | 2004-10-02 Theppitak Karoonboonyanan <thep@linux.thai.net> Make Thai module prefer OpenType tables, if available, to PUA substitutions. (#153927) * modules/thai/thai-ot.[ch]: Merge get_gsub_ruleset() and get_gpos_ruleset() into an exported function thai_ot_get_ruleset(). Rearrange thai_ot_shape() to call it properly. * modules/thai/thai-fc.c: Try OT ruleset before PUA glyph sets.
* Add the new pango_renderer_* symbols.Tor Lillqvist2004-09-255-11/+42
| | | | | | | | | | | 2004-09-25 Tor Lillqvist <tml@iki.fi> * pango/pango.def: Add the new pango_renderer_* symbols. * modules/basic/basic-win32.c (basic_engine_covers, basic_engine_win32_class_init): Remove the implementation of the covers method. It was wrong anyway, and unnecessary. No need to override the default implementation. (#152997)
* Activate the renderer.Owen Taylor2004-09-244-3/+42
| | | | | | | | | | | | Fri Sep 24 15:05:02 2004 Owen Taylor <otaylor@redhat.com> * pango/pango-renderer.c (pango_renderer_draw_glyphs): Activate the renderer. * pango/pango-renderer.c (pango_renderer_get_color, pango_renderer_draw_rectangle, pango_renderer_draw_trapezoid, pango_renderer_draw_error_underline, pango_renderer_draw_glyph): Require the renderer to be active.
* Up version to 1.7.0.Owen Taylor2004-09-2422-1117/+3319
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fri Sep 24 12:59:22 2004 Owen Taylor <otaylor@redhat.com> * configure.in: Up version to 1.7.0. * pango/pango-renderer.[ch] pango/pango.h pango/Makefile.am: Add PangoRenderer, a base class that is subclassed to produce rendering drivers for different backends and purposes. * pango/pangoft2-private.h pango/pangoft2-render.c pango/pangoft2.c: Move rendering into pangoft2-render.c, use PangoRenderer. * pango/pangoft2-fontmap.c pango/pangoft2-private.h: Add _pango_ft2_font_map_get_renderer() to retrieve a singleton fontmap for the fontmap. * pango/pangoxft-render.[ch] pango/pangoxft.c pango/Makefile.am: Make Xft rendering use PangoRenderer, add publically visible, subclassable PangoXftRenderer. * pango/pangoxft-fontmap.c pango/pangoxft-private.h: Add _pango_xft_font_map_get_renderer() to retrieve a singleton fontmap for the fontmap. * examples/xftview.c examples/Makefile.am: Add a test program using the Xft backend. * docs/*: Update minimally for PangoRenderer.
* Move aside ChangeLog for new development versionpango-1-6-branchpointOwen Taylor2004-09-224-2454/+0
|
* Use get_glyph_extents_raw() when hinting is disabled as well as when weOwen Taylor2004-09-226-2/+43
| | | | | | | | | | | | Wed Sep 22 16:15:40 2004 Owen Taylor <otaylor@redhat.com> * pango/pangoxft-font.c (pango_xft_font_get_glyph_extents): Use get_glyph_extents_raw() when hinting is disabled as well as when we are transforming. (#152529, Vincent Noel) * pango/pangofc-font.c (pango_fc_font_get_raw_extents): Duplicate the fix for non-scalable fonts from get_face_metrics() here as well.
* Fix typo in docs. (#153390, Paolo Borelli)Owen Taylor2004-09-225-1/+21
| | | | | | | Wed Sep 22 15:57:30 2004 Owen Taylor <otaylor@redhat.com> * pango/pango-layout.c (pango_layout_get_ellipsize): Fix typo in docs. (#153390, Paolo Borelli)
* Cleanups from 'sparse', #149922, Kjartan MaraasOwen Taylor2004-09-2210-10/+66
| | | | | | | | | | | | | | | | Wed Sep 22 14:07:47 2004 Owen Taylor <otaylor@redhat.com> Cleanups from 'sparse', #149922, Kjartan Maraas * pango/pango-utils.c (read_config): () => (void) in definition. * pango/pangofc-fontmap.c (pango_fc_font_map_list_families): Initialize *n_families, not n_families. * pango/pangofc-fontmap.c pango/pangoft2.c opentype/ftxgdef.c opentype/ftxgpos.c opentype/ftxgsub.c: : Fix various 0/NULL confusion.
* Add nameOwen Taylor2004-09-204-4/+4
|
* Fix various bugs, make more robust. (#151689)Owen Taylor2004-09-205-27/+37
| | | | | | | Mon Sep 20 13:57:35 2004 Owen Taylor <otaylor@redhat.com> * modules/indic/mprefixups.c (indic_mprefixups_apply): Fix various bugs, make more robust. (#151689)
* Initialize ellipsis_is_cjk (#151901, Christian Persch)Owen Taylor2004-09-205-0/+21
| | | | | | | Mon Sep 13 11:06:47 2004 Owen Taylor <otaylor@redhat.com> * pango/ellipsize.c (init_state): Initialize ellipsis_is_cjk (#151901, Christian Persch)
* Except ideographic spaces from the !g_unichar_isgraph() test. (#145275,Owen Taylor2004-09-205-1/+37
| | | | | | | | Mon Sep 13 10:18:51 2004 Owen Taylor <otaylor@redhat.com> * pango/pango-context.c (itemize_state_process_run): Except ideographic spaces from the !g_unichar_isgraph() test. (#145275, Federic Zhang)
* Don't use face->ascender/descender for non-scalable fonts, since theyOwen Taylor2004-09-205-1/+30
| | | | | | | | | Mon Sep 20 12:17:37 2004 Owen Taylor <otaylor@redhat.com> * pango/pangofc-font.c (get_face_metrics): Don't use face->ascender/descender for non-scalable fonts, since they aren't set. (#Enrico Scholz, https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=129246)
* Add pango_context_set_matrix. (#152883, Ivan Wong)Tor Lillqvist2004-09-185-2/+21
| | | | | | | 2004-09-18 Tor Lillqvist <tml@iki.fi> * pango/pango.def: Add pango_context_set_matrix. (#152883, Ivan Wong)
* Ignore fonts in SYMBOL_CHARSET. They don't have any Unicode mapping table.Tor Lillqvist2004-09-155-0/+24
| | | | | | | | 2004-09-15 Tor Lillqvist <tml@iki.fi> * pango/pangowin32-fontmap.c (pango_win32_insert_font): Ignore fonts in SYMBOL_CHARSET. They don't have any Unicode mapping table. (#149643)
* Escape also backslashes. (#152607, Kazuki Iwamoto)Tor Lillqvist2004-09-155-1/+24
| | | | | | | 2004-09-15 Tor Lillqvist <tml@iki.fi> * pango/querymodules.c (string_needs_escape, escape_string): Escape also backslashes. (#152607, Kazuki Iwamoto)
* === Released 1.6.0 ===PANGO_1_6_0Owen Taylor2004-09-1415-14/+121
| | | | | | | | | | | | | | | | | Mon Sep 13 17:38:58 2004 Owen Taylor <otaylor@redhat.com> * === Released 1.6.0 === * configure.in: Update versions for 1.6.0 * NEWS: Update. * README: Minor tweak. * pango/fonts.c pango/pango-context.c pango/pango-types.h pango/pango-utils.c pango/pangoft2.c pango/pango-layout.c pango/opentype/pango-ot-buffer.c: Add a bunch of missing Since: 1.6.
* Fix reversed auto-hint option.Owen Taylor2004-09-135-1/+21
| | | | | | | Mon Aug 16 14:17:56 2004 Owen Taylor <otaylor@redhat.com> * examples/renderdemo.c (fc_substitute_func): Fix reversed auto-hint option.
* Add pango_ot_buffer_set_zero_width_marks, again.Tor Lillqvist2004-08-266-5/+47
| | | | | | | | | | | | 2004-08-26 Tor Lillqvist <tml@iki.fi> * pango/pangoft2.def: Add pango_ot_buffer_set_zero_width_marks, again. * pango/Makefile.am: Don't use -lm on Windows. (pangoinclude_HEADERS): Put them on one line, automake 1.8 (at least on Windows) otherwise drops the backslashes but still outputs separate lines.
* Added open-type support for Hebrew.Dov Grobgeld2004-08-264-0/+20
|
* Added open-type support for Hebrew.Dov Grobgeld2004-08-251-11/+184
| | | | * Added open-type support for Hebrew.
* Ignore synthetic vertical writing versions of East Asian fonts. (#145322,Tor Lillqvist2004-08-225-1/+29
| | | | | | | | 2004-08-22 Tor Lillqvist <tml@iki.fi> * pango/pangowin32-fontmap.c (pango_win32_inner_enum_proc): Ignore synthetic vertical writing versions of East Asian fonts. (#145322, John Ehresman)
* Add changelog entry for some stuff I didn't expect to commit last timeOwen Taylor2004-08-164-0/+20
|
* Sync with change to OTL_GlyphItemRec.Owen Taylor2004-08-168-7/+90
| | | | | | | | | Mon Aug 16 13:42:38 2004 Owen Taylor <otaylor@redhat.com> * pango/pango-ot.h (struct _PangoOTGlyph): Sync with change to OTL_GlyphItemRec. (https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=129982, Jatin Nansi)
* Fix bug where cluster was getting set to 0 for non-spacing marks ratherOwen Taylor2004-08-105-1/+29
| | | | | | | | | Tue Aug 10 11:51:10 2004 Owen Taylor <otaylor@redhat.com> * modules/arabic/arabic-fc.c (arabic_engine_shape): Fix bug where cluster was getting set to 0 for non-spacing marks rather than to the cluster of the base character. (#149126, Behdad Esfahbod)
* updatedHans Breuer2004-08-0611-16/+117
| | | | | | | | | | | | | | | | | | | 2004-08-06 Hans Breuer <hans@breuer.org> * pango/pango.def pango/pangoft2.def pango/pangowin32.def pango/makefile.msc : updated * pango/pangofc-decoder.c : static the pango_fc_decoder_*init implementations * pango/pangowin32.c : remove the duplicated, empty implementation of pango_win32_font_init(), also replace parent_class variable with pango_win32_font_parent_class as defined by G_DEFINE_TYPE * modules/basic/basic-win32.c : implement basic_engine_covers * pango/testfonts.c : iterate three common font names as was intended orginally and said in the comment for years
* Typedef PangoWin32FontMapClass.Tor Lillqvist2004-08-065-4/+34
| | | | | | | | | 2004-08-06 Tor Lillqvist <tml@iki.fi> * pango/pangowin32-fontmap.c: Typedef PangoWin32FontMapClass. (pango_win32_font_map_class_init): Match what G_DEFINE_TYPE generates.
* Add pango_ot_buffer_set_zero_width_marks.Tor Lillqvist2004-08-055-0/+17
| | | | | | 2004-08-05 Tor Lillqvist <tml@iki.fi> * pango/pangoft2.def: Add pango_ot_buffer_set_zero_width_marks.
* === Released 1.5.2 ==PANGO_1_5_2Owen Taylor2004-08-026-2/+58
| | | | | | | | | | Mon Aug 2 17:09:47 2004 Owen Taylor <otaylor@redhat.com> * === Released 1.5.2 == * configure.in: Version 1.5.2 * NEWS: Updates
* Add support for 'init' feature for Bengali. (#130966, Sayamindu Dasgupta)Owen Taylor2004-08-027-12/+48
| | | | | | | | Mon Aug 2 17:00:19 2004 Owen Taylor <otaylor@redhat.com> * modules/indic/indic-fc.c modules/indic/indic-ot.[ch]: Add support for 'init' feature for Bengali. (#130966, Sayamindu Dasgupta)
* Finish extending properties flags from FT_UShort => FT_UInt. (OTLBufferOwen Taylor2004-07-3010-12/+40
| | | | | | | | | Fri Jul 30 17:17:05 2004 Owen Taylor <otaylor@redhat.com> * pango/opentype/ftxgpos.[ch] pango/opentype/ftxgsub.[ch] pango/opentype/ftxopen.[ch]: Finish extending properties flags from FT_UShort => FT_UInt. (OTLBuffer was already using an FT_UInt)
* Improve handling of decomposed two-part vowels (#121882, Jungshik Shin)Owen Taylor2004-07-306-6/+63
| | | | | | | | | | | | | | Fri Jul 30 14:05:25 2004 Owen Taylor <otaylor@redhat.com> Improve handling of decomposed two-part vowels (#121882, Jungshik Shin) * modules/indic/indic-ot-class-tables.c (stateTable): allow a dependent vowel to be followed by another dependent vowel. * modules/indic/indic-ot.c (indic_ot_reorder): Handle multiple vowel matras.
* Suppress blwf on the first consonant in a syllable. (#118301, TaneemOwen Taylor2004-07-305-1/+28
| | | | | | | | Fri Jul 30 13:33:49 2004 Owen Taylor <otaylor@redhat.com> * modules/indic/indic-ot.c (indic_ot_reorder): Suppress blwf on the first consonant in a syllable. (#118301, Taneem Ahmed)