| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
2007-07-31 Behdad Esfahbod <behdad@gnome.org>
Bug 462137 – memory corruption in pango_default_break
* pango/break.c (pango_default_break): Handle the case of
an empty string correctly.
svn path=/branches/pango-1-16/; revision=2386
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-07-27 Behdad Esfahbod <behdad@gnome.org>
* === Released 1.16.5 ===
* configure.in: Version 1.16.5
* NEWS: Updated.
svn path=/branches/pango-1-16/; revision=2380
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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=/branches/pango-1-16/; revision=2327
|
|
|
|
|
|
|
|
|
| |
2007-05-10 Behdad Esfahbod <behdad@gnome.org>
* ChangeLog.pre-1-16: Split ChangeLog.
svn path=/branches/pango-1-16/; revision=2281
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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=/branches/pango-1-16/; revision=2280
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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=/branches/pango-1-16/; revision=2279
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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=/branches/pango-1-16/; revision=2278
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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=/branches/pango-1-16/; revision=2277
|
|
|
|
|
|
|
|
|
| |
2007-05-10 Behdad Esfahbod <behdad@gnome.org>
* ChangeLog.pre-1-16: Split ChangeLog.
svn path=/trunk/; revision=2275
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
2007-05-08 Behdad Esfahbod <behdad@gnome.org>
* pango/pango-matrix.h: Minor include reordering.
svn path=/trunk/; revision=2269
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn path=/trunk/; revision=2263
|
|
|
|
| |
svn path=/trunk/; revision=2262
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn path=/trunk/; revision=2251
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn path=/trunk/; revision=2244
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn path=/trunk/; revision=2235
|
|
|
|
|
|
|
|
|
|
| |
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
|