Behdad Esfahbod [Wed, 2 May 2007 05:12:21 +0000 (05:12 +0000)]
Add a "wrapped" argument to pango_layout_line_postprocess(). Going to use
2007-05-02 Behdad Esfahbod <behdad@gnome.org>
* pango/pango-layout.c (process_line),
(pango_layout_line_postprocess): Add a "wrapped" argument to
pango_layout_line_postprocess(). Going to use it for eg whether we
should justify the line.
svn path=/trunk/; revision=2246
Behdad Esfahbod [Wed, 2 May 2007 05:08:23 +0000 (05:08 +0000)]
Set is_wrapped to true on BREAK_EMPTY_FIT too.
2007-05-02 Behdad Esfahbod <behdad@gnome.org>
* pango/pango-layout.c (process_line): Set is_wrapped to true on
BREAK_EMPTY_FIT too.
svn path=/trunk/; revision=2245
Behdad Esfahbod [Wed, 2 May 2007 04:31:28 +0000 (04:31 +0000)]
Minor
svn path=/trunk/; revision=2244
Behdad Esfahbod [Wed, 2 May 2007 04:30:22 +0000 (04:30 +0000)]
Remove stale prototype of _pango_layout_iter_get_line_readonly().
2007-05-02 Behdad Esfahbod <behdad@gnome.org>
* pango/pango-layout-private.h: Remove stale prototype of
_pango_layout_iter_get_line_readonly().
svn path=/trunk/; revision=2243
Behdad Esfahbod [Wed, 2 May 2007 02:16:38 +0000 (02:16 +0000)]
Add note about how we should not be using pango_break() here.
2007-05-01 Behdad Esfahbod <behdad@gnome.org>
* pango/pango-layout.c (get_items_log_attrs): Add note about
how we should not be using pango_break() here.
svn path=/trunk/; revision=2242
Mathias Hasselmann [Tue, 1 May 2007 23:05:49 +0000 (23:05 +0000)]
Add option for testing text alignment.
2007-04-28 Mathias Hasselmann <mathias.hasselmann@gmx.de>
* pango-view/viewer-render.c (make_layout), (parse_alignment),
(parse_options): Add option for testing text alignment.
svn path=/trunk/; revision=2241
Behdad Esfahbod [Tue, 1 May 2007 02:32:12 +0000 (02:32 +0000)]
Link freetype to harfbuzz-dump, for those systems that don't track
2007-04-30 Behdad Esfahbod <behdad@gnome.org>
* pango/opentype/Makefile.am: Link freetype to harfbuzz-dump, for
those systems that don't track dependencies automatically.
svn path=/trunk/; revision=2240
Behdad Esfahbod [Mon, 30 Apr 2007 23:45:56 +0000 (23:45 +0000)]
Add PANGO_UNITS_ROUND to docs.
2007-04-30 Behdad Esfahbod <behdad@gnome.org>
* docs/pango-sections.txt:
* docs/tmpl/glyphs.sgml:
Add PANGO_UNITS_ROUND to docs.
svn path=/trunk/; revision=2239
Behdad Esfahbod [Mon, 30 Apr 2007 23:09:47 +0000 (23:09 +0000)]
Move PANGO_UNITS_ROUND here... ...from here.
2007-04-30 Behdad Esfahbod <behdad@gnome.org>
* pango/pango-types.h: Move PANGO_UNITS_ROUND here...
* pango/pangofc-private.h: ...from here.
* pango/pango-gravity.c: Document that pango_gravity_to_rotation()
returns angle in radians but pango_matrix_rotate() takes degrees.
* pango/pango-layout.c (pango_layout_run_get_extents):
* pango/pango-renderer.c (pango_renderer_draw_layout_line):
Retain metrics hinting when centering baseline (used for Latin, etc
in vertical mode).
* pango/pangocairo-fcfont.c (pango_cairo_fc_font_get_metrics),
(pango_cairo_fc_font_glyph_extents_cache_init): Respect metrics
hinting setting when moving glyphs around for vertical writing.
* pango/pangocairo-fcfont.c (_pango_cairo_fc_font_new): Apply
the gravity rotation before the pattern's matrix, such that
vertical text gets correct italic direction.
* pango/pangocairo-font.c (_pango_cairo_font_get_hex_box_info):
Make hexbox font inherit most properties from the current font.
That is, bold hexbox digits for a bold font, etc.
svn path=/trunk/; revision=2238
Tor Lillqvist [Mon, 30 Apr 2007 05:54:29 +0000 (05:54 +0000)]
A font name in encoding UCS4_ENCODING_ID actually is in UTF-16, not UCS-4.
2007-04-30 Tor Lillqvist <tml@novell.com>
* pango/pangowin32-fontmap.c (get_family_nameA, get_family_nameW):
A font name in encoding UCS4_ENCODING_ID actually is in UTF-16,
not UCS-4. (#429397, Akihiro Okamura)
svn path=/trunk/; revision=2237
Richard Hult [Fri, 27 Apr 2007 07:58:54 +0000 (07:58 +0000)]
Correct the signature by making PangoAnalysis const, fixes build warning.
2007-04-27 Richard Hult <richard@imendio.com>
* modules/basic/basic-atsui.c (basic_engine_shape): Correct the
signature by making PangoAnalysis const, fixes build warning.
svn path=/trunk/; revision=2236
Behdad Esfahbod [Fri, 27 Apr 2007 07:49:07 +0000 (07:49 +0000)]
Add comment to Richard's commit.
svn path=/trunk/; revision=2235
Richard Hult [Fri, 27 Apr 2007 07:46:43 +0000 (07:46 +0000)]
Use maxAdvanceWidth instead of avgAdvanceWidth, the latter is 0 for many
2007-04-27 Richard Hult <richard@imendio.com>
* pango/pangocairo-atsuifont.c (pango_cairo_atsui_font_get_metrics):
Use maxAdvanceWidth instead of avgAdvanceWidth, the latter is 0 for
many fonts. This is a temporary solution, see bug #433805 for details.
svn path=/trunk/; revision=2234
Behdad Esfahbod [Fri, 27 Apr 2007 06:58:57 +0000 (06:58 +0000)]
=== Released 1.16.4 ===
2007-04-27 Behdad Esfahbod <behdad@gnome.org>
* === Released 1.16.4 ===
* configure.in: Version 1.16.4
* NEWS: Updated.
svn path=/trunk/; revision=2232
Behdad Esfahbod [Fri, 27 Apr 2007 06:47:07 +0000 (06:47 +0000)]
Add bug reference.
svn path=/trunk/; revision=2231
Behdad Esfahbod [Fri, 27 Apr 2007 06:45:46 +0000 (06:45 +0000)]
Add --disable-doc-cross-references.
2007-04-27 Behdad Esfahbod <behdad@gnome.org>
* configure.in: Add --disable-doc-cross-references.
* docs/Makefile.am: Make sure --disable-doc-cross-references is
set in order to make dist.
* Makefile.am: Add --disable-doc-cross-references to
DISTCHECK_CONFIGURE_FLAGS.
svn path=/trunk/; revision=2230
Behdad Esfahbod [Mon, 23 Apr 2007 22:25:59 +0000 (22:25 +0000)]
=== Released 1.16.3 ===
2007-04-23 Behdad Esfahbod <behdad@gnome.org>
* === Released 1.16.3 ===
* configure.in: Version 1.16.3
* NEWS: Updated.
svn path=/trunk/; revision=2228
Behdad Esfahbod [Wed, 18 Apr 2007 20:16:56 +0000 (20:16 +0000)]
Improved hexbox position.
2007-04-18 Behdad Esfahbod <behdad@gnome.org>
* pango/pangocairo-font.c (_pango_cairo_font_get_hex_box_info):
Improved hexbox position.
svn path=/trunk/; revision=2227
Behdad Esfahbod [Thu, 12 Apr 2007 23:55:33 +0000 (23:55 +0000)]
Quantize kerning adjustment, otherwise all the metrics hinting effort will
2007-04-12 Behdad Esfahbod <behdad@gnome.org>
* pango/pango-ot-buffer.c (apply_gpos_ltr), (apply_gpos_rtl),
(pango_ot_buffer_output):
* pango/pango-types.h:
* pango/pangofc-font.c (pango_fc_font_kern_glyphs):
* pango/pangofc-private.h:
Quantize kerning adjustment, otherwise all the metrics hinting
effort will be ruined by a non-whole-pixel kerning value.
In the future we want to take lsb_delta and rsb_delta into the
game before quantizing the adjustment here, but we don't have
those values handy right now.
svn path=/trunk/; revision=2225
Behdad Esfahbod [Mon, 9 Apr 2007 17:46:42 +0000 (17:46 +0000)]
=== Released 1.16.2 ===
2007-04-09 Behdad Esfahbod <behdad@gnome.org>
* === Released 1.16.2 ===
* configure.in: Version 1.16.2
* NEWS: Updated.
svn path=/trunk/; revision=2223
Behdad Esfahbod [Tue, 3 Apr 2007 22:45:29 +0000 (22:45 +0000)]
Copy fixes from harfbuzz stable branch. Includes a leak fix, a kerning
2007-04-03 Behdad Esfahbod <behdad@gnome.org>
* pango/opentype/harfbuzz-gdef.c (_HB_GDEF_Check_Property):
* pango/opentype/harfbuzz-gpos.c (HB_Done_GPOS_Table),
(Lookup_PairPos):
* pango/opentype/harfbuzz-open.c (Get_Class1):
Copy fixes from harfbuzz stable branch. Includes a leak fix,
a kerning fix, and an array out-of-bound access fix.
svn path=/trunk/; revision=2221
Behdad Esfahbod [Sun, 1 Apr 2007 17:38:31 +0000 (17:38 +0000)]
Add EXEEXT around to make it build on OS/2 Patch from Dave Yeo.
2007-04-01 Behdad Esfahbod <behdad@gnome.org>
* modules/Makefile.am: Add EXEEXT around to make it build on OS/2
Patch from Dave Yeo.
svn path=/trunk/; revision=2220
Behdad Esfahbod [Sun, 1 Apr 2007 17:37:51 +0000 (17:37 +0000)]
Update templates
svn path=/trunk/; revision=2219
Richard Hult [Sun, 18 Mar 2007 14:07:42 +0000 (14:07 +0000)]
Bug 419262 - Don't create coverage every time it's asked for
2007-03-18 Richard Hult <richard@imendio.com>
Bug 419262 - Don't create coverage every time it's asked for
* pango/pangoatsui.c: (pango_atsui_font_get_coverage):
* pango/pangoatsui-fontmap.c: Pass around a PangoATSUIFace instead of
the postscript name string. Move the coverage creation from the font to
the face, and get the coverage from the face instead of creating it
every time.
* pango/pangocairo-atsui.h:
* pango/pangocairo-atsuifont.c: (_pango_cairo_atsui_font_new): Use the
face instead of the postscript name.
* pango/pangoatsui-private.h:
* pango/pangocairo-atsuifontmap.c: Add getters for the postscript name
and coverage for the face.
svn path=/trunk/; revision=2218
Tor Lillqvist [Wed, 14 Mar 2007 07:13:23 +0000 (07:13 +0000)]
Add missing declaration of pango_win32_family_get_type(). (#417946, Ivan
2007-03-14 Tor Lillqvist <tml@novell.com>
* pango/pangowin32-fontmap.c: Add missing declaration of
pango_win32_family_get_type(). (#417946, Ivan Wong)
svn path=/trunk/; revision=2217
Behdad Esfahbod [Mon, 12 Mar 2007 22:45:09 +0000 (22:45 +0000)]
Add new symbols to docs.
2007-03-12 Behdad Esfahbod <behdad@gnome.org>
* docs/pango-sections.txt:
* pango/pangowin32-fontmap.c:
* pango/pangowin32.c:
Add new symbols to docs.
svn path=/trunk/; revision=2216
Behdad Esfahbod [Mon, 12 Mar 2007 22:02:54 +0000 (22:02 +0000)]
=== Released 1.16.1 ===
2007-03-12 Behdad Esfahbod <behdad@gnome.org>
* === Released 1.16.1 ===
* configure.in: Version 1.16.1
* NEWS: Updated.
* README: Updated.
svn path=/trunk/; revision=2214
Tor Lillqvist [Sat, 10 Mar 2007 19:29:50 +0000 (19:29 +0000)]
pango/pangowin32-private.h pango/pangowin32.c pango/pangowin32-fontcache.c
2007-03-10 Tor Lillqvist <tml@novell.com>
* pango/pangowin32-private.h
* pango/pangowin32.c
* pango/pangowin32-fontcache.c
* pango/pangowin32-fontmap.c
* pango/pangocairo-win32font.c
* pango/pangowin32.def: Move functions defined in one file and
used in another to the file where used, make them static, and drop
from pangowin32-private.h. Prefix all private non-static functions
with underscore. Also functions used only by the pangocairo DLL
are considered private. (#120195)
svn path=/trunk/; revision=2213
Tor Lillqvist [Sat, 10 Mar 2007 17:56:11 +0000 (17:56 +0000)]
Uniscribe is optional only at run-time.
2007-03-10 Tor Lillqvist <tml@novell.com>
* README: Uniscribe is optional only at run-time.
svn path=/trunk/; revision=2212
Tor Lillqvist [Sat, 10 Mar 2007 17:54:49 +0000 (17:54 +0000)]
Uniscribe is not optional.
2007-03-10 Tor Lillqvist <tml@novell.com>
* README: Uniscribe is not optional.
svn path=/trunk/; revision=2211
Tor Lillqvist [Wed, 7 Mar 2007 22:11:29 +0000 (22:11 +0000)]
An ISO639 code is always in ASCII, no need to call the wide-character
2007-03-07 Tor Lillqvist <tml@novell.com>
* modules/basic/basic-win32.c: An ISO639 code is always
in ASCII, no need to call the wide-character version of
GetLocaleInfo().
svn path=/trunk/; revision=2210
Tor Lillqvist [Wed, 7 Mar 2007 22:05:13 +0000 (22:05 +0000)]
configure.in modules/basic/Makefile.am Make building with Uniscribe (using
2007-03-07 Tor Lillqvist <tml@novell.com>
* configure.in
* modules/basic/Makefile.am
* modules/basic/basic-win32.c: Make building with Uniscribe (using
the <usp10.h> header) mandatory. Mingw's w32api headers do include
usp10.h now so one doesn't need to copy it from the Platform SDK
any longer. At runtime using Uniscribe is still optional,
depending on whether usp10.dll is found or not. I think it
isn't necessarily present on Windows 2000 machines, for instance.
* modules/basic/basic-win32.c (lang_name): Instead of a hardcoded
case statement, use GetLocaleInfo() to get the language ISO639
code.
(charset_name): Remove, unused.
(itemize_shape_and_place, uniscribe_shape, basic_engine_shape):
Constify the PangoAnalysis parameter to match the prototype of
PangoEngineShapeClass::script_shape().
svn path=/trunk/; revision=2209
Behdad Esfahbod [Sat, 3 Mar 2007 20:21:09 +0000 (20:21 +0000)]
Bug 414297 – Fails to build with --enable-static --with-included-modules
2007-03-03 Behdad Esfahbod <behdad@gnome.org>
Bug 414297 – Fails to build with --enable-static
--with-included-modules in thai lang module
Patch from Loïc Minier
* modules/thai/Makefile.am: Include LIBTHAI_LIBS in static module
too.
svn path=/trunk/; revision=2207
Behdad Esfahbod [Tue, 27 Feb 2007 17:21:10 +0000 (17:21 +0000)]
Bug 412654 – SED variable undefined in the `libtool --config' output
2007-02-27 Behdad Esfahbod <behdad@gnome.org>
Bug 412654 – SED variable undefined in the `libtool --config' output
used by configure
* configure.in: export SED before calling libtool
svn path=/trunk/; revision=2206
Tor Lillqvist [Tue, 27 Feb 2007 09:08:07 +0000 (09:08 +0000)]
This change was supposed to go in the trunk before 1.16.0, but it didn't
2007-02-26 Tor Lillqvist <tml@novell.com>
This change was supposed to go in the trunk before 1.16.0, but it
didn't quite get there in time. So, to have a clear cut for this
somewhat fundamental change in underlying workings (although there
should be no user-visible changes), I will build and distribute
Win32 binaries only starting from 1.16.1.
Use wide character API for fonts on Windows. Rename functions and
variables that deal with LOGFONTW structs to emphasize
this. (#407315)
* pango/pangowin32.c
* pango/pangowin32-fontcache.c
* pango/pangowin32-fontmap.c: Use LOGFONTW all over the place
instead of LOGFONT, and adapt code accordingly. Use wide character
Win32 API.
* pango/pangowin32.c (pango_win32_font_neww): Renamed from
pango_win32_font_new(), as it now takes a LOGFONTW pointer. This
is a private function and can be renamed though it is exported as
it is used from the pangocairo DLL.
(pango_win32_font_logfont): Mention explicitly in doc comment that
it returns a LOGFONTA, and recommend to use
pango_win32_font_logfontw() instead.
(pango_win32_font_logfontw): New function.
* pango/pangowin32-fontcache.c
(pango_win32_font_cache_load): Must keep this function that takes
a LOGFONTA pointer as it is declared in the public header.
(pango_win32_font_cache_loadw): New public function that takes a
LOGFONTW pointer.
* pango/pangowin32-fontmap.c
(pango_win32_font_description_from_logfont): Mention explicitly in
the doc comment that it takes a LOGFONTA pointer.
(pango_win32_font_description_from_logfontw): New public function
that takes a LOGFONTW pointer.
(pango_win32_make_matching_logfontw): Rename from
pango_win32_make_matching_logfont() to emphasize it takes a
LOGFONTW pointer.
* pango/pangowin32.h: Declare new public functions.
* pango/pangowin32-private.h: Declare new private functions, drop
removed ones.
* pango/pangocairo-win32font.c (_pango_cairo_win32_font_new):
Simplify now that we call pango_win32_make_matching_logfontw().
* pango/pangowin32.def: Add new functions, rename internal
functions that now use LOGFONTW.
2007-02-26 Tor Lillqvist <tml@novell.com>
Fix brokenness in the code that tries to ensure that all fonts
also have italic variants. Now the code hopefully actually does
what it was supposed to. (Which is not necessarily the right thing
to do, though. It can be argued that we should not list
synthesized italic font styles, we should just silently generate
them if asked for. We don't want synthesized italic (or synthesized
bold) styles showing up in the font selector. They don't show up
when using a fontconfig-based Pango backend either.) (#110521)
* pango/pangowin32-fontmap.c
(logfont_nosize_hash, logfont_nosize_equal): Don't use the
lfItalic field as such, just its nonzeroness. When being
enumerated, italic fonts show up with lfItalic=255, but our code
looks up italic versions of fonts by passing a key LOGFONT with
lfItalic=1.
(first_match): Not needed any more, see below.
(ensure_italic): This is now called on the entries in the
size_infos hash table, not families. The code used to randomly
look for the first matching font in size_infoswith the family name
being handled.
(pango_win32_font_map_init): Iterate through the size_infos hash
table with ensure_italic, not through the families table.
* pango/pangowin32-fontcache.c
(logfontw_hash, logfontw_equal): Look at just nonzeroness of
lfItalic here, too.
svn path=/trunk/; revision=2204
Behdad Esfahbod [Mon, 26 Feb 2007 19:17:30 +0000 (19:17 +0000)]
=== Released 1.16.0 ===
2007-02-26 Behdad Esfahbod <behdad@gnome.org>
* === Released 1.16.0 ===
* configure.in: Version 1.16.0
* configure.in: Require cairo 1.2.6 because of its important fixes.
* NEWS: Updated.
* README: Updated.
svn path=/trunk/; revision=2202
Stefan Kost [Tue, 20 Feb 2007 20:49:22 +0000 (20:49 +0000)]
Xrefs for glib and cairo in the docs. Add object hierarchy to the docs.
* configure.in:
* docs/Makefile.am:
* docs/pango-docs.sgml:
svn path=/trunk/; revision=2201
Behdad Esfahbod [Sun, 18 Feb 2007 17:11:39 +0000 (17:11 +0000)]
Bug 409212 – Missing link flag prevents build with "-z defs" ld flags
2007-02-18 Behdad Esfahbod <behdad@gnome.org>
Bug 409212 – Missing link flag prevents build with "-z defs" ld flags
Patch from Loïc Minier
* configure.in: Add xrender to pkg-config requirements for pangoxft.
svn path=/trunk/; revision=2200
Behdad Esfahbod [Sun, 18 Feb 2007 17:09:21 +0000 (17:09 +0000)]
Bug 409212 – Missing link flag prevents build with "-z defs" ld flags
2007-02-18 Behdad Esfahbod <behdad@gnome.org>
Bug 409212 – Missing link flag prevents build with "-z defs" ld flags
Patch from Loïc Minier
* pango/Makefile.am: Add $(X_LIBS) to pangoxft_LDADD.
svn path=/trunk/; revision=2199
Behdad Esfahbod [Sat, 17 Feb 2007 00:18:14 +0000 (00:18 +0000)]
Bug 355987 – choosing font/shaper for spaces breaks Arabic runs on
2007-02-16 Behdad Esfahbod <behdad@gnome.org>
Bug 355987 – choosing font/shaper for spaces breaks Arabic runs on
spaces
* pango/pango-context.c (itemize_state_process_run): Don't choose
shaper for ASCII space char.
svn path=/trunk/; revision=2198
Behdad Esfahbod [Fri, 16 Feb 2007 23:52:29 +0000 (23:52 +0000)]
Bug 407087 – autogen.sh wants automake-1.7
2007-02-16 Behdad Esfahbod <behdad@gnome.org>
Bug 407087 – autogen.sh wants automake-1.7
* autogen.sh: Require automake 1.9, like configure.in does.
svn path=/trunk/; revision=2197
Behdad Esfahbod [Tue, 13 Feb 2007 04:43:48 +0000 (04:43 +0000)]
=== Released 1.15.6 ===
2007-02-12 Behdad Esfahbod <behdad@gnome.org>
* === Released 1.15.6 ===
* configure.in: Version 1.15.6
* NEWS: Updated.
svn path=/trunk/; revision=2195
Owen Taylor [Tue, 13 Feb 2007 00:56:25 +0000 (00:56 +0000)]
If something has gone wrong in setting the family of the font description,
2007-02-13 Owen Taylor <otaylor@redhat.com>
* pango/pangowin32-fontmap.c (pango_win32_insert_font): If
something has gone wrong in setting the family of the font
description, don't bother with the font as it isn't usable and
will cause crashes later anyway. (#404295)
svn path=/trunk/; revision=2194
Tor Lillqvist [Wed, 31 Jan 2007 00:41:43 +0000 (00:41 +0000)]
Use pangocairo.def only on Win32, not Cygwin. (#402373, "paul")
2007-01-31 Tor Lillqvist <tml@novell.com>
* pango/Makefile.am: Use pangocairo.def only on Win32, not
Cygwin. (#402373, "paul")
svn path=/trunk/; revision=2192
Tor Lillqvist [Tue, 30 Jan 2007 22:17:36 +0000 (22:17 +0000)]
Include also the COPYING file in the zipfiles.
2007-01-30 Tor Lillqvist <tml@novell.com>
* pango-zip.sh.in: Include also the COPYING file in the zipfiles.
svn path=/trunk/; revision=2189
Tor Lillqvist [Tue, 30 Jan 2007 20:25:58 +0000 (20:25 +0000)]
Include just pango-zip.sh.in in the tarball, not pango-zip.sh.
2007-01-30 Tor Lillqvist <tml@novell.com>
* Makefile.am (EXTRA_DIST): Include just pango-zip.sh.in in the
tarball, not pango-zip.sh.
svn path=/trunk/; revision=2188
Behdad Esfahbod [Thu, 25 Jan 2007 04:00:12 +0000 (04:00 +0000)]
Remove PANGO_IS_FONT() check. Just do NULL-checking.
2007-01-24 Behdad Esfahbod <behdad@gnome.org>
* pango/fonts.c (pango_font_get_metrics),
(pango_font_get_font_map): Remove PANGO_IS_FONT() check. Just
do NULL-checking.
svn path=/trunk/; revision=2184
Behdad Esfahbod [Tue, 23 Jan 2007 17:29:39 +0000 (17:29 +0000)]
Bug 399738 – pango 1.15.5 won't compile on Mac OS X: 'FC_HINT_STYLE'
2007-01-23 Behdad Esfahbod <behdad@gnome.org>
Bug 399738 – pango 1.15.5 won't compile on Mac OS X: 'FC_HINT_STYLE'
undeclared (first use in this function)
* pango/pangoft2.c (pango_ft2_font_get_face): Don't use FC_HINT_STYLE
if it's not defined (old fontconfig versions).
svn path=/trunk/; revision=2183
Behdad Esfahbod [Tue, 23 Jan 2007 00:20:18 +0000 (00:20 +0000)]
=== Released 1.15.5 ===
2007-01-22 Behdad Esfahbod <behdad@gnome.org>
* === Released 1.15.5 ===
* configure.in: Version 1.15.5
* NEWS: Updated.
svn path=/trunk/; revision=2180
Behdad Esfahbod [Tue, 23 Jan 2007 00:15:32 +0000 (00:15 +0000)]
Fix the "menu accels are two chars wide" bug that was introduced by the
2007-01-22 Behdad Esfahbod <behdad@gnome.org>
* pango/pango-glyph-item.c (_pango_glyph_item_iter_next_cluster):
Fix the "menu accels are two chars wide" bug that was introduced
by the recent changes in this function, in 1.15.4. Apparently
glyph_index means separate things in next_cluster and prev_cluster.
svn path=/trunk/; revision=2179
Behdad Esfahbod [Mon, 22 Jan 2007 23:17:15 +0000 (23:17 +0000)]
Populate metrics for NULL/broken fonts. Now our glyph boxes have
2007-01-22 Behdad Esfahbod <behdad@gnome.org>
* pango/fonts.c (pango_font_get_metrics): Populate metrics for
NULL/broken fonts. Now our glyph boxes have underlines too. Yay!
svn path=/trunk/; revision=2178
Tor Lillqvist [Sun, 21 Jan 2007 19:31:49 +0000 (19:31 +0000)]
Add AC_MSG_RESULT([no]) to the failed branch of PKG_CHECK_MODULES tests to
2007-01-21 Tor Lillqvist <tml@novell.com>
* configure.in: Add AC_MSG_RESULT([no]) to the failed branch of
PKG_CHECK_MODULES tests to make the output from configure
cleaner.
svn path=/trunk/; revision=2177
Behdad Esfahbod [Sun, 21 Jan 2007 11:09:46 +0000 (11:09 +0000)]
Bug 398238 – pangorc file missing from tests directory
2007-01-21 Behdad Esfahbod <behdad@gnome.org>
Bug 398238 – pangorc file missing from tests directory
* pango-view/Makefile.am:
* tests/Makefile.am:
Don't use $<. Doesn't work with Sun's make.
svn path=/trunk/; revision=2176
Behdad Esfahbod [Sun, 21 Jan 2007 11:08:54 +0000 (11:08 +0000)]
Require automake 1.9.
2007-01-18 Behdad Esfahbod <behdad@gnome.org>
* configure.in: Require automake 1.9.
svn path=/trunk/; revision=2175
Behdad Esfahbod [Thu, 18 Jan 2007 05:37:19 +0000 (05:37 +0000)]
Respect FC_HINT_STYLE. Patch has been in Fedora for ages.
2007-01-18 Behdad Esfahbod <behdad@gnome.org>
* pango/pangoft2.c (pango_ft2_font_get_face): Respect FC_HINT_STYLE.
Patch has been in Fedora for ages.
svn path=/trunk/; revision=2174
Behdad Esfahbod [Thu, 18 Jan 2007 04:58:36 +0000 (04:58 +0000)]
=== Released 1.15.4 ===
2007-01-17 Behdad Esfahbod <behdad@gnome.org>
* === Released 1.15.4 ===
* configure.in: Version 1.15.4
* NEWS: Updated.
svn path=/trunk/; revision=2172
Behdad Esfahbod [Wed, 17 Jan 2007 22:51:31 +0000 (22:51 +0000)]
Bug 395328 – Map kATSDeletedGlyphcode to PANGO_GLYPH_EMPTY
2007-01-17 Behdad Esfahbod <behdad@gnome.org>
Bug 395328 – Map kATSDeletedGlyphcode to PANGO_GLYPH_EMPTY
* modules/basic/basic-atsui.c (set_glyph): Handle
kATSDeletedGlyphcode.
svn path=/trunk/; revision=2170
Behdad Esfahbod [Tue, 16 Jan 2007 21:38:26 +0000 (21:38 +0000)]
Fix typo when rounding to points.
2007-01-16 Behdad Esfahbod <behdad@gnome.org>
* pango-view/viewer-render.c (make_layout): Fix typo when rounding
to points.
svn path=/trunk/; revision=2169
Behdad Esfahbod [Tue, 16 Jan 2007 20:44:05 +0000 (20:44 +0000)]
Bug 397337 – Use is_ellipsized and is_wrapped to optimize property
2007-01-16 Behdad Esfahbod <behdad@gnome.org>
Bug 397337 – Use is_ellipsized and is_wrapped to optimize property
changes
* pango/pango-layout.c (pango_layout_set_wrap),
(pango_layout_set_ellipsize): Using is_ellipsized and is_wrapped,
only clear lines if wrap/ellipsize change has any effect on the lines.
svn path=/trunk/; revision=2168
Behdad Esfahbod [Tue, 16 Jan 2007 20:26:43 +0000 (20:26 +0000)]
*.c, *.h: Removed spaces followed b tabs.
2007-01-16 Behdad Esfahbod <behdad@gnome.org>
*.c, *.h: Removed spaces followed b tabs.
svn path=/trunk/; revision=2166
Behdad Esfahbod [Tue, 16 Jan 2007 20:20:35 +0000 (20:20 +0000)]
*.c, *.h: Replace preceding sequences of 8 spaces with tabs.
2007-01-16 Behdad Esfahbod <behdad@gnome.org>
*.c, *.h: Replace preceding sequences of 8 spaces with tabs.
svn path=/trunk/; revision=2165
Behdad Esfahbod [Tue, 16 Jan 2007 20:14:20 +0000 (20:14 +0000)]
Replace C++-style // comments with C-style /* */ ones.
2007-01-16 Behdad Esfahbod <behdad@gnome.org>
* examples/pangowin32tobmp.c (SaveBitmap):
* modules/tibetan/tibetan-fc.c:
Replace C++-style // comments with C-style /* */ ones.
svn path=/trunk/; revision=2164
Behdad Esfahbod [Tue, 16 Jan 2007 20:07:35 +0000 (20:07 +0000)]
*.c, *.h: Drop trailing whitespace.
2007-01-16 Behdad Esfahbod <behdad@gnome.org>
*.c, *.h: Drop trailing whitespace.
svn path=/trunk/; revision=2163
Behdad Esfahbod [Tue, 16 Jan 2007 20:03:40 +0000 (20:03 +0000)]
Bug 328585 – Need to know if a layout has unknown glyphs Patch from
2007-01-16 Behdad Esfahbod <behdad@gnome.org>
Bug 328585 – Need to know if a layout has unknown glyphs
Patch from LingNing Zhang
* pango/pango-layout-private.h:
* pango/pango-layout.c (pango_layout_init), (pango_layout_copy),
(pango_layout_get_unknown_glyphs_count),
(pango_layout_clear_lines):
* pango/pango-layout.h:
New public function:
pango_layout_get_unknown_glyphs_count()
* pango/pango.def:
* docs/tmpl/layout.sgml:
* docs/pango-sections.txt:
Update.
svn path=/trunk/; revision=2162
Behdad Esfahbod [Tue, 16 Jan 2007 19:46:07 +0000 (19:46 +0000)]
Align spaces.
svn path=/trunk/; revision=2161
Behdad Esfahbod [Tue, 16 Jan 2007 19:42:59 +0000 (19:42 +0000)]
Part of Bug 326693 – PangoLayouts should be query-able about their
2007-01-16 Behdad Esfahbod <behdad@gnome.org>
Part of Bug 326693 – PangoLayouts should be query-able about their
effective properties (width / wrapped / ellipsized / etc)
* pango/pango-layout-private.h:
* pango/pango-layout.c (pango_layout_init), (pango_layout_copy),
(pango_layout_is_wrapped), (pango_layout_clear_lines),
(process_line):
* pango/pango-layout.h:
New public function:
pango_layout_is_wrapped()
* pango/pango.def:
* docs/tmpl/layout.sgml:
* docs/pango-sections.txt:
Update.
svn path=/trunk/; revision=2160
Behdad Esfahbod [Tue, 16 Jan 2007 18:09:35 +0000 (18:09 +0000)]
Bug 397327 – pango-layout.c: 'pango_layout_is_ellipsized' must return a
2007-01-16 Behdad Esfahbod <behdad@gnome.org>
Bug 397327 – pango-layout.c: 'pango_layout_is_ellipsized' must return
a value
* pango/pango-layout.c (pango_layout_is_ellipsized): Use
g_return_val_if_fail() instead of g_return_if_fail().
svn path=/trunk/; revision=2159
Behdad Esfahbod [Tue, 16 Jan 2007 13:16:32 +0000 (13:16 +0000)]
Fix width calculation. Was causing ellipsization to stop at a zero-width
2007-01-16 Behdad Esfahbod <behdad@gnome.org>
* pango/ellipsize.c (get_cluster_width): Fix width calculation.
Was causing ellipsization to stop at a zero-width glyph that was
part of a bigger cluster.
* pango/ellipsize.c (remove_one_span): Skip over zero-width clusters,
otherwise ellipsization will stop at a zero-width cluster.
* pango/pango-glyph-item.c (_pango_glyph_item_iter_next_cluster),
(_pango_glyph_item_iter_prev_cluster): Fix yet another bug with
in prev_cluster that was making it not work for any interesting
cluster.
svn path=/trunk/; revision=2158
Behdad Esfahbod [Tue, 16 Jan 2007 12:05:09 +0000 (12:05 +0000)]
Improve text-on-path example.
2007-01-16 Behdad Esfahbod <behdad@gnome.org>
* examples/cairotwisted.c (point_on_path), (draw_text),
(draw_twisted), (draw_dream), (draw_wow), (main):
Improve text-on-path example.
svn path=/trunk/; revision=2156
Behdad Esfahbod [Tue, 16 Jan 2007 11:13:16 +0000 (11:13 +0000)]
Generate .bz2 tarball instead of .gz.
2007-01-16 Behdad Esfahbod <behdad@gnome.org>
* configure.in: Generate .bz2 tarball instead of .gz.
svn path=/trunk/; revision=2154
Behdad Esfahbod [Tue, 16 Jan 2007 11:12:39 +0000 (11:12 +0000)]
Rename renderdemo.[ch] to viewer-render.[ch].
2007-01-16 Behdad Esfahbod <behdad@gnome.org>
* pango-view/Makefile.am:
* pango-view/renderdemo.c:
* pango-view/renderdemo.h:
* pango-view/viewer-main.c:
* pango-view/viewer-pangocairo.c:
* pango-view/viewer-pangoft2.c:
* pango-view/viewer-pangox.c:
* pango-view/viewer-pangoxft.c:
* pango-view/viewer-render.c:
* pango-view/viewer-render.h:
* pango-view/viewer-x.c:
Rename renderdemo.[ch] to viewer-render.[ch].
svn path=/trunk/; revision=2153
Behdad Esfahbod [Tue, 16 Jan 2007 11:06:33 +0000 (11:06 +0000)]
Move into pango-view/
2007-01-16 Behdad Esfahbod <behdad@gnome.org>
* examples/pango-view.c:
* examples/pangocairo-view.c:
* examples/pangoft2-view.c:
* examples/pangox-view.c:
* examples/pangoxft-view.c:
* examples/renderdemo.c:
* examples/renderdemo.h:
* examples/test-arabic.txt:
* examples/test-chinese.txt:
* examples/test-devanagari.txt:
* examples/test-gurmukhi.txt:
* examples/test-hebrew.txt:
* examples/test-ipa.txt:
* examples/test-lao.txt:
* examples/test-latin.txt:
* examples/test-mixed.txt:
* examples/test-syriac.txt:
* examples/test-tamil.txt:
* examples/test-thai.txt:
* examples/test-tibetan.txt:
* examples/viewer-cairo.c:
* examples/viewer-cairo.h:
* examples/viewer-main.c:
* examples/viewer-pangocairo.c:
* examples/viewer-pangoft2.c:
* examples/viewer-pangox.c:
* examples/viewer-pangoxft.c:
* examples/viewer-win32.c:
* examples/viewer-x.c:
* examples/viewer-x.h:
* examples/viewer.h:
Move into pango-view/
* Makefile.am:
* configure.in:
* examples/Makefile.am:
* pango-view/Makefile.am:
Update.
svn path=/trunk/; revision=2152
Behdad Esfahbod [Tue, 16 Jan 2007 10:39:02 +0000 (10:39 +0000)]
Oops. Replace GType* with GType.
2007-01-16 Behdad Esfahbod <behdad@gnome.org>
* examples/renderdemo.c (parse_enum): Oops. Replace GType* with GType.
svn path=/trunk/; revision=2151
Behdad Esfahbod [Tue, 16 Jan 2007 10:36:42 +0000 (10:36 +0000)]
Bug 363510 – Ability to query whether a PangoLayout is effectively
2007-01-16 Behdad Esfahbod <behdad@gnome.org>
Bug 363510 – Ability to query whether a PangoLayout is effectively
ellipsized (as opposed to the set_ellpisize()/get_ellipsize() methods
which only set a request, or return the set request respectively)
Patch from Milosz Derezynski
* pango/pango-layout.h:
* pango/ellipsize.c (_pango_layout_line_ellipsize):
* pango/pango-layout-private.h:
* pango/pango-layout.c (pango_layout_init), (pango_layout_copy),
(pango_layout_is_ellipsized), (pango_layout_clear_lines),
(pango_layout_line_postprocess):
New public function:
pango_layout_is_ellipsized()
* pango/pango.def:
* docs/tmpl/layout.sgml:
* docs/pango-sections.txt:
Update.
svn path=/trunk/; revision=2150
Behdad Esfahbod [Tue, 16 Jan 2007 10:14:32 +0000 (10:14 +0000)]
Fix background rendering being off in presence of rise attributes.
2007-01-16 Behdad Esfahbod <behdad@gnome.org>
* pango/pango-renderer.c (pango_renderer_draw_layout_line): Fix
background rendering being off in presence of rise attributes.
svn path=/trunk/; revision=2148
Behdad Esfahbod [Tue, 16 Jan 2007 10:11:24 +0000 (10:11 +0000)]
Update centered_baseline in presence of gravity attributes.
2007-01-16 Behdad Esfahbod <behdad@gnome.org>
* pango/pango-context.c (itemize_state_init),
(itemize_state_update_for_new_run): Update centered_baseline in
presence of gravity attributes.
svn path=/trunk/; revision=2147
Behdad Esfahbod [Tue, 16 Jan 2007 09:57:30 +0000 (09:57 +0000)]
Use pango_layout(_iter)?_get_line_readonly() instead of
2007-01-16 Behdad Esfahbod <behdad@gnome.org>
* examples/cairotwisted.c (draw_text):
* pango/pangocairo-win32font.c (max_glyph_width):
* pango/pangofc-font.c (max_glyph_width):
* pango/pangowin32.c (max_glyph_width),
(pango_win32_render_layout):
* pango/pangox.c (pango_x_render_layout):
Use pango_layout(_iter)?_get_line_readonly() instead of
pango_layout(_iter)?_get_line().
svn path=/trunk/; revision=2146
Behdad Esfahbod [Tue, 16 Jan 2007 09:52:02 +0000 (09:52 +0000)]
New attribute types PANGO_ATTR_GRAVITY and PANGO_ATTR_GRAVITY_HINT. New
2007-01-16 Behdad Esfahbod <behdad@gnome.org>
* pango/pango-attributes.h:
* pango/pango-attributes.c:
New attribute types PANGO_ATTR_GRAVITY and PANGO_ATTR_GRAVITY_HINT.
New public functions:
pango_attr_gravity_new()
pango_attr_gravity_hint_new()
* pango/pango-context.c (update_attr_iterator),
(itemize_state_init), (itemize_state_add_character),
(get_shaper_and_font), (itemize_state_update_for_new_run):
Handle gravity and gravity_hint attributes.
* pango/pango-utils.h:
* pango/pango-utils.c:
New public function:
pango_parse_enum()
* pango/pango-markup.c (span_parse_func): Parse gravity and
gravity_hint attributes for <span>. Optimize a bit.
* pango/pango-markup.c (parse_absolute_size), (attr_strcmp),
(span_parse_int), (span_parse_boolean), (span_parse_color),
(span_parse_enum), (span_parse_func): Use pango_scan_int(),
pango_color_parse(), and pango_parse_enum(). Also, ignore '-' and
'_' differences when matching attribute names for <span>.
* examples/renderdemo.c (parse_enum), (parse_ellipsis),
(parse_gravity), (parse_gravity_hint), (parse_hinting),
(parse_wrap): Use a generic parse_enum() that uses pango_parse_enum().
* modules/basic/basic-fc.c (basic_engine_shape):
* pango/pangofc-fontmap.c (pango_fc_make_pattern):
Use PANGO_GRAVITY_IS_VERTICAL().
* pango/pango.def:
* docs/pango-sections.txt:
* docs/tmpl/text-attributes.sgml:
* docs/tmpl/utils.sgml:
Update.
svn path=/trunk/; revision=2145
Behdad Esfahbod [Tue, 16 Jan 2007 00:23:59 +0000 (00:23 +0000)]
Bug 323173 – Add layout of mixed direction text for vertical layout
2007-01-15 Behdad Esfahbod <behdad@gnome.org>
Bug 323173 – Add layout of mixed direction text for vertical layout
* pango/pango-gravity.h:
* pango/pango-gravity.c:
Moved gravity stuff here. New public API:
PangoGravityHint
pango_gravity_get_for_matrix()
pango_gravity_get_for_script()
* pango/pango-context.h:
* pango/pango-context.c (pango_context_init),
(update_resolved_gravity), (itemize_state_update_for_new_run):
Support gravity hint. New public API:
pango_context_set_gravity_hint()
pango_context_get_gravity_hint()
* pango/pango-utils.c:
* pango/pango-matrix.c:
* pango/pango-matrix.h:
* pango/pango-types.h:
Moved gravity and matrix stuff into its own header. pango-types.h
includes both pango-matrix.h and pango-gravity.h
* pango/pango.h:
Include new headers.
* pango/pango.def:
* pango/Makefile.am:
Update.
* docs/pango-docs.sgml:
* docs/pango-sections.txt:
* docs/tmpl/glyphs.sgml:
* docs/tmpl/main.sgml:
* docs/tmpl/vertical.sgml:
Add a section for Vertical Text.
* examples/renderdemo.c (do_output), (parse_gravity_hint),
(parse_options):
Support gravity hint.
* examples/test-mixed.txt:
New test, mixed Latin, Arabic, Chinese text.
svn path=/trunk/; revision=2144
Tor Lillqvist [Mon, 15 Jan 2007 01:57:49 +0000 (01:57 +0000)]
Don't check for X and don't warn about missing fontconfig on Win32.
2007-01-15 Tor Lillqvist <tml@novell.com>
* configure.in: Don't check for X and don't warn about missing
fontconfig on Win32. (#392628, Yevgen Muntyan)
svn path=/trunk/; revision=2142
Tor Lillqvist [Mon, 15 Jan 2007 01:36:18 +0000 (01:36 +0000)]
Automatically use -mms-bitfields on Windows when building with gcc.
2007-01-15 Tor Lillqvist <tml@novell.com>
* configure.in: Automatically use -mms-bitfields on Windows when
building with gcc. (#394453)
svn path=/trunk/; revision=2140
Hans Breuer [Sat, 13 Jan 2007 21:31:41 +0000 (21:31 +0000)]
updated
2007-01-13 Hans Breuer <hans@breuer.org>
* pango/makefile.msc pango/opentype/makefile.msc : updated
svn path=/trunk/; revision=2139
Behdad Esfahbod [Tue, 9 Jan 2007 03:32:12 +0000 (03:32 +0000)]
Remove .cvsignore files (moved to svn:ignore prop)
svn path=/trunk/; revision=2137
Behdad Esfahbod [Mon, 8 Jan 2007 23:12:14 +0000 (23:12 +0000)]
=== Released 1.15.3 ===
2007-01-08 Behdad Esfahbod <behdad@gnome.org>
* === Released 1.15.3 ===
* configure.in: Version 1.15.3
* NEWS: Updated.
svn path=/trunk/; revision=2135
Behdad Esfahbod [Mon, 8 Jan 2007 22:45:51 +0000 (22:45 +0000)]
Don't introduce bitfields in public struct and rename PangoAnalysis.
2007-01-08 Behdad Esfahbod <behdad@gnome.org>
* docs/pango-sections.txt:
* docs/tmpl/glyphs.sgml:
* docs/tmpl/main.sgml:
* pango/pango-context.c (itemize_state_add_character):
* pango/pango-item.h:
* pango/pango-layout.c (pango_layout_run_get_extents):
* pango/pango-renderer.c (pango_renderer_draw_layout_line):
Don't introduce bitfields in public struct and rename PangoAnalysis.
centered_baseline to PangoAnalysis.flags and introduce
PANGO_ANALYSIS_FLAGS_CENTERED_BASELINE.
svn path=/trunk/; revision=2134
Behdad Esfahbod [Mon, 8 Jan 2007 22:34:54 +0000 (22:34 +0000)]
Fix typo in docs.
svn path=/trunk/; revision=2133
Behdad Esfahbod [Sun, 7 Jan 2007 05:49:53 +0000 (05:49 +0000)]
Spell-check the docs.
svn path=/trunk/; revision=2130
Tor Lillqvist [Sun, 7 Jan 2007 03:29:05 +0000 (03:29 +0000)]
Fix build on Win32 outside srcdir. (#392789, J. Ali Harlow)
2007-01-07 Tor Lillqvist <tml@novell.com>
* modules/basic/Makefile.am: Fix build on Win32 outside
srcdir. (#392789, J. Ali Harlow)
svn path=/trunk/; revision=2128
Behdad Esfahbod [Thu, 4 Jan 2007 21:49:08 +0000 (21:49 +0000)]
Improve docs, and mention g_unichar_iszerowidth().
2007-01-04 Behdad Esfahbod <behdad@gnome.org>
* pango/pango-utils.c: Improve docs, and mention
g_unichar_iszerowidth().
svn path=/trunk/; revision=2127
Behdad Esfahbod [Thu, 4 Jan 2007 19:35:56 +0000 (19:35 +0000)]
Part of Bug 332266 – gdk_draw_layout fails for coordinates >= 2^21
2007-01-04 Behdad Esfahbod <behdad@gnome.org>
Part of Bug 332266 – gdk_draw_layout fails for coordinates >= 2^21
* pango/pango-types.h:
* pango/pango-matrix.c: New public API:
pango_matrix_transform_distance()
pango_matrix_transform_point()
pango_matrix_transform_rectangle()
pango_matrix_transform_pixel_rectangle()
* pango/pango-utils.h:
* pango/pango-utils.c: New public API:
pango_units_from_double()
pango_units_to_double()
pango_extents_to_pixels()
* pango/pango-layout.c (pango_layout_get_pixel_extents),
(pango_layout_line_get_pixel_extents): Use pango_extents_to_pixels().
* pango/pangocairo-fcfont.c:
(pango_cairo_fc_font_glyph_extents_cache_init),
(compute_glyph_extents): Use pango_units_from_double().
* examples/renderdemo.c (do_output): Use
pango_matrix_transform_pixel_rectangle();
* pango/pango.def:
* docs/pango-sections.txt:
* docs/tmpl/glyphs.sgml: Update.
svn path=/trunk/; revision=2126
Changwoo Ryu [Wed, 3 Jan 2007 18:56:01 +0000 (18:56 +0000)]
Bug 388702 - Crash when there's no Hangul glyph in the font.
2007-01-03 Changwoo Ryu <cwryu@debian.org>
Bug 388702 - Crash when there's no Hangul glyph in the font.
* modules/hangul/hangul-fc.c (render_syllable): Do not try to
render unknown syllable glyphs as jamos.
* modules/hangul/hangul-fc.c (hangul_engine_shape): Check if the
remaining string is a syllable.
Bug 388581 - Every last Hangul syllable is decomposed to jamos.
* modules/hangul/hangul-fc.c (hangul_engine_shape): Check if the
remaining string is a syllable.
svn path=/trunk/; revision=2125
Behdad Esfahbod [Wed, 3 Jan 2007 18:46:01 +0000 (18:46 +0000)]
Bug 390877 – Don't feed pango-features.h to glib-mkenums Patch from
2007-01-03 Behdad Esfahbod <behdad@gnome.org>
Bug 390877 – Don't feed pango-features.h to glib-mkenums
Patch from Yevgen Muntyan
* pango/Makefile.am: Move pango-features.h to pangoinclude_HEADERS.
svn path=/trunk/; revision=2124
Behdad Esfahbod [Mon, 25 Dec 2006 09:43:51 +0000 (09:43 +0000)]
Improve option help for --gravity
Behdad Esfahbod [Sun, 24 Dec 2006 04:43:17 +0000 (04:43 +0000)]
Bug 384543 – FcFontMatch misuse
2006-12-23 Behdad Esfahbod <behdad@gnome.org>
Bug 384543 – FcFontMatch misuse
* pango/pangofc-fontmap.c (pango_fc_face_describe):
Call FcConfigSubstitute and FcDefaultSubstitute before calling
FcFontMatch.
* pango/pangoft2.c (load_fallback_face):
Call _pango_ft2_font_map_default_substitute().
* pango/pangocairo-fcfontmap.c
(pango_cairo_fc_font_map_context_substitute):
Handle the case of context == NULL.
Behdad Esfahbod [Sun, 24 Dec 2006 04:15:40 +0000 (04:15 +0000)]
Improve docs.
2006-12-23 Behdad Esfahbod <behdad@gnome.org>
* pango/pango-utils.c (pango_language_get_default): Improve docs.
Behdad Esfahbod [Thu, 21 Dec 2006 00:34:19 +0000 (00:34 +0000)]
=== Released 1.15.2 ===
2006-12-20 Behdad Esfahbod <behdad@gnome.org>
* === Released 1.15.2 ===
* configure.in: Version 1.15.2
* NEWS: Updated.
Behdad Esfahbod [Tue, 19 Dec 2006 21:37:39 +0000 (21:37 +0000)]
Bug 326099 – Setting width, indentation and ellipsizing doesn't work as
2006-12-19 Behdad Esfahbod <behdad@gnome.org>
Bug 326099 – Setting width, indentation and ellipsizing doesn't work
as I would expect
* pango/ellipsize.c (_pango_layout_line_ellipsize): Account for
indentation when deciding what width to ellipsize for.
* pango/pango-layout.c (get_alignment): Don't bother about
conditioning on the line direction for center alignment.
Changwoo Ryu [Tue, 19 Dec 2006 18:05:05 +0000 (18:05 +0000)]
Optimizing for non-old Hangul users; no more waste of decompose and
2006-12-20 Changwoo Ryu <cwryu@debian.org>
* modules/hangul/hangul-defs.h:
* modules/hangul/hangul-fc.c
(hangul_engine_shape): Optimizing for non-old Hangul users; no
more waste of decompose and compose.
(render_syllable): The string argument is now in UTF-8. Normalization
is now done only when the entire sequence is equivalent to a
precomposed syllable.
(render_isolated_tone): Conditioned out tone mark's dummy base
character drawing.
Behdad Esfahbod [Mon, 18 Dec 2006 02:34:53 +0000 (02:34 +0000)]
Avoid some floating-point operations by caching the y value for the
2006-12-17 Behdad Esfahbod <behdad@gnome.org>
* pango/pangocairo-render.c (pango_cairo_renderer_draw_glyphs):
Avoid some floating-point operations by caching the y value for the
baseline, using it for glyphs having y_offset of 0.
Frederic Crozat [Sat, 16 Dec 2006 18:42:59 +0000 (18:42 +0000)]
Bug 385478 – Fix tests on OPD platform
2006-12-15 Frederic Crozat <fcrozat@mandriva.com>
Bug 385478 – Fix tests on OPD platform
* pango/check.defs: Fix tests on OPD platform to report correct
symbols name.