Richard Hult [Tue, 12 Jun 2007 16:59:16 +0000 (16:59 +0000)]
Implement get_font_type().
2007-06-12 Richard Hult <richard@imendio.com>
* pango/pangocairo-atsuifontmap.c: Implement
get_font_type().
svn path=/trunk/; revision=2350
Tor Lillqvist [Tue, 12 Jun 2007 11:47:43 +0000 (11:47 +0000)]
Implement PangoCairoWin32FontMap::get_font_type().
2007-06-12 Tor Lillqvist <tml@novell.com>
* pango/pangowin32-fontmap.c: Implement
PangoCairoWin32FontMap::get_font_type().
svn path=/trunk/; revision=2349
Tor Lillqvist [Tue, 12 Jun 2007 10:31:23 +0000 (10:31 +0000)]
Typo
svn path=/trunk/; revision=2348
Tor Lillqvist [Tue, 12 Jun 2007 10:27:29 +0000 (10:27 +0000)]
Add is_synthetic field.
2007-06-12 Tor Lillqvist <tml@novell.com>
* pango/pangowin32-private.h (struct PangoWin32Face: Add
is_synthetic field.
* pango/pangowin32-fontmap.c: Implement is_synthesized.
* pango/pangocairo-win32font.c
* pango/pangocairo-win32fontmap.c: Update for the changes to
PangoCairoFontMap and PangoCairoFont.
svn path=/trunk/; revision=2347
Behdad Esfahbod [Tue, 12 Jun 2007 05:23:45 +0000 (05:23 +0000)]
Bug 445832 – pango_cairo_update_layout() always invalidates layout
2007-06-12 Behdad Esfahbod <behdad@gnome.org>
Bug 445832 – pango_cairo_update_layout() always invalidates layout
* pango/pangocairo-context.c (_pango_cairo_update_context),
(pango_cairo_update_context), (pango_cairo_update_layout):
Don't invalidate layout if matrix and font options didn't change.
svn path=/trunk/; revision=2346
Behdad Esfahbod [Tue, 12 Jun 2007 00:38:13 +0000 (00:38 +0000)]
Add G_GNUC_CONST and G_GNUC_PURE annotations.
2007-06-11 Behdad Esfahbod <behdad@gnome.org>
* pango/pango-attributes.h:
* pango/pango-font.h:
* pango/pango-glyph.h:
* pango/pango-gravity.h:
* pango/pango-language.h:
* pango/pango-layout.h:
* pango/pango-matrix.h:
* pango/pango-ot-private.h:
* pango/pango-ot.h:
* pango/pango-renderer.h:
* pango/pango-script.h:
* pango/pango-tabs.h:
* pango/pango-utils.h:
* pango/pangoatsui-private.h:
* pango/pangocairo-atsui.h:
* pango/pangocairo-atsuifont.h:
* pango/pangocairo-fc.h:
* pango/pangocairo-private.h:
* pango/pangocairo-win32.h:
* pango/pangocairo.h:
* pango/pangofc-decoder.h:
* pango/pangofc-font.h:
* pango/pangofc-fontmap.h:
* pango/pangoft2-private.h:
* pango/pangoft2.h:
* pango/pangowin32-private.h:
* pango/pangox-private.h:
* pango/pangoxft-render.h:
* pango/pangoxft.h:
Add G_GNUC_CONST and G_GNUC_PURE annotations.
svn path=/trunk/; revision=2345
Behdad Esfahbod [Tue, 12 Jun 2007 00:07:24 +0000 (00:07 +0000)]
New engine public macros:
2007-06-11 Behdad Esfahbod <behdad@gnome.org>
* pango/pango-ot.h: New engine public macros:
PANGO_OT_TAG_MAKE()
PANGO_OT_TAG_MAKE_FROM_STRING()
* docs/pango-sections.txt:
* docs/tmpl/opentype.sgml:
Update.
2007-06-11 Behdad Esfahbod <behdad@gnome.org>
Bug 446018 – Bus error in the pango_ot_tag_from_language()
* pango/pango-ot-tag.c (pango_ot_tag_from_script),
(pango_ot_tag_to_script), (pango_ot_tag_from_language),
(pango_ot_tag_to_language): Make sure int access is
aligned.
svn path=/trunk/; revision=2344
Richard Hult [Mon, 11 Jun 2007 23:12:09 +0000 (23:12 +0000)]
Implement is_synthesized for the ATSUI backend.
2007-06-12 Richard Hult <richard@imendio.com>
* pango/pangoatsui-fontmap.c (pango_atsui_face_is_synthesized):
Implement is_synthesized for the ATSUI backend.
svn path=/trunk/; revision=2343
Behdad Esfahbod [Mon, 11 Jun 2007 22:58:50 +0000 (22:58 +0000)]
Bug 440588 – Add pango_font_face_is_synthesized()
2007-06-11 Behdad Esfahbod <behdad@gnome.org>
Bug 440588 – Add pango_font_face_is_synthesized()
* pango/pango-font.h:
* pango/fonts.c:
New PangoFontFace method is_synthesized.
New public API:
pango_font_face_is_synthesized()
* pango/pangofc-fontmap.c (pango_fc_face_is_synthesized):
Implement new method.
* docs/pango-sections.txt:
* docs/tmpl/fonts.sgml:
* pango/pango.def:
Update.
svn path=/trunk/; revision=2342
Richard Hult [Mon, 11 Jun 2007 22:54:46 +0000 (22:54 +0000)]
Update for the changes to PangoCairoFontMap and PangoCairoFont.
2007-06-12 Richard Hult <richard@imendio.com>
* pango/pangocairo-atsuifont.c:
* pango/pangocairo-atsuifontmap.c: Update for the changes to
PangoCairoFontMap and PangoCairoFont.
svn path=/trunk/; revision=2341
Behdad Esfahbod [Mon, 11 Jun 2007 22:33:01 +0000 (22:33 +0000)]
Bug 446355 – the parsing with pango_parse_markup is not coherent
2007-06-11 Behdad Esfahbod <behdad@gnome.org>
Bug 446355 – the parsing with pango_parse_markup is not coherent
* pango/pango-markup.c (pango_parse_markup): Use
pango_attr_list_insert() instead of pango_attr_list_change() as
merging adjacent attributes of the same kind is not a safe operation
and can change the derived font of a segment in an unexpected and
incorrect way.
svn path=/trunk/; revision=2340
Behdad Esfahbod [Mon, 11 Jun 2007 18:48:34 +0000 (18:48 +0000)]
Make sure all enabled font backends included (reported by Vincent
2007-06-11 Behdad Esfahbod <behdad@gnome.org>
* pango/pangocairo-fontmap.c: Make sure all enabled font backends
included (reported by Vincent Isambart).
svn path=/trunk/; revision=2339
Behdad Esfahbod [Mon, 11 Jun 2007 07:53:53 +0000 (07:53 +0000)]
Add 'gravity', 'gravity_hint', and 'letter_spacing' span attributes.
2007-06-11 Behdad Esfahbod <behdad@gnome.org>
* docs/pango_markup.sgml: Add 'gravity', 'gravity_hint', and
'letter_spacing' span attributes.
svn path=/trunk/; revision=2338
Behdad Esfahbod [Mon, 11 Jun 2007 07:47:41 +0000 (07:47 +0000)]
Bug 438801 – underline should add "error" type.
2007-06-11 Behdad Esfahbod <behdad@gnome.org>
Bug 438801 – underline should add "error" type.
* docs/pango_markup.sgml: Add "error" underline type to docs.
svn path=/trunk/; revision=2337
Behdad Esfahbod [Mon, 11 Jun 2007 03:00:39 +0000 (03:00 +0000)]
Bug 347236 – provide pango_cairo_font_get_scaled_font Bug 347235 – Add
2007-06-10 Behdad Esfahbod <behdad@gnome.org>
Bug 347236 – provide pango_cairo_font_get_scaled_font
Bug 347235 – Add pango_cairo_font_map_get_font_type
Bug 353291 – Provide pango_cairo_font_map_new_for_font_type
* pango/pangocairo-font.c: New public API:
pango_cairo_font_get_scaled_font()
* pango/pangocairo-fontmap.c: New public API:
pango_cairo_font_map_new_for_font_type()
pango_cairo_font_map_get_font_type()
* pango/pangocairo-fcfontmap.c:
Implement get_font_type() method.
* pango/pangocairo.h:
* pango/pangocairo-private.h:
* docs/pango-sections.txt:
* docs/tmpl/pangocairo.sgml:
* pango/pangocairo.def:
Update.
svn path=/trunk/; revision=2336
Behdad Esfahbod [Sun, 10 Jun 2007 00:48:25 +0000 (00:48 +0000)]
Bug 337593 – move glyph extents code (and cache) from pangocairo-*font.c
2007-06-09 Behdad Esfahbod <behdad@gnome.org>
Bug 337593 – move glyph extents code (and cache) from
pangocairo-*font.c into pangocairo-font.c
* pango/pangocairo-fontmap.c:
* pango/pangocairo-fcfontmap.c:
Remove per-fontmap renderer. We've not been using it for a while
and there is no reason to use it.
* pango/pangocairo-font.c
* pango/pangocairo-fcfont.c:
Most most code (including glyph extents caching) from fcfont.c to
font.c. Simplifies individual backends a lot. ATSUI and Win32
cairo backends should adapt.
* pango/pangocairo-render.c
* pango/pangocairo-private.h:
Update to reflect above changes.
svn path=/trunk/; revision=2335
Behdad Esfahbod [Sun, 10 Jun 2007 00:42:48 +0000 (00:42 +0000)]
Use G_CONST_RETURN
svn path=/trunk/; revision=2334
Behdad Esfahbod [Tue, 5 Jun 2007 23:43:30 +0000 (23:43 +0000)]
Add missing g_return_if_fail()s. Pointed out by fcrozat.
2007-06-05 Behdad Esfahbod <behdad@gnome.org>
* pango/fonts.c (pango_font_description_merge),
(pango_font_description_merge_static),
(pango_font_description_copy),
(pango_font_description_copy_static),
(pango_font_description_hash), (pango_font_description_to_string),
(pango_font_description_to_filename):
Add missing g_return_if_fail()s. Pointed out by fcrozat.
svn path=/trunk/; revision=2333
Behdad Esfahbod [Tue, 5 Jun 2007 02:04:56 +0000 (02:04 +0000)]
Zero glyphs->num_glyphs before calling into shape engine.
2007-06-04 Behdad Esfahbod <behdad@gnome.org>
* pango/shape.c (pango_shape): Zero glyphs->num_glyphs before
calling into shape engine.
* pango/pango-engine.c (fallback_engine_shape): Improve, to support
clusters and what not.
* pango/pangocairo-font.c (_pango_cairo_font_get_hex_box_info):
Use "pango_script_get_sample_language (PANGO_SCRIPT_LATIN)" instead
of hardcoding "en".
Handle cairo_scaled_font_extents() failure.
svn path=/trunk/; revision=2332
Behdad Esfahbod [Mon, 4 Jun 2007 17:44:10 +0000 (17:44 +0000)]
=== Released 1.17.2 ===
2007-06-04 Behdad Esfahbod <behdad@gnome.org>
* === Released 1.17.2 ===
* configure.in: Version 1.17.2
* NEWS: Updated.
svn path=/trunk/; revision=2330
Behdad Esfahbod [Sun, 3 Jun 2007 20:57:28 +0000 (20:57 +0000)]
Fix various typos reported by Peter Moulder.
2007-06-03 Behdad Esfahbod <behdad@gnome.org>
* docs/tmpl/main.sgml:
* pango/pango-layout.c (process_item):
* pango/pango-ot-info.c:
* pango/pango-renderer.c (pango_renderer_draw_layout_line):
Fix various typos reported by Peter Moulder.
svn path=/trunk/; revision=2329
Behdad Esfahbod [Sun, 3 Jun 2007 20:23:49 +0000 (20:23 +0000)]
Rename pango_ot_ruleset_get_for() to
2007-06-03 Behdad Esfahbod <behdad@gnome.org>
* docs/pango-sections.txt:
* docs/tmpl/opentype.sgml:
* modules/arabic/arabic-fc.c (arabic_engine_shape):
* modules/basic/basic-fc.c (basic_engine_shape):
* modules/hebrew/hebrew-fc.c (hebrew_engine_shape):
* modules/indic/indic-fc.c (indic_engine_shape):
* modules/khmer/khmer-fc.c (khmer_engine_shape):
* modules/syriac/syriac-fc.c (syriac_engine_shape):
* modules/thai/thai-fc.c (thai_engine_shape):
* modules/tibetan/tibetan-fc.c (tibetan_engine_shape):
* pango/pango-ot-ruleset.c (pango_ot_ruleset_get_for_description),
(pango_ot_ruleset_new_from_description):
* pango/pango-ot.h:
* pango/pangoft2.def:
Rename pango_ot_ruleset_get_for() to
pango_ot_ruleset_get_for_description().
New engine API: pango_ot_ruleset_new_from_description().
svn path=/trunk/; revision=2328
Behdad Esfahbod [Sat, 2 Jun 2007 18:54:24 +0000 (18:54 +0000)]
Bug 443206 – PANGO_SCRIPT_UNKNOWN should not cause a run break Patch
2007-06-02 Behdad Esfahbod <behdad@gnome.org>
Bug 443206 – PANGO_SCRIPT_UNKNOWN should not cause a run break
Patch from Martin Hosken
* pango/pango-script.c: Treat Unknown script like Common and other
non-"real" scripts.
svn path=/trunk/; revision=2326
Behdad Esfahbod [Thu, 31 May 2007 21:28:25 +0000 (21:28 +0000)]
Improve docs.
2007-05-31 Behdad Esfahbod <behdad@gnome.org>
* pango/pango-layout.c: Improve docs.
svn path=/trunk/; revision=2325
Behdad Esfahbod [Mon, 28 May 2007 20:50:56 +0000 (20:50 +0000)]
=== Released 1.17.1 ===
2007-05-28 Behdad Esfahbod <behdad@gnome.org>
* === Released 1.17.1 ===
* configure.in: Version 1.17.1
* NEWS: Updated.
svn path=/trunk/; revision=2323
Behdad Esfahbod [Mon, 28 May 2007 20:33:35 +0000 (20:33 +0000)]
Fix Japanese text. Patch from Ben Konrath
2007-05-28 Behdad Esfahbod <behdad@gnome.org>
* pango-view/test-mixed.markup:
* pango-view/test-mixed.txt:
Fix Japanese text. Patch from Ben Konrath
svn path=/trunk/; revision=2322
Behdad Esfahbod [Fri, 25 May 2007 17:23:03 +0000 (17:23 +0000)]
Fix wrong Unicode version in header.
2007-05-25 Behdad Esfahbod <behdad@gnome.org>
* pango/mini-fribidi/fribidi_tab_char_type_2.i:
Fix wrong Unicode version in header.
svn path=/trunk/; revision=2321
Behdad Esfahbod [Thu, 24 May 2007 21:07:05 +0000 (21:07 +0000)]
Bug 357790 – Rendering problem for malayalam consonant RA (U+0D30)
2007-05-24 Behdad Esfahbod <behdad@gnome.org>
Bug 357790 – Rendering problem for malayalam consonant RA (U+0D30)
* modules/indic/indic-ot-class-tables.c:
* modules/indic/indic-ot.c (indic_ot_reorder):
Commit remaining fix for malayalam.
svn path=/trunk/; revision=2320
Behdad Esfahbod [Thu, 24 May 2007 20:57:23 +0000 (20:57 +0000)]
Add stability note.
2007-05-24 Behdad Esfahbod <behdad@gnome.org>
* docs/tmpl/opentype.sgml:
* docs/tmpl/pango-engine-lang.sgml:
* docs/tmpl/pango-engine-shape.sgml:
Add stability note.
svn path=/trunk/; revision=2319
Behdad Esfahbod [Thu, 24 May 2007 20:17:05 +0000 (20:17 +0000)]
Document how Pango's vertical text support works.
2007-05-24 Behdad Esfahbod <behdad@gnome.org>
* docs/tmpl/vertical.sgml: Document how Pango's vertical text support
works.
svn path=/trunk/; revision=2318
Behdad Esfahbod [Wed, 23 May 2007 22:16:16 +0000 (22:16 +0000)]
Part of Bug 440603 – Minor ABI change
2007-05-23 Behdad Esfahbod <behdad@gnome.org>
Part of Bug 440603 – Minor ABI change
* pango/pango-context.c (pango_context_init),
(pango_context_set_language), (pango_context_get_language):
Make itemization use pango_language_get_default() if context has no
language set on it. Ditto for pango_context_get_metrics() if both
input language and context language are NULL.
svn path=/trunk/; revision=2317
Behdad Esfahbod [Wed, 23 May 2007 02:01:15 +0000 (02:01 +0000)]
New test text for N'Ko.
2007-05-22 Behdad Esfahbod <behdad@gnome.org>
* pango-view/Makefile.am:
* pango-view/test-nko.txt:
New test text for N'Ko.
svn path=/trunk/; revision=2316
Behdad Esfahbod [Wed, 23 May 2007 01:07:33 +0000 (01:07 +0000)]
Bug 440603 – Minor ABI change
2007-05-22 Behdad Esfahbod <behdad@gnome.org>
Bug 440603 – Minor ABI change
* pango/pango-language.c (pango_language_includes_script):
* pango/pango-ot-tag.c (pango_ot_tag_from_language):
Accept language == NULL as legitimate input.
svn path=/trunk/; revision=2315
Richard Hult [Sun, 20 May 2007 21:13:09 +0000 (21:13 +0000)]
Improve the fix for bug #433805 so that the metrics actually are right,
2007-05-20 Richard Hult <richard@imendio.com>
* pango/pangocairo-atsuifont.c: (_pango_cairo_atsui_font_new): Improve
the fix for bug #433805 so that the metrics actually are right, thanks
to Mitch for noticing and debugging help.
svn path=/trunk/; revision=2314
Behdad Esfahbod [Wed, 16 May 2007 16:13:52 +0000 (16:13 +0000)]
Bug 438705 – Test runs non-existent "/bin/bash" on HP-UX 11.11
2007-05-16 Behdad Esfahbod <behdad@gnome.org>
Bug 438705 – Test runs non-existent "/bin/bash" on HP-UX 11.11
* docs/check.docs:
* pango/check.defs:
Use /bin/sh instead of /bin/bash.
svn path=/trunk/; revision=2313
Behdad Esfahbod [Wed, 16 May 2007 13:44:00 +0000 (13:44 +0000)]
Add a test file showing off OpenType language-system support used with
2007-05-16 Behdad Esfahbod <behdad@gnome.org>
* pango-view/Makefile.am:
* pango-view/test-opentype-language.markup:
Add a test file showing off OpenType language-system support
used with DejaVu Sans.
svn path=/trunk/; revision=2312
Behdad Esfahbod [Wed, 16 May 2007 12:36:31 +0000 (12:36 +0000)]
Bug 438814 – synaptic crash with pango 1.17.0
2007-05-16 Behdad Esfahbod <behdad@gnome.org>
Bug 438814 – synaptic crash with pango 1.17.0
* pango/pango-layout.c (process_item): Make sure we find some break
point even if overflowing the line.
svn path=/trunk/; revision=2311
Behdad Esfahbod [Wed, 16 May 2007 02:02:26 +0000 (02:02 +0000)]
Port to new OpenType APIs. Add standard features.
2007-05-15 Behdad Esfahbod <behdad@gnome.org>
* modules/hebrew/hebrew-fc.c (hebrew_engine_shape):
Port to new OpenType APIs. Add standard features.
svn path=/trunk/; revision=2310
Behdad Esfahbod [Wed, 16 May 2007 01:46:05 +0000 (01:46 +0000)]
Port to new OpenType APIs and cleanup a bit. Add standard features.
2007-05-15 Behdad Esfahbod <behdad@gnome.org>
* modules/thai/Makefile.am:
* modules/thai/thai-fc.c (thai_get_font_info), (thai_engine_shape),
(thai_make_unknown_glyph):
* modules/thai/thai-shaper.c (get_glyphs_list), (add_cluster),
(thai_set_glyphs):
* modules/thai/thai-shaper.h:
Port to new OpenType APIs and cleanup a bit. Add standard features.
* modules/thai/thai-ot.c:
* modules/thai/thai-ot.h:
Removed. Not needed anymore.
svn path=/trunk/; revision=2309
Behdad Esfahbod [Wed, 16 May 2007 01:44:07 +0000 (01:44 +0000)]
Add bug references
svn path=/trunk/; revision=2308
Behdad Esfahbod [Wed, 16 May 2007 01:43:28 +0000 (01:43 +0000)]
Port to new OpenType APIs. Add standard features (ccmp, locl, calt, kern,
2007-05-15 Behdad Esfahbod <behdad@gnome.org>
* modules/khmer/khmer-fc.c (khmer_engine_shape):
* modules/tibetan/tibetan-fc.c (tibetan_engine_shape):
Port to new OpenType APIs. Add standard features (ccmp,
locl, calt, kern, mark, mkmk).
svn path=/trunk/; revision=2307
Behdad Esfahbod [Wed, 16 May 2007 01:42:03 +0000 (01:42 +0000)]
Add ccmp, locl, calt; kern, mark, and mkmk features.
2007-05-15 Behdad Esfahbod <behdad@gnome.org>
* modules/indic/indic-fc.c:
Add ccmp, locl, calt; kern, mark, and mkmk features.
svn path=/trunk/; revision=2306
Behdad Esfahbod [Wed, 16 May 2007 01:41:34 +0000 (01:41 +0000)]
Add new engine API:
2007-05-15 Behdad Esfahbod <behdad@gnome.org>
* pango/pango-ot.h:
* pango/pango-ot-private.h:
* pango/pango-ot-ruleset.c (pango_ot_ruleset_add_feature),
(pango_ot_ruleset_get_feature_count):
Add new engine API:
pango_ot_ruleset_get_feature_count()
* docs/pango-sections.txt:
* docs/tmpl/opentype.sgml:
* pango/pangoft2.def:
Updated.
svn path=/trunk/; revision=2305
Behdad Esfahbod [Wed, 16 May 2007 01:39:19 +0000 (01:39 +0000)]
Add new engine API:
2007-05-15 Behdad Esfahbod <behdad@gnome.org>
* pango/pango-ot.h:
* pango/pango-ot-private.h:
* pango/pango-ot-ruleset.c (pango_ot_ruleset_add_feature),
(pango_ot_ruleset_get_feature_count):
Add new engine API:
pango_ot_ruleset_get_feature_count()
* docs/pango-sections.txt:
* docs/tmpl/opentype.sgml:
* pango/pangoft2.def:
Updated.
svn path=/trunk/; revision=2304
Behdad Esfahbod [Tue, 15 May 2007 23:29:32 +0000 (23:29 +0000)]
Move ruleset creation after populating buffer.
2007-05-15 Behdad Esfahbod <behdad@gnome.org>
* modules/arabic/arabic-fc.c (arabic_engine_shape):
* modules/basic/basic-fc.c (basic_engine_shape):
* modules/syriac/syriac-fc.c (syriac_engine_shape):
Move ruleset creation after populating buffer.
svn path=/trunk/; revision=2303
Behdad Esfahbod [Tue, 15 May 2007 23:27:08 +0000 (23:27 +0000)]
Port to new OpenType APIs.
2007-05-15 Behdad Esfahbod <behdad@gnome.org>
* modules/indic/indic-fc.c (indic_engine_shape), (create):
Port to new OpenType APIs.
svn path=/trunk/; revision=2302
Behdad Esfahbod [Tue, 15 May 2007 23:09:53 +0000 (23:09 +0000)]
Bug 436699 – N'Ko support Patch by Eugeniy Meshcheryakov
2007-05-15 Behdad Esfahbod <behdad@gnome.org>
Bug 436699 – N'Ko support
Patch by Eugeniy Meshcheryakov
* modules/arabic/arabic-fc.c (create):
* modules/arabic/arabic-ot.c (Get_Joining_Class):
Add N'Ko support to the Arabic module.
svn path=/trunk/; revision=2301
Richard Hult [Tue, 15 May 2007 20:14:00 +0000 (20:14 +0000)]
Bug 433805 - [Atsui] Approximate char/digit width width often 0
2007-05-15 Richard Hult <richard@imendio.com>
Bug 433805 - [Atsui] Approximate char/digit width width often 0
* pango/pangocairo-atsuifont.c:
(pango_cairo_atsui_font_get_metrics): Improve the metrics so it really
is average instead of max glyph width. Also keep the metrics per
language in the font so it's not constantly recreated.
(pango_cairo_atsui_font_describe_absolute): Implement.
* pango/pangocairo-atsuifontmap.c: Set default resolution.
svn path=/trunk/; revision=2300
Behdad Esfahbod [Tue, 15 May 2007 05:11:18 +0000 (05:11 +0000)]
Add various test txt files recently added.
2007-05-15 Behdad Esfahbod <behdad@gnome.org>
* pango-view/Makefile.am: Add various test txt files recently
added.
* pango-view/test-mixed.markup: A language-tagged version of
test-mixed.txt.
svn path=/trunk/; revision=2299
Behdad Esfahbod [Mon, 14 May 2007 23:48:00 +0000 (23:48 +0000)]
=== Released 1.17.0 ===
2007-05-14 Behdad Esfahbod <behdad@gnome.org>
* === Released 1.17.0 ===
* configure.in: Version 1.17.0
* NEWS: Updated.
svn path=/trunk/; revision=2297
Behdad Esfahbod [Mon, 14 May 2007 23:27:56 +0000 (23:27 +0000)]
Update to api changes
svn path=/trunk/; revision=2296
Behdad Esfahbod [Mon, 14 May 2007 23:10:41 +0000 (23:10 +0000)]
Update.
svn path=/trunk/; revision=2295
Behdad Esfahbod [Mon, 14 May 2007 08:51:52 +0000 (08:51 +0000)]
Bug 325714 – Pango should respect $LANGUAGE
2007-05-14 Behdad Esfahbod <behdad@gnome.org>
Bug 325714 – Pango should respect $LANGUAGE
* pango/pango-language.c (pango_language_matches),
(parse_default_languages), (_pango_script_get_default_language),
(pango_script_get_sample_language):
Make pango_script_get_sample_language() use the value of env var
PANGO_LANGUAGE or LANGUAGE (checked in that order) to make better
guesses. The env var should be a list of language tags, like "en:fa"
for example where makes Pango choose Persian (fa) fonts instead of
Arabic (ar) fonts...
svn path=/trunk/; revision=2294
Behdad Esfahbod [Mon, 14 May 2007 07:53:07 +0000 (07:53 +0000)]
Move pango_script_get_sample_language() from pango-script.c to
2007-05-14 Behdad Esfahbod <behdad@gnome.org>
* pango/pango-language.c (pango_script_get_sample_language):
* pango/pango-script.c: Move pango_script_get_sample_language()
from pango-script.c to pango-language.c. Fits better.
svn path=/trunk/; revision=2293
Behdad Esfahbod [Mon, 14 May 2007 07:22:08 +0000 (07:22 +0000)]
Part of Bug 325714 – Pango should respect $LANGUAGE Bug 414264 – Pango
2007-05-14 Behdad Esfahbod <behdad@gnome.org>
Part of Bug 325714 – Pango should respect $LANGUAGE
Bug 414264 – Pango vertical writing support is different with real
CJK usage.
* modules/arabic/arabic-fc.c (arabic_engine_shape):
* modules/basic/basic-fc.c (basic_engine_shape):
* modules/syriac/syriac-fc.c (syriac_engine_shape):
Remove fallback_shape() paths. Remove get_ruleset().
Use pango_ot_ruleset_get_for(), that correctly works for multiple
languages. Also makes basic shaper apply the 'vert' feature for
vertical text. Removes a net 500 lines.
Other OpenType modules need to be ported over time, however some
extensions may be needed. For example, the Hebrew shaper uses
fallback code if no GPOS tables are available. Currently using
pango_ot_ruleset_get_for() one cannot see which features were
found.
svn path=/trunk/; revision=2292
Behdad Esfahbod [Mon, 14 May 2007 07:11:48 +0000 (07:11 +0000)]
Part of Bug 414264 – Pango vertical writing support is different with
2007-05-14 Behdad Esfahbod <behdad@gnome.org>
Part of Bug 414264 – Pango vertical writing support is different with
real CJK usage.
* pango-view/test-mixed.txt: Add a line of Japanese text that
has brackets that should be rotated in vertical text.
svn path=/trunk/; revision=2291
Behdad Esfahbod [Mon, 14 May 2007 07:09:45 +0000 (07:09 +0000)]
Part of Bug 325714 – Pango should respect $LANGUAGE
2007-05-14 Behdad Esfahbod <behdad@gnome.org>
Part of Bug 325714 – Pango should respect $LANGUAGE
* pango/pango-ot.h:
* pango/pango-ot-ruleset.c (pango_ot_ruleset_get_for),
(pango_ot_ruleset_description_hash),
(pango_ot_ruleset_description_equal),
(pango_ot_ruleset_description_copy),
(pango_ot_ruleset_description_free):
Add new engine API:
PangoOTRulesetDescription
pango_ot_ruleset_get_for()
pango_ot_ruleset_description_hash()
pango_ot_ruleset_description_equal()
pango_ot_ruleset_description_copy()
pango_ot_ruleset_description_free()
The main addition is pango_ot_ruleset_get_for() that
takes a ruleset description, ie. script/language and list
of GSUB/GPOS features to apply, and returns a ruleset.
It manages all the work to cache rulesets, so modules
don't have to do that anymore. Given that modules do not
deal with just one ruleset anymore (because we want to
respect language, and allow user-selected features), this
makes their life way easier.
* docs/pango-sections.txt:
* docs/tmpl/opentype.sgml:
Update.
svn path=/trunk/; revision=2290
Behdad Esfahbod [Mon, 14 May 2007 05:01:46 +0000 (05:01 +0000)]
Add a FIXME
svn path=/trunk/; revision=2289
Behdad Esfahbod [Mon, 14 May 2007 04:24:47 +0000 (04:24 +0000)]
Mark some arguments const.
2007-05-14 Behdad Esfahbod <behdad@gnome.org>
* pango/pango-ot-buffer.c (pango_ot_buffer_get_glyphs),
(pango_ot_buffer_output):
* pango/pango-ot-ruleset.c (pango_ot_ruleset_substitute),
(pango_ot_ruleset_position):
* pango/pango-ot.h:
Mark some arguments const.
svn path=/trunk/; revision=2288
Behdad Esfahbod [Mon, 14 May 2007 04:06:17 +0000 (04:06 +0000)]
Part of Bug 325714 – Pango should respect $LANGUAGE
2007-05-13 Behdad Esfahbod <behdad@gnome.org>
Part of Bug 325714 – Pango should respect $LANGUAGE
* pango/pango-ot.h:
* pango/pango-ot-private.h:
* pango/pango-ot-tag.c (pango_ot_tag_from_script),
(pango_ot_tag_from_language):
* pango/pango-ot-info.c (pango_ot_info_find_script),
(pango_ot_info_find_language), (pango_ot_info_find_feature),
(pango_ot_info_list_languages), (pango_ot_info_list_features):
* pango/pango-ot-ruleset.c (pango_ot_ruleset_new),
(pango_ot_ruleset_new_for), (pango_ot_ruleset_add_feature),
(pango_ot_ruleset_maybe_add_feature),
(pango_ot_ruleset_maybe_add_features):
Add new engine API:
PANGO_OT_NO_FEATURE
PANGO_OT_NO_SCRIPT
PANGO_OT_TAG_DEFAULT_SCRIPT
PANGO_OT_TAG_DEFAULT_LANGUAGE
pango_ot_ruleset_new_for()
pango_ot_ruleset_maybe_add_feature()
pango_ot_ruleset_maybe_add_features()
Using pango_ot_ruleset_new_for() and
pango_ot_ruleset_maybe_add_features() drastically simplifies ruleset
building in modules, and does correct script and language selection
too. Modules need to be updated to use it though.
* docs/pango-docs.sgml:
* docs/pango-sections.txt:
* docs/tmpl/opentype.sgml:
Update.
svn path=/trunk/; revision=2285
Behdad Esfahbod [Mon, 14 May 2007 04:02:58 +0000 (04:02 +0000)]
Part of Bug 325714 – Pango should respect $LANGUAGE
2007-05-13 Behdad Esfahbod <behdad@gnome.org>
Part of Bug 325714 – Pango should respect $LANGUAGE
* pango/pango-ot.h:
* pango/pango-ot-private.h:
* pango/pango-ot-tag.c (pango_ot_tag_from_script),
(pango_ot_tag_from_language):
* pango/pango-ot-info.c (pango_ot_info_find_script),
(pango_ot_info_find_language), (pango_ot_info_find_feature),
(pango_ot_info_list_languages), (pango_ot_info_list_features):
* pango/pango-ot-ruleset.c (pango_ot_ruleset_new),
(pango_ot_ruleset_new_for), (pango_ot_ruleset_add_feature),
(pango_ot_ruleset_maybe_add_feature),
(pango_ot_ruleset_maybe_add_features):
Add new engine API:
PANGO_OT_NO_FEATURE
PANGO_OT_NO_SCRIPT
PANGO_OT_TAG_DEFAULT_SCRIPT
PANGO_OT_TAG_DEFAULT_LANGUAGE
pango_ot_ruleset_new_for()
pango_ot_ruleset_maybe_add_feature()
pango_ot_ruleset_maybe_add_features()
Using pango_ot_ruleset_new_for() and
pango_ot_ruleset_maybe_add_features() drastically simplifies ruleset
building in modules, and does correct script and language selection
too. Modules need to be updated to use it though.
* docs/pango-docs.sgml:
* docs/pango-sections.txt:
* docs/tmpl/opentype.sgml:
Update.
svn path=/trunk/; revision=2284
Behdad Esfahbod [Mon, 14 May 2007 00:56:39 +0000 (00:56 +0000)]
Add --language.
2007-05-13 Behdad Esfahbod <behdad@gnome.org>
* pango-view/viewer-render.c (do_output), (parse_options):
Add --language.
svn path=/trunk/; revision=2283
Behdad Esfahbod [Thu, 10 May 2007 23:56:11 +0000 (23:56 +0000)]
Use PANGO_OT_DEFAULT_LANGUAGE and PANGO_OT_ALL_GLYPHS instead of hardcoded
2007-05-10 Behdad Esfahbod <behdad@gnome.org>
* modules/arabic/arabic-fc.c (maybe_add_gsub_feature),
(maybe_add_gpos_feature), (get_ruleset):
* modules/basic/basic-fc.c (get_ruleset):
* modules/hebrew/hebrew-fc.c (maybe_add_gsub_feature),
(maybe_add_gpos_feature), (get_ruleset):
* modules/indic/indic-fc.c (maybe_add_GSUB_feature),
(maybe_add_GPOS_feature):
* modules/khmer/khmer-fc.c (maybe_add_GSUB_feature),
(maybe_add_GPOS_feature):
* modules/syriac/syriac-fc.c (maybe_add_gsub_feature),
(maybe_add_gpos_feature), (get_ruleset):
* modules/thai/thai-ot.c (maybe_add_gsub_feature),
(maybe_add_gpos_feature), (thai_ot_get_ruleset),
(lao_ot_get_ruleset):
* modules/tibetan/tibetan-fc.c (maybe_add_GSUB_feature),
(maybe_add_GPOS_feature):
Use PANGO_OT_DEFAULT_LANGUAGE and PANGO_OT_ALL_GLYPHS instead
of hardcoded 0xFFFF.
svn path=/trunk/; revision=2282
Behdad Esfahbod [Thu, 10 May 2007 21:38:42 +0000 (21:38 +0000)]
Split ChangeLog.
2007-05-10 Behdad Esfahbod <behdad@gnome.org>
* ChangeLog.pre-1-16: Split ChangeLog.
svn path=/trunk/; revision=2275
Behdad Esfahbod [Thu, 10 May 2007 21:26:21 +0000 (21:26 +0000)]
New public API:
2007-05-10 Behdad Esfahbod <behdad@gnome.org>
* pango/Makefile.am:
* pango/pango-ot.h:
* pango/pango-ot-tag.c (pango_ot_tag_from_script),
(pango_ot_tag_to_script), (lang_compare_first_component),
(pango_ot_tag_from_language), (pango_ot_tag_to_language):
New public API:
PANGO_OT_DEFAULT_SCRIPT
pango_ot_tag_from_script()
pango_ot_tag_to_script()
pango_ot_tag_from_language()
pango_ot_tag_to_language()
* tests/Makefile.am:
* tests/test-ot-tags.c:
Test case for new functions.
* pango/pangoft2.def:
* docs/pango-docs.sgml:
* docs/pango-sections.txt:
* docs/tmpl/main.sgml:
* docs/tmpl/opentype.sgml:
Updated.
svn path=/trunk/; revision=2274
Behdad Esfahbod [Thu, 10 May 2007 20:53:53 +0000 (20:53 +0000)]
Bug 437534 – pango_language_includes_script is buggy
2007-05-10 Behdad Esfahbod <behdad@gnome.org>
Bug 437534 – pango_language_includes_script is buggy
* pango/pango-language.c (lang_compare_first_component),
(lang_info_compare), (script_for_lang_compare),
(pango_language_includes_script): Fix script_for_lang table lookup.
svn path=/trunk/; revision=2273
Behdad Esfahbod [Thu, 10 May 2007 18:32:45 +0000 (18:32 +0000)]
Don't set gravity in pango_fc_font_description_from_pattern() if it was
2007-05-10 Behdad Esfahbod <behdad@gnome.org>
* pango/pangofc-fontmap.c (pango_fc_font_description_from_pattern),
(pango_fc_face_describe): Don't set gravity in
pango_fc_font_description_from_pattern() if it was not set on the
pattern. This is a bit different from other properties, but that
really is how gravity works (unlike say weight that not having it said
means normal weight).
svn path=/trunk/; revision=2272
Behdad Esfahbod [Wed, 9 May 2007 23:06:54 +0000 (23:06 +0000)]
Update from latest fontconfig sources.
2007-05-09 Behdad Esfahbod <behdad@gnome.org>
* pango/pango-script-lang-table.h: Update from latest fontconfig
sources.
* tools/gen-script-for-lang.c (scripts_for_line): Make it handle
PANGO_SCRIPT_UNKNOWN.
svn path=/trunk/; revision=2271
Behdad Esfahbod [Wed, 9 May 2007 22:33:00 +0000 (22:33 +0000)]
Move pango_language_includes_script() from pango-script.c to
2007-05-09 Behdad Esfahbod <behdad@gnome.org>
* pango/pango-language.c (script_for_lang_compare),
(pango_language_includes_script):
* pango/pango-script.c: Move pango_language_includes_script() from
pango-script.c to pango-language.c that it belongs.
svn path=/trunk/; revision=2270
Behdad Esfahbod [Tue, 8 May 2007 22:12:07 +0000 (22:12 +0000)]
Minor include reordering.
2007-05-08 Behdad Esfahbod <behdad@gnome.org>
* pango/pango-matrix.h: Minor include reordering.
svn path=/trunk/; revision=2269
Behdad Esfahbod [Tue, 8 May 2007 22:07:48 +0000 (22:07 +0000)]
Move PangoLanguage stuff into pango-language.[ch]
2007-05-08 Behdad Esfahbod <behdad@gnome.org>
* pango/Makefile.am:
* pango/pango-script.h:
* pango/pango-types.h:
* pango/pango-utils.c:
* pango/pango-language.c:
* pango/pango-language.h:
Move PangoLanguage stuff into pango-language.[ch]
svn path=/trunk/; revision=2268
Behdad Esfahbod [Tue, 8 May 2007 20:43:51 +0000 (20:43 +0000)]
Bug 436988 – Adding PangoScript to PangoAnalysis
2007-05-08 Behdad Esfahbod <behdad@gnome.org>
Bug 436988 – Adding PangoScript to PangoAnalysis
* pango/pango-item.h:
* pango/pango-context.c (itemize_state_add_character):
Add a 'script' member to PangoAnalysis. It's added as a guint8
in the padding available in that struct, though it's value is a
PangoScript.
* pango/pangox.c (itemize_string_foreach):
Update.
svn path=/trunk/; revision=2267
Behdad Esfahbod [Tue, 8 May 2007 18:17:20 +0000 (18:17 +0000)]
Bug 416515 – Time is not aligned with date on vertical panel
2007-05-08 Behdad Esfahbod <behdad@gnome.org>
Bug 416515 – Time is not aligned with date on vertical panel
* pango/pango-context.c (itemize_state_init),
(itemize_state_update_for_new_run): centered_baseline should only
be set from context->resolved_gravity and never changed through
markup. This means that pango_context_set_base_gravity has no
equivalent markup. Doesn't sound limiting to me: you need to rotate
the layout to get real vertical, so it's not just a matter of markup
anyway. At least not at this point.
svn path=/trunk/; revision=2266
Behdad Esfahbod [Tue, 8 May 2007 01:51:05 +0000 (01:51 +0000)]
Bug 436154 – Error building the pango.modules file while cross compiling
2007-05-07 Behdad Esfahbod <behdad@gnome.org>
Bug 436154 – Error building the pango.modules file while cross
compiling
* modules/Makefile.am: Make local pango.module generation work with
cross-compilation.
svn path=/trunk/; revision=2265
Richard Hult [Sat, 5 May 2007 09:42:40 +0000 (09:42 +0000)]
Bug 434160 - [atsui] Italic versions of some faces can't be created
2007-05-05 Richard Hult <richard@imendio.com>
Bug 434160 - [atsui] Italic versions of some faces can't be created
* pango/pangoatsui-fontmap.c:
* pango/pangoatsui-private.h:
* pango/pangocairo-atsuifont.c: Follow the other backends and create
italic faces when they are not available. Apply synthetic italic
in two cases, when the font manager hands out italic faces that are
not in fact italic, and for the ones we've created ourselves.
svn path=/trunk/; revision=2264
Behdad Esfahbod [Fri, 4 May 2007 11:50:30 +0000 (11:50 +0000)]
Add bug reference.
svn path=/trunk/; revision=2263
Behdad Esfahbod [Fri, 4 May 2007 11:40:05 +0000 (11:40 +0000)]
Add new symbols.
svn path=/trunk/; revision=2262
Behdad Esfahbod [Fri, 4 May 2007 11:33:14 +0000 (11:33 +0000)]
New API
2007-05-04 Behdad Esfahbod <behdad@gnome.org>
* pango/pangocairo.h:
* pango/pangocairo-context.c:
* pango/pangocairo-render.c:
New API
PangoCairoShapeRendererFunc and
pango_cairo_context_[sg]et_shape_renderer()
* docs/pango-sections.txt, docs/tmpl/pangocairo.sgml: Document new
* API.
* examples/Makefile.am, examples/cairoshape.c: New example to show off
new API/feature.
svn path=/trunk/; revision=2261
Behdad Esfahbod [Fri, 4 May 2007 08:30:34 +0000 (08:30 +0000)]
Rip non-fontmap stuff from pangocairo-fontmap.c into pangocairo-context.c.
2007-05-04 Behdad Esfahbod <behdad@gnome.org>
* pango/Makefile.am:
* pango/pangocairo-context.c:
* pango/pangocairo-fontmap.c:
Rip non-fontmap stuff from pangocairo-fontmap.c into
pangocairo-context.c.
svn path=/trunk/; revision=2260
Behdad Esfahbod [Thu, 3 May 2007 22:36:44 +0000 (22:36 +0000)]
Improve docs about freeing returned items.
2007-05-03 Behdad Esfahbod <behdad@gnome.org>
* pango/pango-context.c (pango_itemize): Improve docs about freeing
returned items.
svn path=/trunk/; revision=2259
Behdad Esfahbod [Thu, 3 May 2007 05:02:12 +0000 (05:02 +0000)]
New test text that contains a Persian monologue by YarAli PourMoghaddam
2007-05-03 Behdad Esfahbod <behdad@gnome.org>
* pango-view/test-long-paragraph.txt: New test text that contains a
Persian monologue by YarAli PourMoghaddam which is a single paragraph
of more than 10,000 chars and 2,400 words. Used for testing the
effect of previous change.
svn path=/trunk/; revision=2258
Behdad Esfahbod [Thu, 3 May 2007 05:00:32 +0000 (05:00 +0000)]
When breaking item to fit it into current line, go from the beginning,
2007-05-03 Behdad Esfahbod <behdad@gnome.org>
* pango/pango-layout.c (process_item): When breaking item to fit it
into current line, go from the beginning, adding char at a time until
it doesn't fit anymore instead of removing chars from the end. The
difference is a O(n) as opposed to O(n^2) algorithm were n is the
number of lines in the paragraph (assuming constant chars per line).
svn path=/trunk/; revision=2257
Behdad Esfahbod [Thu, 3 May 2007 04:42:21 +0000 (04:42 +0000)]
Save one layout rendering per view. Down to two from three now.
2007-05-03 Behdad Esfahbod <behdad@gnome.org>
* pango-view/viewer-render.c (output_body), (do_output): Save
one layout rendering per view. Down to two from three now.
svn path=/trunk/; revision=2256
Behdad Esfahbod [Thu, 3 May 2007 00:51:11 +0000 (00:51 +0000)]
New test text with long Latin and Arabic lines, suitable for --justify
2007-05-02 Behdad Esfahbod <behdad@gnome.org>
* pango-view/test-justify.txt: New test text with long Latin and
Arabic lines, suitable for --justify testing.
svn path=/trunk/; revision=2255
Behdad Esfahbod [Thu, 3 May 2007 00:44:53 +0000 (00:44 +0000)]
Bug 64538 – pango_layout_set_justify() doesn't work
2007-05-02 Behdad Esfahbod <behdad@gnome.org>
Bug 64538 – pango_layout_set_justify() doesn't work
* pango/pango-layout.c (process_item), (justify_clusters),
(justify_words): If no space found, justify by inserting space
between clusters.
svn path=/trunk/; revision=2254
Behdad Esfahbod [Wed, 2 May 2007 23:21:48 +0000 (23:21 +0000)]
Fix letter-spacing with justification. We now distribute letter-spacing
2007-05-02 Behdad Esfahbod <behdad@gnome.org>
* pango/pango-glyph-item.c (pango_glyph_item_letter_space):
* pango/pango-item.c (pango_item_split):
* pango/pango-layout.c (distribute_letter_spacing), (shape_run),
(debug), (process_item), (process_line), (pad_glyphstring_right),
(pad_glyphstring_left), (zero_line_final_space),
(adjust_line_letter_spacing), (pango_layout_line_postprocess):
Fix letter-spacing with justification. We now distribute
letter-spacing equally on both sides of clusters, instead of putting
it all on one side.
svn path=/trunk/; revision=2253
Behdad Esfahbod [Wed, 2 May 2007 09:53:25 +0000 (09:53 +0000)]
Bug 64538 – pango_layout_set_justify() doesn't work
2007-05-02 Behdad Esfahbod <behdad@gnome.org>
Bug 64538 – pango_layout_set_justify() doesn't work
* pango/pango-layout.c (zero_line_final_space), (justify_clusters),
(justify_words), (pango_layout_line_postprocess): Implement
justification by expanding spaces!
Based on early patch from Mathias Hasselmann.
svn path=/trunk/; revision=2252
Behdad Esfahbod [Wed, 2 May 2007 07:50:06 +0000 (07:50 +0000)]
Add patch-from.
svn path=/trunk/; revision=2251
Behdad Esfahbod [Wed, 2 May 2007 07:49:38 +0000 (07:49 +0000)]
Add is_expandable_space to PangoLogAttr.
2007-05-02 Behdad Esfahbod <behdad@gnome.org>
* docs/tmpl/main.sgml:
* pango/break.c (pango_default_break):
* pango/pango-break.h:
Add is_expandable_space to PangoLogAttr.
svn path=/trunk/; revision=2250
Mathias Hasselmann [Wed, 2 May 2007 07:37:09 +0000 (07:37 +0000)]
Add --justify.
2007-05-02 Mathias Hasselmann <mathias.hasselmann@gmx.de>
* pango-view/viewer-render.c (make_layout), (parse_options):
Add --justify.
svn path=/trunk/; revision=2249
Behdad Esfahbod [Wed, 2 May 2007 06:47:16 +0000 (06:47 +0000)]
Bug 355789 – Pango misaligns word-wrapped text due to trailing
2007-05-02 Behdad Esfahbod <behdad@gnome.org>
Bug 355789 – Pango misaligns word-wrapped text due to trailing
whitespace
* pango/pango-layout.c (zero_line_final_space),
(pango_layout_line_postprocess): Make logical-final whitespace
on wrapped lines zero-width.
svn path=/trunk/; revision=2248
Behdad Esfahbod [Wed, 2 May 2007 05:40:52 +0000 (05:40 +0000)]
Keep track of line start_offset in break state.
2007-05-02 Behdad Esfahbod <behdad@gnome.org>
* pango/pango-layout.c (process_line), (pango_layout_check_lines):
Keep track of line start_offset in break state.
svn path=/trunk/; revision=2247
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