| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
2006-05-26 Behdad Esfahbod <behdad@gnome.org>
* === Released 1.12.3 ===
* configure.in: Version 1.12.3
* NEWS: Updated.
|
|
|
|
|
|
| |
2006-05-23 Tor Lillqvist <tml@novell.com>
* pango/fonts.c (find_field): Fix crash, don't dereference NULL.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
| |
2006-04-27 Behdad Esfahbod <behdad@gnome.org>
* === Released 1.12.2 ===
* configure.in: Version 1.12.2
* NEWS: Updated.
|
|
|
|
|
|
|
| |
2006-04-12 Behdad Esfahbod <behdad@gnome.org>
* pango/opentype/ftxgpos.c: Fix loop variables. (coverity
found bug.)
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
| |
2006-04-07 Behdad Esfahbod <behdad@gnome.org>
* === Released 1.12.1 ===
* configure.in: Version 1.12.1
* NEWS: Updated.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
| |
2006-03-13 Behdad Esfahbod <behdad@gnome.org>
* === Released 1.12.0 ===
* configure.in: Version 1.12.0
* NEWS, README: Updated.
|
|
|
|
|
|
|
| |
2006-03-03 Tor Lillqvist <tml@novell.com>
* pango/pangowin32-private.h (PING): Fix compilation error with
MSVC. (#333115)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
|
|
| |
2006-02-26 Behdad Esfahbod <behdad@gnome.org>
* === Released 1.11.99 "Just In Case" ===
* configure.in: Version 1.11.99
* NEWS: Updated.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
2006-02-25 Behdad Esfahbod <behdad@gnome.org>
* examples/test-hebrew.txt: Added. Parts of Genesis.
* examples/Makefile.am: Adjusted.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
| |
2006-02-11 Behdad Esfahbod <behdad@gnome.org>
* === Released 1.11.6 ===
* configure.in: Version 1.11.6
* NEWS: Updated.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
| |
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.)
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
2006-02-11 Behdad Esfahbod <behdad@gnome.org>
* === Released 1.11.5 ===
* configure.in: Version 1.11.5
* NEWS: Updated.
|