| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
Gecko uses its own PangoFcFontMap subclass with its own PangoFontSet.
Previously we were setting font->fontmap in our own private
PangoFcFontSet. Now it's up to the PangoFcFont subclass to set it
when creating the new font object.
Also adds the following backend-public symbol:
pango_fc_font_map_find_decoder()
|
|
|
|
| |
svn path=/trunk/; revision=2810
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2009-01-09 Behdad Esfahbod <behdad@gnome.org>
Bug 567165 – Apply all pattern matrices
* pango/pangocairo-fcfont.c (_pango_cairo_fc_font_new):
* pango/pangofc-fontmap.c (pango_fc_font_map_new_font):
Apply all FC_MATRIX values, not just the first one. Fixes synthetic
italic rotated text with ft2 and xft backends. Can't believe no one
ever noticed that they are broken...
svn path=/trunk/; revision=2808
|
|
|
|
|
|
|
|
|
|
| |
2009-01-09 Behdad Esfahbod <behdad@gnome.org>
* docs/Makefile.am:
* docs/pango.types:
Autogenerage pango.types. Remove it from repository, but dist it.
svn path=/trunk/; revision=2805
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2009-01-09 Behdad Esfahbod <behdad@gnome.org>
* docs/pango-sections.txt:
* docs/tmpl/pangofc-fontmap.sgml:
* docs/tmpl/text-attributes.sgml:
* pango/pangocairo-fc.h:
* pango/pangocairo-fcfont.c (get_font_size), (get_gravity_class),
(get_gravity), (_pango_cairo_fc_font_new):
* pango/pangocairo-fcfontmap.c
(pango_cairo_fc_font_map_font_key_substitute),
(pango_cairo_fc_font_map_create_font),
(pango_cairo_fc_font_map_class_init):
* pango/pangofc-font.c (_pango_fc_font_get_font_key),
(_pango_fc_font_set_font_key):
* pango/pangofc-fontmap.c (pango_fc_font_key_equal),
(pango_fc_font_key_hash), (pango_fc_font_key_free),
(pango_fc_font_key_copy), (get_context_matrix),
(pango_fc_font_key_init), (pango_fc_font_key_get_pattern),
(pango_fc_font_key_get_matrix),
(pango_fc_font_key_get_context_key), (pango_fc_font_map_init),
(pango_fc_font_map_class_init), (pango_fc_font_map_add),
(_pango_fc_font_map_remove), (pango_fc_make_pattern),
(pango_fc_font_map_new_font), (pango_fc_default_substitute),
(pango_fc_font_map_get_patterns), (pango_fc_font_map_load_fontset):
* pango/pangofc-fontmap.h:
* pango/pangofc-private.h:
Change PangoFc font loading API such that PangoContext is not passed
down. We use a new opaque struct called PangoFcFontKey. This struct
is in fact our font hash key. This avoids problems where previously
we were using context members that were not necessarily considered
by the pangofc layer when caching.
This is in preparation for lazy loading of fonts in the pangofc fontmap.
svn path=/trunk/; revision=2804
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2009-01-07 Behdad Esfahbod <behdad@gnome.org>
Bug 566941 – Add PANGO_ATTRIBUTE_INDEX_FROM_TEXT_BEGINNING and
PANGO_ATTRIBUTE_INDEX_TO_TEXT_END
* docs/pango-sections.txt:
* docs/tmpl/text-attributes.sgml:
* pango/pango-attributes.c (pango_attribute_init):
* pango/pango-attributes.h:
Add two new public macros:
PANGO_ATTRIBUTE_INDEX_FROM_TEXT_BEGINNING
PANGO_ATTRIBUTE_INDEX_TO_TEXT_END
svn path=/trunk/; revision=2793
|
|
|
|
|
|
|
|
|
|
|
|
| |
2009-01-06 Behdad Esfahbod <behdad@gnome.org>
Bug 328206 – Update/remove some old files
* docs/Makefile.am:
* docs/TEXT/glossary:
Remove some old files.
svn path=/trunk/; revision=2791
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2009-01-06 Behdad Esfahbod <behdad@gnome.org>
Bug 166709 – Handle font variants more consistently
* pango/pango-font.h:
Add enum values PANGO_WEIGHT_BOOK and PANGO_WEIGHT_ULTRAHEAVY.
* pango/fonts.c:
* docs/tmpl/fonts.sgml:
Add new weights with their aliases, as well as aliasing "Roman" to the
normal weight.
svn path=/trunk/; revision=2787
|
|
|
|
|
|
|
|
|
|
|
|
| |
2009-01-02 Behdad Esfahbod <behdad@gnome.org>
Bug 512662 – Update check.docs for pango-undeclared.txt
* docs/Makefile.am:
* docs/check.docs:
Sync to the version in cairo.
svn path=/trunk/; revision=2778
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-12-14 Behdad Esfahbod <behdad@gnome.org>
Bug 563898 – Generated output is not deterministic
* docs/pango-querymodules.xml:
* docs/pango_markup.sgml:
Add section ids, such that generated HTML is deterministic.
svn path=/trunk/; revision=2757
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-12-07 Behdad Esfahbod <behdad@gnome.org>
Bug 563557 – set g_get_prgname() in fc pattern
* docs/pango-sections.txt:
* pango/pangofc-fontmap.c (pango_fc_make_pattern):
* pango/pangofc-fontmap.h:
Add PANGO_FC_PRGNAME which is the fontconfig element "pangoprgname".
Populate it on all our fontconfig search patterns using
g_get_prgname(). See bug for sample use.
svn path=/trunk/; revision=2751
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-12-05 Behdad Esfahbod <behdad@gnome.org>
Bug 563356 – The input area of firefox and the blank width after text
in gnome-menu was stretched too wide, under pango-1.22.3
* docs/tmpl/fonts.sgml:
* pango/pango-impl-utils.h:
* pango/pangocairo-atsuifont.c
(pango_cairo_atsui_font_create_metrics_for_context):
* pango/pangocairo-win32font.c
(pango_cairo_win32_font_create_metrics_for_context):
* pango/pangofc-font.c (pango_fc_font_create_metrics_for_context):
For approximate_char_width calculation take each char's width into
account. That is, do a weighted average instead of uniform average.
g_unichar_iszerowidth() chars count as 0, g_unichar_iswide() chars
count 2, and the rest count as 1. Pretty much wcwidth() behavior.
See bug report for rationale.
svn path=/trunk/; revision=2747
|
|
|
|
| |
svn path=/trunk/; revision=2697
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-08-19 Behdad Esfahbod <behdad@gnome.org>
Bug 473806 – Improve pango_language_get_sample_string()
* docs/Makefile.am:
* pango/Makefile.am:
* pango/pango-language-sample-table.h:
* pango/pango-language.c (pango_language_get_sample_string):
Add language sample texts that are actually usable. Compiled from
a variety of sources. See pango-language-sample-table.h.
svn path=/trunk/; revision=2695
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-08-18 Behdad Esfahbod <behdad@gnome.org>
Bug 473805 – Add API enumerating scripts for a language
* docs/Makefile.am:
* docs/pango-sections.txt:
* docs/tmpl/scripts.sgml:
* docs/tmpl/text-attributes.sgml:
* docs/tmpl/utils.sgml:
* pango/pango-language.c (pango_language_get_scripts),
(pango_language_includes_script),
(pango_script_get_sample_language):
* pango/pango-language.h:
* pango/pango-script.c:
* pango/pango.def:
Add a minor new public API:
pango_language_get_scripts()
This is what pango_language_includes_script() has been using
internally. Previously one had to call that function over all
possible script values to determine which scripts a language
uses. The new API makes that much easier.
svn path=/trunk/; revision=2693
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-08-06 Behdad Esfahbod <behdad@gnome.org>
* pango/pangocairo-render.c
(pango_cairo_renderer_show_text_glyphs),
(pango_cairo_renderer_draw_glyphs),
(pango_cairo_renderer_draw_glyph_item):
Implement draw_glyph_item using cairo_show_text_glyphs().
* configure.in: Require cairo >= 1.7.1
svn path=/trunk/; revision=2685
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-08-06 Behdad Esfahbod <behdad@gnome.org>
Bug 377948 – Make pango_glyph_item_iter public
* pango/pango-glyph-item.c (pango_glyph_item_iter_copy),
(pango_glyph_item_iter_free), (pango_glyph_item_iter_get_type),
(pango_glyph_item_iter_next_cluster),
(pango_glyph_item_iter_prev_cluster),
(pango_glyph_item_iter_init_start),
(pango_glyph_item_iter_init_end), (pango_glyph_item_apply_attrs),
(pango_glyph_item_letter_space):
* pango/pango-glyph-item.h:
New public API, for iterating a PangoGlyphItem:
PangoGlyphItemIter
PANGO_TYPE_GLYPH_ITEM_ITER
pango_glyph_item_iter_copy()
pango_glyph_item_iter_free()
pango_glyph_item_iter_init_start()
pango_glyph_item_iter_init_end()
pango_glyph_item_iter_next_cluster()
pango_glyph_item_iter_prev_cluster()
* pango/pango.def:
* docs/tmpl/glyphs.sgml:
* docs/pango-sections.txt:
* pango/Makefile.am:
* pango/ellipsize.c (line_iter_next_cluster),
(line_iter_prev_cluster), (find_initial_span):
* pango/pango-layout.c (justify_words):
Update.
* pango/pango-glyph-item-private.h:
Remove.
svn path=/trunk/; revision=2679
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-08-05 Behdad Esfahbod <behdad@gnome.org>
* pango/pango-context.c:
* pango/pango-context.h:
Make the following API public:
pango_context_new()
pango_context_set_font_map()
* pango/pango-fontmap.c (pango_font_map_create_context):
* pango/pango-fontmap.h:
New public API:
pango_font_map_create_context()
* pango/pangocairo-context.c (pango_cairo_create_context):
* pango/pangocairo-font.c (_pango_cairo_font_get_metrics),
(_pango_cairo_font_private_get_hex_box_info):
* pango/pangocairo-fontmap.c (pango_cairo_font_map_create_context):
* pango/pangocairo.h:
Deprecate pango_cairo_font_map_create_context().
* pango/pangofc-font.c (pango_fc_font_get_metrics):
* pango/pangofc-fontmap.c (pango_fc_font_map_create_context):
* pango/pangofc-fontmap.h:
Deprecate pango_fc_font_map_create_context().
* pango/pangoft2-fontmap.c (pango_ft2_font_map_create_context),
(pango_ft2_get_context):
* pango/pangoft2.h:
Deprecate pango_ft2_font_map_create_context().
* pango/pangowin32.c (pango_win32_get_context),
(pango_win32_font_get_metrics):
* pango/pangowin32.h:
Deprecate pango_win32_get_context().
* pango/pangoxft-font.c (_pango_xft_font_get_mini_font):
* pango/pangoxft-fontmap.c (pango_xft_get_context):
* pango/pangoxft.h:
Deprecate pango_xft_get_context().
* pango/pangox-fontmap.c (pango_x_font_map_for_display):
* pango/pangox.c (get_context_info), (pango_x_get_context),
(pango_x_context_set_funcs), (pango_x_render_layout_line):
Deprecate pango_x_get_context(), again.
* docs/pango-sections.txt:
* docs/tmpl/fonts.sgml:
* pango-view/viewer-pangocairo.c (pangocairo_view_get_context):
* pango-view/viewer-pangoft2.c (pangoft2_view_get_context):
* pango-view/viewer-pangox.c (pangox_view_get_context):
* pango-view/viewer-pangoxft.c (pangoxft_view_get_context):
* pango/check.defs:
* pango/pango.def:
Update.
svn path=/trunk/; revision=2675
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-07-30 Behdad Esfahbod <behdad@gnome.org>
* docs/pango-sections.txt:
* docs/tmpl/pango-renderer.sgml:
* pango/pango-renderer.c:
* pango/pango-renderer.h:
New public API:
PangoRenderer::draw_glyph_item()
pango_renderer_draw_glyph_item()
Make layout and layout-line default renderers go through
draw_glyph_item(), which then by default falls back to
draw_glyphs(). The advantage in draw_glyph_item() is that it
has access to the text and cluster information.
* pango/pangocairo.h:
* pango/pangocairo-render.c:
New public API:
pango_cairo_show_glyph_item()
svn path=/trunk/; revision=2674
|
|
|
|
|
|
|
|
| |
2008-07-30 Behdad Esfahbod <behdad@gnome.org>
* docs/tmpl/text-attributes.sgml: Fix doc build warning.
svn path=/trunk/; revision=2673
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-06-09 Behdad Esfahbod <behdad@gnome.org>
Bug 537258 – Add a pango_language_to_string() function
* docs/tmpl/text-attributes.sgml:
* pango/pango-language.c (pango_language_to_string):
* pango/pango-language.h:
* pango/pango.def:
Add a function implementation of pango_language_to_string().
The macro is still available. To be removed in a cycle or two from
now. (bug #537466)
svn path=/trunk/; revision=2651
|
|
|
|
|
|
|
|
|
|
|
| |
2008-04-30 Behdad Esfahbod <behdad@gnome.org>
Bug 530757 – Docs build breaks because of hash sign in URL in <ulink...>
* docs/tmpl/main.sgml: Make it build.
svn path=/trunk/; revision=2622
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-04-24 Behdad Esfahbod <behdad@gnome.org>
Part of Bug 97545 – Make pango_default_break follow Unicode TR #29
* docs/tmpl/main.sgml:
* pango/break.c (pango_default_break):
* pango/pango-break.h:
* tests/testboundaries_ucd.c (main):
Add new PangoLogAttr member is_word_boundary, that implements UAX#29's
Word Boundaries semantics. Test fully passes for it.
svn path=/trunk/; revision=2618
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-04-21 Behdad Esfahbod <behdad@gnome.org>
* docs/pango-docs.sgml:
* docs/pango-sections.txt:
* docs/tmpl/bidi.sgml:
* docs/tmpl/main.sgml:
* docs/tmpl/vertical.sgml:
* pango/pango-bidi-type.c (pango_log2vis_get_embedding_levels),
(pango_unichar_direction), (pango_get_mirror_char):
* pango/pango-bidi-type.h:
* pango/pango-types.h:
* pango/pango-utils.c:
Group bidi stuff together. Add a section in the docs for them.
svn path=/trunk/; revision=2608
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-04-21 Behdad Esfahbod <behdad@gnome.org>
Bug 515432 – Add function to get bidirectional character type of a
unicode character
Patch from Jürg Billeter
* docs/pango-sections.txt:
* docs/tmpl/layout.sgml:
* docs/tmpl/main.sgml:
* docs/tmpl/pangocairo.sgml:
* pango/Makefile.am:
* pango/pango-bidi-type.c (pango_bidi_type_for_unichar):
* pango/pango-bidi-type.h:
* pango/pango-types.h:
* pango/pango-utils.c (pango_log2vis_get_embedding_levels),
(pango_unichar_direction):
* pango/pango.def:
* pango/pango.h:
New public API:
enum PangoBidiType;
pango_bidi_type_get_type()
pango_bidi_type_for_unichar()
svn path=/trunk/; revision=2607
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-04-21 Behdad Esfahbod <behdad@gnome.org>
Bug 517119 – Add pango_cairo_create_context()
* docs/pango-sections.txt:
* pango/pangocairo-context.c (pango_cairo_create_context),
(pango_cairo_create_layout):
* pango/pangocairo.def:
* pango/pangocairo.h:
New public API:
pango_cairo_create_context()
svn path=/trunk/; revision=2606
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-04-21 Behdad Esfahbod <behdad@gnome.org>
Bug 404416 – pango_layout_get_baseline or something
* docs/pango-sections.txt:
* pango/pango-layout.c (pango_layout_get_baseline):
* pango/pango-layout.h:
* pango/pango.def:
New public API:
pango_layout_get_baseline()
svn path=/trunk/; revision=2605
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-04-21 Behdad Esfahbod <behdad@gnome.org>
Bug 490669 – add some <span> attribute aliases
* docs/pango_markup.sgml:
* pango/pango-markup.c (span_parse_func):
Add fgcolor, bgcolor, font, font_size, font_weight, font_variant, ...
svn path=/trunk/; revision=2603
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-04-21 Behdad Esfahbod <behdad@gnome.org>
Bug 514617 – Add pango_cairo_font_map_set_default()
* docs/pango-sections.txt:
* docs/tmpl/pangocairo.sgml:
* pango/pangocairo-fontmap.c (pango_cairo_font_map_get_default),
(pango_cairo_font_map_set_default):
* pango/pangocairo.def:
* pango/pangocairo.h:
New public API:
pango_cairo_font_map_set_default()
svn path=/trunk/; revision=2600
|
|
|
|
|
|
|
|
|
| |
2008-04-21 Behdad Esfahbod <behdad@gnome.org>
* docs/pango-docs.sgml: Add index of new API in 1.22.
svn path=/trunk/; revision=2599
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-04-21 Behdad Esfahbod <behdad@gnome.org>
Bug 511183 – Add pango_attr_type_get_name()
* docs/pango-sections.txt:
* docs/tmpl/text-attributes.sgml:
* pango/pango-attributes.c (pango_attr_type_register),
(pango_attr_type_get_name):
* pango/pango-attributes.h:
* pango/pango.def:
New public API:
pango_attr_type_get_name()
svn path=/trunk/; revision=2598
|
|
|
|
| |
svn path=/trunk/; revision=2588
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-04-08 Behdad Esfahbod <behdad@gnome.org>
Bug 491553 – Update to Unicode 5.1.0
* docs/tmpl/scripts.sgml:
* pango/mini-fribidi/README:
* pango/mini-fribidi/fribidi_tab_char_type_2.i:
* pango/pango-script-lang-table.h:
* pango/pango-script.h:
Update to Unicode Character Databse 5.1.0. This adds new entries to
the PangoScript enum. Requires glib >= 2.16.3 for the update Unicode
data there, but not bumping the requirement in a stable point release.
svn path=/trunk/; revision=2587
|
|
|
|
| |
svn path=/trunk/; revision=2558
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-01-21 Behdad Esfahbod <behdad@gnome.org>
Bug 508002 – change pango_layout_pixel_extents() to round logical rect
to be inclusive
* pango/pango-layout.c (pango_layout_get_pixel_extents),
(pango_layout_line_get_pixel_extents): Round extents to pixels
inclusively. That is, pass both ink_rect and logical_rect as first
argument to pango_extents_to_pixels().
* pango/pango-matrix.c (pango_matrix_transform_pixel_rectangle):
Fix rounding.
* pango/pango-types.h:
* docs/tmpl/glyphs.sgml:
* pango/pango-utils.c (pango_extents_to_pixels):
Rename pango_extents_to_pixels() function arguments from @ink_rect and
@logical_rect to @inclusive and @nearest. Given that this API is a
fairly new addition and not commonly used, language bindings are
encouraged to update their argument names accordingly. Moreover, they
are encouraged to wrap this function as two different calls:
extents_to_pixels_inclusive() and extents_to_pixels_nearest(), or
similar conventions that best reflect their native language.
svn path=/trunk/; revision=2548
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-01-14 Behdad Esfahbod <behdad@gnome.org>
Bug 469313 – Add pango_layout_set_height()
Bug 508179 – PangoGlyphUnit confusion
* pango/pango-layout.h:
* pango/pango-layout-private.h:
* pango/pango-layout.c:
* pango/ellipsize.c (_pango_layout_line_ellipsize):
New public API:
pango_layout_set_height()
See docs for semantics. Currently only negative height values (number
of lines) is implemented.
* pango-view/viewer-render.c (make_layout), (output_body),
(parse_options):
Implement --height.
* pango/pango.def:
* docs/pango-sections.txt:
* docs/tmpl/layout.sgml:
Update.
2008-01-14 Behdad Esfahbod <behdad@gnome.org>
Bug 508179 – PangoGlyphUnit confusion
* pango/pangowin32.c:
* pango/glyphstring.c:
* pango/pango-layout.c (process_item): Remove all traces of
#PangoGlyphUnit
svn path=/trunk/; revision=2542
|
|
|
|
|
|
|
|
|
| |
2007-12-21 Behdad Esfahbod <behdad@gnome.org>
* docs/Makefile.am: Check for dummy man pages in dist-local.
svn path=/trunk/; revision=2531
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-12-21 Behdad Esfahbod <behdad@gnome.org>
Bug 504802 – build failure: No rule to make target
`pango-querymodules.1', needed by `all-am'. Stop.
* docs/Makefile.am: Create dummy pango-querymodules.1 if it doesn't
exsits (SVN checkout) and --enable-man is not used.
svn path=/trunk/; revision=2530
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-12-19 Behdad Esfahbod <behdad@gnome.org>
Bug 504585 – pango-querymodules.1 syntax error
* Makefile.am:
* docs/Makefile.am:
* docs/pango-querymodules.1:
Fix man-page generation rule, also remove pango-querymodules.1 from
SVN so it's regenerated from XML at dist time.
svn path=/trunk/; revision=2529
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-12-19 Behdad Esfahbod <behdad@gnome.org>
Red Hat Bug 426178: gtkdoc-scan fails on pango
* docs/pango-sections.txt:
* pango/pango-ot-private.h:
* pango/pango-ot.h:
Make the following symbols available to engines:
PANGO_IS_OT_INFO
PANGO_IS_OT_RULESET
PANGO_OT_INFO
PANGO_OT_RULESET
PANGO_TYPE_OT_INFO
PANGO_TYPE_OT_RULESET
pango_ot_info_get_type
pango_ot_ruleset_get_type
svn path=/trunk/; revision=2528
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-12-10 Behdad Esfahbod <behdad@gnome.org>
Bug 478914 – Use something invalid instead of '?' when validating
input text
* pango/pango-layout.c (pango_layout_set_text): Set invalid input
bytes to -1, which gives a unichar value of -1, and eventually a
glyph value of -1, aka PANGO_GLYPH_INVALID_INPUT.
* pango/fonts.c (pango_font_get_glyph_extents),
(pango_font_get_metrics), (pango_font_get_font_map):
* pango/modules.c (build_map):
* pango/pango-context.c (get_script), (get_shaper_and_font),
(string_from_script), (itemize_state_process_run):
* pango/pango-coverage.c (pango_coverage_get):
* pango/pango-impl-utils.h:
* pango/pango-utils.c:
* pango/pangocairo-font.c (pango_cairo_font_get_scaled_font),
(_pango_cairo_font_private_get_hex_box_info),
(_pango_cairo_font_private_get_glyph_extents_missing):
* pango/pangocairo-private.h:
* pango/pangocairo-render.c (_pango_cairo_renderer_draw_frame),
(_pango_cairo_renderer_draw_box_glyph),
(_pango_cairo_renderer_draw_unknown_glyph):
* pango/pangofc-fontmap.c (pango_fc_font_map_get_patterns):
* pango/pangoft2-private.h:
* pango/pangoft2-render.c (pango_ft2_font_render_box_glyph),
(pango_ft2_font_render_glyph), (pango_ft2_renderer_draw_glyph):
* pango/pangoft2.c (pango_ft2_font_get_face),
(pango_ft2_font_get_glyph_extents):
* pango/pangox.c (pango_x_find_subfont), (pango_x_render):
* pango/pangoxft-font.c (_pango_xft_font_get_mini_font),
(get_glyph_extents_missing), (pango_xft_font_get_font):
* pango/pangoxft-private.h:
* pango/pangoxft-render.c (get_total_matrix), (draw_box),
(_pango_xft_renderer_draw_box_glyph),
(_pango_xft_renderer_draw_unknown_glyph),
(pango_xft_renderer_draw_glyphs):
* pango/shape.c (pango_shape):
Render PANGO_GLYPH_INVALID_INPUT to a single-width box with a cross
inside. Also cleanup spewed warnings and warn at the source, where
we fail to find a shaper, instead of at every location that we see
a NULL font.
* pango/pango-font.h:
* docs/pango-sections.txt:
* docs/tmpl/glyphs.sgml:
New public macro:
PANGO_GLYPH_INVALID_INPUT
svn path=/trunk/; revision=2519
|
|
|
|
|
|
|
|
|
|
|
| |
2007-12-03 Behdad Esfahbod <behdad@gnome.org>
Bug 501317 – "and" found where word should be "an"
* docs/tmpl/layout.sgml: Fix typo.
svn path=/trunk/; revision=2511
|
|
|
|
|
|
|
|
|
| |
2007-11-23 Behdad Esfahbod <behdad@gnome.org>
* docs/check.docs: Make it reusable by not hardcoding "pango".
svn path=/trunk/; revision=2504
|
|
|
|
|
|
|
|
|
| |
2007-11-18 Behdad Esfahbod <behdad@gnome.org>
* docs/Makefile.am: Replace GNU-specific syntax with more general one.
svn path=/trunk/; revision=2501
|
|
|
|
| |
svn path=/trunk/; revision=2500
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-10-30 Behdad Esfahbod <behdad@gnome.org>
* docs/pango-sections.txt:
* docs/tmpl/main.sgml:
* docs/tmpl/vertical.sgml:
Improve vertical docs.
svn path=/trunk/; revision=2488
|
|
|
|
|
|
|
|
|
|
| |
2007-10-26 Murray Cumming <murrayc@murrayc.com>
* docs/pango_markup.sgml: Adds a link to
pango_font_description_from_string() so that the font_desc
attribute is not so mysterious. Bug #490661.
svn path=/trunk/; revision=2483
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-10-24 Behdad Esfahbod <behdad@gnome.org>
Bug 471601 – Pass pango version information to fontconfig
* pango/pangofc-fontmap.h:
New public API:
PANGO_FC_GRAVITY
PANGO_FC_VERSION
* pango/pangofc-fontmap.c (pango_fc_make_pattern):
Set PANGO_FC_VERSION in pattern.
* docs/pango-sections.txt:
* docs/tmpl/pangofc-fontmap.sgml:
Update.
svn path=/trunk/; revision=2461
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-10-24 Behdad Esfahbod <behdad@gnome.org>
Bug 472629 – Add pango_renderer_get_layout(_line)
* pango/pango-renderer.h:
* pango/pango-renderer.c:
New public API:
pango_renderer_get_layout()
pango_renderer_get_layout_line()
* pango/pangocairo-render.c (pango_cairo_renderer_draw_shape),
(release_renderer), (_pango_cairo_do_layout_line),
(_pango_cairo_do_layout): Use above API to simplify
shape_renderer implementation.
* pango/pango.def:
* docs/pango-sections.txt:
* docs/tmpl/pango-renderer.sgml:
Update.
svn path=/trunk/; revision=2460
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-10-24 Behdad Esfahbod <behdad@gnome.org>
Bug 469641 – Initialize attribute start/end to [0..MAXUINT]
* pango/pango-attributes.h:
* pango/pango-attributes.c:
New public API:
pango_attribute_init()
* pango/pango-attributes.c:
(pango_attr_string_new), (pango_attr_language_new),
(pango_attr_color_new), (pango_attr_int_new),
(pango_attr_float_new), (pango_attr_size_new_internal),
(pango_attr_font_desc_new), (pango_attr_shape_new_with_data):
Initialize attributes using pango_attribute_init().
* pango/pango.def:
* docs/pango-docs.sgml:
* docs/pango-sections.txt:
* docs/tmpl/text-attributes.sgml:
Update.
svn path=/trunk/; revision=2458
|