summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* === Released 1.12.3 ===PANGO_1_12_3Behdad Esfahbod2006-05-263-1/+27
| | | | | | | | | | 2006-05-26 Behdad Esfahbod <behdad@gnome.org> * === Released 1.12.3 === * configure.in: Version 1.12.3 * NEWS: Updated.
* Fix crash, don't dereference NULL.Tor Lillqvist2006-05-232-1/+5
| | | | | | 2006-05-23 Tor Lillqvist <tml@novell.com> * pango/fonts.c (find_field): Fix crash, don't dereference NULL.
* Call pango_font_description_set_absolute_size() instead ofTor Lillqvist2006-05-232-1/+11
| | | | | | | | | | | | 2006-05-23 Tor Lillqvist <tml@novell.com> * pango/pangowin32.c (pango_win32_font_describe): Call pango_font_description_set_absolute_size() instead of pango_font_description_set_size() as the PangoWin32Font::size is in pixels, not points. There has been several bugs opened around this issue, with more or less misleading guesses. See for instance #314114. Thanks to Behdad for finally noticing the real problem here.
* Bug 342525 – With PangoFc and PangoWin32, approximate digit width is notBehdad Esfahbod2006-05-223-6/+67
| | | | | | | | | | | | | | | | | | | 2006-05-22 Behdad Esfahbod <behdad@gnome.org> Bug 342525 – With PangoFc and PangoWin32, approximate digit width is not what it says * pango/pangocairo-win32font.c (max_glyph_width), (create_metrics_for_context): Use max digit width instead of average. Reverted the following changes: * pango/pangowin32.c (pango_win32_font_get_metrics): Calculate average digit width correctly, not as max of the digit widths. (#342525) Note that this code doesn't really get much used currently (instead the code in pangocairo-win32font.c is used), fixed only for completeness. (max_glpyh_with): Now unused, drop.
* Bug 339730 – Pango needlessly falls back away from a Type 1 font into aBehdad Esfahbod2006-05-222-1/+9
| | | | | | | | | 2006-05-22 Behdad Esfahbod <behdad@gnome.org> Bug 339730 – Pango needlessly falls back away from a Type 1 font into a TTF font * pango/fonts.c (find_field): Fix strncmp usage.
* Bug 341922 – pango should handle more characters as zero width PatchBehdad Esfahbod2006-05-222-4/+32
| | | | | | | | | | | | | | | | 2006-05-22 Behdad Esfahbod <behdad@gnome.org> Bug 341922 – pango should handle more characters as zero width Patch from Roozbeh Pournader * pango/pango-utils.c (pango_is_zero_width): Handle the following too: U+00AD SOFT HYPHEN U+034F COMBINING GRAPHEME JOINER U+2060 WORD JOINER U+2061 FUNCTION APPLICATION U+2062 INVISIBLE TIMES U+2063 INVISIBLE SEPARATOR
* Calculate average digit width correctly, not as max of the digit widths.Tor Lillqvist2006-05-212-25/+12
| | | | | | | | | | | 2006-05-22 Tor Lillqvist <tml@novell.com> * pango/pangowin32.c (pango_win32_font_get_metrics): Calculate average digit width correctly, not as max of the digit widths. (#342525) Note that this code doesn't really get much used currently (instead the code in pangocairo-win32font.c is used), fixed only for completeness. (max_glpyh_with): Now unused, drop.
* Update docs.Behdad Esfahbod2006-04-2927-167/+304
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-04-29 Behdad Esfahbod <behdad@gnome.org> * docs/tmpl/atsui-fonts.sgml: * docs/tmpl/coverage-maps.sgml: * docs/tmpl/engines.sgml: * docs/tmpl/fonts.sgml: * docs/tmpl/freetype-fonts.sgml: * docs/tmpl/glyphs.sgml: * docs/tmpl/layout.sgml: * docs/tmpl/main.sgml: * docs/tmpl/modules.sgml: * docs/tmpl/opentype.sgml: * docs/tmpl/pango-engine-lang.sgml: * docs/tmpl/pango-engine-shape.sgml: * docs/tmpl/pango-renderer.sgml: * docs/tmpl/pangocairo.sgml: * docs/tmpl/pangofc-decoder.sgml: * docs/tmpl/pangofc-font.sgml: * docs/tmpl/pangofc-fontmap.sgml: * docs/tmpl/scripts.sgml: * docs/tmpl/tab-stops.sgml: * docs/tmpl/text-attributes.sgml: * docs/tmpl/win32-fonts.sgml: * docs/tmpl/x-fonts.sgml: * docs/tmpl/xft-fonts.sgml: * examples/Makefile.am: * pango/modules.c: * pango/pango-coverage.c: Update docs.
* Bug 337594 – pango_glyph_string_extents_range possible bugBehdad Esfahbod2006-04-292-2/+9
| | | | | | | | | 2006-04-29 Behdad Esfahbod <behdad@gnome.org> Bug 337594 – pango_glyph_string_extents_range possible bug * pango/glyphstring.c (pango_glyph_string_extents_range): Add offset for first glyph too.
* Bug 307196 – Unhinted fonts are measured incorrectly and drawingBehdad Esfahbod2006-04-294-5/+60
| | | | | | | | | | | | | | | 2006-04-29 Behdad Esfahbod <behdad@gnome.org> Bug 307196 – Unhinted fonts are measured incorrectly and drawing problems occur as a result * pango/pangofc-font.c (get_face_metrics), (pango_fc_font_get_raw_extents): * pango/pangoxft-font.c (_pango_xft_font_new): Rollback previous change that forced metrics hinting always on. * pango/pangocairo-fcfont.c (_pango_cairo_fc_font_new): Set fcfont metrics hinting based on cairo font options.
* Don't use is_hinted. Metrics are always hinted now.Behdad Esfahbod2006-04-283-42/+14
| | | | | | | | | | | 2006-04-28 Behdad Esfahbod <behdad@gnome.org> * pango/pangofc-font.c (get_face_metrics), (pango_fc_font_get_raw_extents): Don't use is_hinted. Metrics are always hinted now. * pango/pangoxft-font.c (_pango_xft_font_new): Remove hack that forced is_hinted to TRUE.
* Remove CAIRO_CFLAGS from Cflags, as we Require cairo already.Behdad Esfahbod2006-04-283-2/+7
| | | | | | | 2006-04-27 Behdad Esfahbod <behdad@gnome.org> * pangocairo.pc.in, pangocairo-uninstalled.pc.in: Remove CAIRO_CFLAGS from Cflags, as we Require cairo already.
* Add more warning_history items and handle more font failures, to make sureBehdad Esfahbod2006-04-274-10/+69
| | | | | | | | | | | | | 2006-04-27 Behdad Esfahbod <behdad@gnome.org> * pango/pango-impl-utils.h: * pango/fonts.c (pango_font_get_glyph_extents), (pango_font_get_metrics), (pango_font_get_font_map): * pango/pangocairo-render.c (pango_cairo_show_glyph_string), (pango_cairo_glyph_string_path): Add more warning_history items and handle more font failures, to make sure that instead of crashing, gedit runs and draws empty boxes when pango.modules is not set properly.
* === Released 1.12.2 ===PANGO_1_12_2Behdad Esfahbod2006-04-273-2/+16
| | | | | | | | | | 2006-04-27 Behdad Esfahbod <behdad@gnome.org> * === Released 1.12.2 === * configure.in: Version 1.12.2 * NEWS: Updated.
* Fix loop variables. (coverity found bug.)Behdad Esfahbod2006-04-132-3/+8
| | | | | | | 2006-04-12 Behdad Esfahbod <behdad@gnome.org> * pango/opentype/ftxgpos.c: Fix loop variables. (coverity found bug.)
* Bug 337821 – invisible unicode chars are visible next to hebrew charsBehdad Esfahbod2006-04-093-52/+20
| | | | | | | | | | | | 2006-04-09 Behdad Esfahbod <behdad@gnome.org> Bug 337821 – invisible unicode chars are visible next to hebrew chars * modules/hebrew/hebrew-fc.c: Handle zero_width chars in fallback shaper too. * modules/hebrew/hebrew-shaper.c: Remove unused Unicode<->ISO8859 tables.
* Incorrect text rendering when in x86 64-bit precision modeBehdad Esfahbod2006-04-072-7/+22
| | | | | | | | | | 2006-04-07 Behdad Esfahbod <behdad@gnome.org> Incorrect text rendering when in x86 64-bit precision mode https://bugs.freedesktop.org/show_bug.cgi?id=5200 * pango/pangocairo-fcfont.c:Round metrics when converting to Pango units.
* === Released 1.12.1 ===PANGO_1_12_1Behdad Esfahbod2006-04-073-2/+19
| | | | | | | | | | 2006-04-07 Behdad Esfahbod <behdad@gnome.org> * === Released 1.12.1 === * configure.in: Version 1.12.1 * NEWS: Updated.
* Bug 337502 – Win32 build fix Patch from Alexander Larsson.Behdad Esfahbod2006-04-063-2/+13
| | | | | | | | | | | | 2006-04-06 Behdad Esfahbod <behdad@gnome.org> Bug 337502 – Win32 build fix Patch from Alexander Larsson. * pango/pangocairo-fontmap.c: Fix order of checking for freetype and win32 cairo backends to match the constructor. * pango/pangoft2.def: Add missing symbol
* Fix blurred underlines on Win32 (#332656):Tor Lillqvist2006-04-012-0/+34
| | | | | | | | | | | 2006-04-01 Tor Lillqvist <tml@novell.com> Fix blurred underlines on Win32 (#332656): * pango/pangocairo-win32font.c (quantize_position): New function, copy from pangofc-font.c. (create_metrics_for_context): Call quantize_position() for underline and strikethrough position and thickness.
* Part of Bug 336026 – Make fallback shaper in modules work Patch fromBehdad Esfahbod2006-03-312-0/+10
| | | | | | | | | | 2006-03-31 Behdad Esfahbod <behdad@gnome.org> Part of Bug 336026 – Make fallback shaper in modules work Patch from Denis Jacquerye. * pango/pango-ot-buffer.c (pango_ot_buffer_output): Call pango_fc_font_kern_glyphs if GPOS not applied.
* Bug 334802 – Using plain integer as NULL pointerBehdad Esfahbod2006-03-314-363/+11
| | | | | | | | | | | 2006-03-31 Behdad Esfahbod <behdad@gnome.org> Bug 334802 – Using plain integer as NULL pointer * pango/mapping.c (pango_glyph_string_x_to_index): Fix type assigining trailing instead of *trailing. * pango/pango-layout.c (pango_layout_line_new): Use NULL instead of 0.
* Create pango-1-12 stable branch.pango-1-12-branchpointBehdad Esfahbod2006-03-133-1739/+1753
| | | | | | | | | | 2006-03-13 Behdad Esfahbod <behdad@gnome.org> Create pango-1-12 stable branch. * ChangeLog.pre-1-12: Created. * Makefile.am: Updated to dist above.
* === Released 1.12.0 ===PANGO_1_12_0Behdad Esfahbod2006-03-135-17/+42
| | | | | | | | | | 2006-03-13 Behdad Esfahbod <behdad@gnome.org> * === Released 1.12.0 === * configure.in: Version 1.12.0 * NEWS, README: Updated.
* Fix compilation error with MSVC. (#333115)Tor Lillqvist2006-03-022-2/+9
| | | | | | | 2006-03-03 Tor Lillqvist <tml@novell.com> * pango/pangowin32-private.h (PING): Fix compilation error with MSVC. (#333115)
* Check the font pointer being NULL to avoid crashes for at least one classTor Lillqvist2006-03-012-1/+12
| | | | | | | | | | | | | 2006-03-01 Tor Lillqvist <tml@novell.com> * pango/pango-context.c (update_metrics_from_items): Check the font pointer being NULL to avoid crashes for at least one class of "bad" fonts (those without a Unicode cmap) on Win32. It would probably be better to prune out such fonts already in the enumeration phase. That would require opening (CreateFontIndirect) every font, though, to be able to check with GetFontData() whether there is a Unicode cmap. Don't know how much that would slow down the enumeration.
* pango/pangowin32-private.h (PING) pango/pangowin32.c Use g_print() insteadTor Lillqvist2006-02-284-70/+78
| | | | | | | | | | 2006-02-28 Tor Lillqvist <tml@novell.com> * pango/pangowin32-private.h (PING) * pango/pangowin32.c * modules/basic/basic-win32.c: Use g_print() instead of printf() for debugging output, to enable easy redirection using GLib facilities. (#332855)
* === Released 1.11.99 "Just In Case" ===PANGO_1_11_99Behdad Esfahbod2006-02-263-3/+20
| | | | | | | | | | 2006-02-26 Behdad Esfahbod <behdad@gnome.org> * === Released 1.11.99 "Just In Case" === * configure.in: Version 1.11.99 * NEWS: Updated.
* Replace each byte in invalid UTF-8 sequences with '?'. (bug #331995)Behdad Esfahbod2006-02-263-28/+44
| | | | | | | | | 2006-02-26 Behdad Esfahbod <behdad@gnome.org> * pango/pango-layout.c (pango_layout_set_text): Replace each byte in invalid UTF-8 sequences with '?'. (bug #331995) * examples/renderdemo.c: Don't exit on invalid UTF-8 input.
* return TRUE to glyphs rendered at all (instead of box). This may beHans Breuer2006-02-254-5/+19
| | | | | | | | | | | 2006-02-25 Hans Breuer <hans@breuer.org> * pango/pangocairo-win32font.c(pango_cairo_win32_font_install) : return TRUE to glyphs rendered at all (instead of box). This may be compiler specific (what to return w/o return) but fixes bug #332538 * pango/makefile.msc : updated * pango/pango.def : just some sorting
* Added. Parts of Genesis.Behdad Esfahbod2006-02-253-0/+20
| | | | | | | | 2006-02-25 Behdad Esfahbod <behdad@gnome.org> * examples/test-hebrew.txt: Added. Parts of Genesis. * examples/Makefile.am: Adjusted.
* Comment typo.Behdad Esfahbod2006-02-241-1/+1
|
* Bug 332167 – Void function returns value - breaks Solaris build ReportedBehdad Esfahbod2006-02-222-2/+10
| | | | | | | | | | 2006-02-22 Behdad Esfahbod <behdad@gnome.org> Bug 332167 – Void function returns value - breaks Solaris build Reported by Damien Carbery * pango/pangocairo-fcfont (pango_cairo_fc_font_unlock_face): Simply return.
* === Released 1.11.6 ===PANGO_1_11_6Behdad Esfahbod2006-02-213-1/+19
| | | | | | | | | | 2006-02-11 Behdad Esfahbod <behdad@gnome.org> * === Released 1.11.6 === * configure.in: Version 1.11.6 * NEWS: Updated.
* Bug 328206 – Update/remove some old filesBehdad Esfahbod2006-02-217-135/+15
| | | | | | | | | | | | | 2006-02-21 Behdad Esfahbod <behdad@gnome.org> Bug 328206 – Update/remove some old files * docs/TEXT/{coding-style,modules,questions,ligatures,western-design}: Removed. * HACKING: Added. Renamed from docs/TEXT/coding-style. * Makefile.am: Add HACKING.
* Bug 314239 – pangocairo crashes when font cannot be readBehdad Esfahbod2006-02-214-6/+46
| | | | | | | | | | 2006-02-21 Behdad Esfahbod <behdad@gnome.org> Bug 314239 – pangocairo crashes when font cannot be read * pango/pangocairo-fcfont.c, pango/pangocairo-font.c: Hack up to not crash if we cannot create cairo_scaled_font_t for PangoFont (font is not readable, removed, etc.)
* Bug 331723 – shapers should not crash on failuresBehdad Esfahbod2006-02-2110-10/+32
| | | | | | | | | | | | 2006-02-21 Behdad Esfahbod <behdad@gnome.org> Bug 331723 – shapers should not crash on failures * modules/*/*-fc.c: Return instead of g_return_if_fail when face == NULL. * pango/pango-engine.h (PangoEngineShape): Document that a shaper should return an empty glyph string on failure.
* Emphasize that input text should be valid UTF-8.Behdad Esfahbod2006-02-211-1/+1
|
* Change g_critical to g_warning. We already handle them gracefully.Behdad Esfahbod2006-02-2115-24/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | 2006-02-21 Behdad Esfahbod <behdad@gnome.org> * pango/fonts.c, pango/glyphstring.c, pango/pango-fontmap.c, pango/pango-ot-buffer.c, pango/pangocairo-font.c, pango/pangoft2.c, pango/pangoxft-font.c, pango/shape.c: Change g_critical to g_warning. We already handle them gracefully. Bug 331994 – --disable-debug removes G_DISABLE_CAST_CHECKS Patch from charlet@act-europe.fr * configure.in: Do not lose PANGO_DEBUG_FLAGS when reassigning. Bug 331995 – pango_layout_set_text optimization Patch from charlet@act-europe.fr * pango/pango-layout.c: Do not validate input text if asserts are disabled. Moreover, do not truncate input text on invalid sequence. Bug 331996 – avoid crashes in win32 font handling Patch from charlet@act-europe.fr * pango/pangofc-fontmap.c, pango/pangowin32-fontmap.c, pango/pangowin32.c: if (!font) return NULL in a number of places.
* Bug 329148 – pango_glyph_item_split: assertion `split_index > 0' failedBehdad Esfahbod2006-02-173-1/+7
| | | | | | | | 2006-02-17 Behdad Esfahbod <behdad@gnome.org> Bug 329148 – pango_glyph_item_split: assertion `split_index > 0' failed * pango/ellipsize.c (init_state): Do not mistakenly set start_offset = 0.
* Move PANGO_GLYPH_EMPTY, PANGO_GLYPH_UNKNOWN_FLAG, andBehdad Esfahbod2006-02-173-4/+14
| | | | | | | | | 2006-02-17 Behdad Esfahbod <behdad@gnome.org> * pango/pango-types.h, pango/pango-font.h: Move PANGO_GLYPH_EMPTY, PANGO_GLYPH_UNKNOWN_FLAG, and PANGO_GET_UNKNOWN_GLYPH from the former to the latter, and only define if PANGO_ENABLE_ENGINE or PANGO_ENABLE_BACKEND is set.
* Bug 331038 – pango-querymodules --help and --version Patch from AntoineBehdad Esfahbod2006-02-153-14/+82
| | | | | | | | | 2006-02-15 Behdad Esfahbod <behdad@gnome.org> Bug 331038 – pango-querymodules --help and --version Patch from Antoine Dopffer. * examples/renderdemo.c, pango/querymodules.c: Add --version option.
* Pass gnits instead of gnu to automake.Behdad Esfahbod2006-02-134-17/+25
| | | | | | | | | | 2006-02-13 Behdad Esfahbod <behdad@gnome.org> * configure.in: Pass gnits instead of gnu to automake. * AUTHORS: Contributors move to THANKS. * THANKS: New file.
* Remove AUTOMAKE_OPTIONS, as we do that in configure.in now.Behdad Esfahbod2006-02-132-4/+0
|
* Pass 1.6 and gnu options to automake.Behdad Esfahbod2006-02-1313-209/+57
| | | | | | | | | | | | | 2006-02-13 Behdad Esfahbod <behdad@gnome.org> * configure.in: Pass 1.6 and gnu options to automake. * modules/Makefile.am: Distribute Module.mk. * modules/Module.mk: Common bits for writing module Makefil.am's. * modules/*/Makefile.am: Include Module.mk instead of copying common bits.
* Document pango_layout_set_width as getting width in Pango units.Behdad Esfahbod2006-02-121-2/+2
|
* Bug 330795 – pango_renderer_draw_glyph segfaults when trying to call theBehdad Esfahbod2006-02-112-4/+15
| | | | | | | | | | | 2006-02-11 Behdad Esfahbod <behdad@gnome.org> Bug 330795 – pango_renderer_draw_glyph segfaults when trying to call the class vfunc Opened by Torsten Schoenfeld * pango/pango-renderer.c (pango_renderer_draw_trapezoid, pango_renderer_draw_glyph): Bail if method is not implemented.
* Oops. Fix typo in docs.PANGO_1_11_5Behdad Esfahbod2006-02-111-1/+1
|
* Docs rebuilt.Behdad Esfahbod2006-02-111-0/+9
|
* === Released 1.11.5 ===Behdad Esfahbod2006-02-113-1/+17
| | | | | | | | | | 2006-02-11 Behdad Esfahbod <behdad@gnome.org> * === Released 1.11.5 === * configure.in: Version 1.11.5 * NEWS: Updated.